on 02-18-2015 8:05 PM
Hi,
I'm using the process-controlled WF and right now if any approver makes a change to the SC when approving it, the process continues and goes to the next approver.
What we want to achieve is that if any approver makes a change to the SC, then the workitem should go back to the requestor for review and not continue to the next level immediately.
Is there any configuration or way to do this?
Thanks!
Matias
I solved it.
Finally, I completed the Acceptance by Contact Person part in the Process Level configuration and by creating an event/expression checking if the document was changed by the last approver I executed that step or not depending on that.
Thanks all for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I did was to fill the Acceptance by Contact Person part in the Process Level configuration using the Task ID 40007994 and a custom Evaluation ID in which I check if the document was changed (using FM BBP_CHANGE_DOC_GET_NEW) by the last approver I executed that step or not depending on that.
Hi Matias,
Do you want to re-trigger the workflow once the SC is approved or during the time of approval ?
If you want to re-trigger the approval process and restart the workflow, you can perform the below steps :
You can implement a BADI named /SAPSRM/BD_WF_PROCESS_RESTART.
By Standard any change by requestor in the Shopping cart will re-trigger the workflow process.
This standard behavior of the system is changed and the workflow could be re-triggered when the fields of your requirements are changed. lets say Delivery date and stuffs.
Implement the above mentioned BADI and give the filter type as BUS2121 (Shopping Cart).
Here you can write the Logic in the method /SAPSRM/IF_EX_WF_PROC_RESTART~VALIDATE_RESTART to include the logic check for delivery date and other such fields and set the parameter EV_RESTART to ‘X’, if the comparison comes false. You can compare the data from the tables like BBP_PGIGP or BBP_PGHGP and compare with the ITEM details available in the method.
Please rewards points if helpful.
Let me know if you face any issues.
Regards,
Aakash Awasthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ACtually what I need to do is to to make the requestor review the SC after an approver changes it during the approval procesS. After the requestor performs the review, the approval process should continue to the next approver (not the one that approved ir early and changed the SC)
is like I nees to use the Acceptance by Contact Person but not for fully rejected workflows but for changed documents during approval procesS.
Hi Matias,
Why dont you add the requestor as reviewer.
Refer steps below
Adding Reviewers in Workflow - Supplier Relationship Management - SCN Wiki
If you would like to add the requester as approver then refer to thread below. You will have to create a new process level after 1st approval.
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.