Skip to Content
0

HCM Process and forms:Audit log, Multiple scenario steps

Dec 12, 2016 at 04:36 PM

79

avatar image

Hello Experts

we have a requirement to have Audit log with action taken on Adobe form . for this I have added a field in config of type PAD_LONG_TEXT and written code in DO_OPERATIONS method of custom class which fetches data from those t5asr* tables using process ref no. so this data gets updated at each stage when opening form by approver.

To my understanding this was working fine only if there is only one scenario step .in one form we have multiple scenario steps so I debugged and found that in case of change of form scenario stage system is executing INITIALIZE_FORM_STAGE method in CL_HRASR00_DISPATCHER ( if no change then check method ) which is not taking the data from Custom class methods DO_OPERATIONS OR Initialize.


So is there any other way to achieve this functionality or am I missing something here?


Thanks in advance

Vamsi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vamsi Nagabairu Dec 16, 2016 at 10:23 AM
0

Hello again

we have got the solution.

have only one scenario step defined in cofig .create one more field in Custom backend service lets say scenario_stage, we can use this field value to hide fields on adobe form or to make read-only or whatever we want. set this field value in do operations method using tables t5asr* and workflow tables sw*head (these tables tell us the form is currently with whom).

Thanks

Vamsi

Share
10 |10000 characters needed characters left characters exceeded