on 04-10-2013 11:33 AM
Hi All,
I have tried to edit the shopping cart which is in awaiting approval status. I have edited the shopping cart item and checked in display/edit agents link and I found list of expected approvers.
But when I press order button then I am loosing the one approver. For this functionality I have used evaluation id with some logic mentioned below
I have used the following class=>method /sapsrm/cl_wf_process_manager=>determine_document_change to check if the document is changed then returning abap_true to prove/mention that is process level is valid.
Expected Output:
Shopping cart should have the list approvers as they were before hitting the Order button.
Please help us with solution!!!
Regards,
Krishna K
Hi Krishna,
Are you checking if the level is returning as valid? is the determine_document_change commig true?
You can also use the FM BBP_PD_ALL_GET_DIFF to determine the document changes that would be applied for a restart or not.
Cheers,
Melina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Krishna,
be aware that Ad-hoc arpprovers will be lost, so if it is the case, you should create this approver at runtime through BADI /SAPSRM/BD_WF_PROCESS_CONFIG.
On the other hand, if your problem is that the Workflow is not restarted, implement BADI /SAPSRM/BD_WF_PROCESS_RESTART.
I hope it helps.
Regards,
Agustín P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.