Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

HCM Process & Forms: Date & Time Stamp issue in Prev Comments Box

$
0
0

Hi

 

We implemented HCM Process and Forms and we are in EHP4.  We need user name, date and time stamp in each step for audit purpose.

 

Form Process Example:

 

Step1: Manager -> Initiates a Form for employee pay/position changes  (REQUEST)

 

Step2: 1-Up Manager -> Approves a Form for employee pay/position changes (APPROVE)

 

Step3: HR Admin -> Process a Form for employee pay/position changes (PROCESS)

 

Process Overview: HR Admin can open a form once all steps are completed and they want to see all 3 steps date & stamp here.

 

New Comments -> To enter user comments in each step. Used data type HRASR_CURRENT_NOTE

 

Previous Comments-> To display prev. step / user's comments including user name, date & time. Used data type HRASR_PREVIOUS_NOTES.

 

I tried all different property settings in the form. May be I am still missing some property settings here.

 

Issue:  If user enters any comments in "New Comments" box then only date & time stamp is coming along with their comments in "Previous Comments" otherwise not showing anything, just blank in the Prev. Comments.  I added some code in form script in case no data in "New Comments" then default a value ":" . It is working fine for first step but not working the same for other 2 steps.

 

Trying in different way:

 

Creating 3 text fields in a form just for display purpose and modifying each field (data set) with some text (combination of user name, system date and time) at each stage/step in a BADI.

 

Method: IF_HRASR00GEN_SERVICE~DO_OPERATIONS

 

Here it is updating correctly for first step/stage (REQUEST) and other 2 fields are not updating accordingly. I did debug for each step and updating the data set correctly but finally not dispalying the valuse in a form except first field.

 

Can someone please share your ideas or inputs.

 

Appreciate your time & help!

 

Thanks

Hari


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>