on 03-05-2015 6:52 AM
Hi Experts,
we are using SRM 7.1.3 and we have custom workflow activated for Shopping Cart(Multiple levels of approvers).
we have configured the "Acceptance by contact person" in workflow to handle the rejection process to send a notification back to Requestor in case of rejection so that the person can accept it or reorder it.
we have 2 ways of rejection here.1. any approver can reject the SC or 2. after certain days of pending(with out any action by approver) we are auto rejecting the SC and setting the status to 'Release Rejected' by a custom program.
Here the problem is, in both the ways the requestor can able to recieve a notification to take a action but when they reorder the SC,it is directly creating the PO. Workflow is not getting triggered again so that it will go through the approval process again after SC change. I observed like main work item of SC is not yet closed after rejection, I can see in SWi6 like till the user recieves a notification. After that once SC is reorderd it is directly creating the PO with out any WF and I can see the main work item of SC is still in open status.
Here our requirement is to trigger the workflow again, once SC is resubmitted after rejection. Please can anyone help me why is this happening and let me know is there any settings to be done inorder to achive this.
Thanks,
Karuna
Hi Karuna,
Once the SC is changed, WF should trigger. Can you the check the level of security Personalisation BBP_WFL_SECURITY (Specifies the authorization level of the user in the approval). The value of this parameter determines whether you can restart the WF. You can check table SPERS_OBJ to get a value of BBP_WFL_SECURITY based on user ID
Refer Links below
http://scn.sap.com/thread/737162
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
Also make sure that there is no active implementation of BADI BBP_WFL_SECUR_BADI where you are changing the security level.
Check link below
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karuna,
If I get you correctly,
Once the SC is rejected by either means, the WF should re-trigger.
The re triggering of WF should happen automatically, if you create an expression say "ZB_LEVEL_REJECTION" of the type SAP Formula Interpreter in your BRF give the formula as (0V_WF_CURRENT_DECISI = 'REJECTED').
Now assign the same to the Event say 'ZEV_SC_REJECTION'. and pass this event to the node "Acceptance by Contact Person" under the tcode /n/sapsrm/wf_process, and maintain the task id as "40007994" (Accept Decision / Adjust Document).
Once the Approver rejects the WI, the requestor will receive a task with the rejection notification.
Its upto the requestor, whether to accept the rejection or edit the SC and re-order again.
While changing the SC after rejection, check it once and check the Approvers under the Approver overview tab.
If the Approvers are reflected there, then the SC is liable for an approval process.
I guess there is some problem with you rejection event.
Please check it once and revert.
Awards points if the answer is helpful.
Regards,
AkkI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.