on ‎2010 Jun 14 1:38 PM
Hi Experts,
We are facing a problem in SRM 5.0 shopping cart workflow. Normal flow is as follows: -
Create SC > Goes for Approval to level 1 approver > Item appears in Approver's list > L1 approver approves it > Follow - on Document is created.
Currently while creating shopping cart, we are able to see name of approver in approval preview. Still that item doesn't appear in approver's list. We checked in workflow log, it is getting stuck in task which is supposed to determine next level approver.
Currently approval is done using workflow template WS14000133 and BADI BBP_WFL_APPROV_BADI. In this BADI we are able to find approver perfectly but that is not getting filled in the container of workflow. The Approver List of workflow container is appearing blank.
Any pointers to this issue will be helpful
Thanks
Siddarth
Request clarification before answering.
Hi,
There could be something wrong with the bindings in the workflow/task (SWDD). Can you compare to a system that is working ok?
Kind regards,
Siobhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Sometimes some of the most mysterious problems have very simple solutions. Same happened with me for this problem.
Do remember guys if you encounter any of such case where you are able to see the approvers in approval preview but not able to see item in his list and everything is perfectly fine then check user id WF-BATCH. There are chances that this user might be locked. For us WF-BATCH user was locked becuase of that we were facing this problem.
Thanks
Siddarth
Hello,
Put a breakpoint within the workflow badi and when program stops there, hit F7.
Check if table ET_APPROVERS (or ET_AGENTS), I'm not sure the exact name, is filled with your badi information about approvers.
Kind regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ricardo,
In BBP_WF_APPROV_BADI we have implemented Method GET_REMAING_APPROVERS. The code snippet of method is as follows: -
CALL METHOD EXITINTF->GET_REMAING_APPROVERS EXPORTING IN_UPDATE = IN_UPDATE DELETE_REJECTED_ITEMS = DELETE_REJECTED_ITEMS ITEM_DEDUCT_RESET = ITEM_DEDUCT_RESET ITEM_APPROVAL_HISTORY_TABLE = ITEM_APPROVAL_HISTORY_TABLE APPROVAL_HISTORY_TABLE = APPROVAL_HISTORY_TABLE ACTUAL_APPROVAL_INDEX = ACTUAL_APPROVAL_INDEX GUID = GUID OBJECT_TYPE = OBJECT_TYPE OBJECT_ID = OBJECT_ID IMPORTING APPROVAL_TABLE = APPROVAL_TABLE APPROVAL_ADMINISTRATORS = APPROVAL_ADMINISTRATORS ITEM_APPROVAL_TABLE = ITEM_APPROVAL_TABLE NO_FURTHER_APPROVAL_NEEDED = NO_FURTHER_APPROVAL_NEEDED CHANGING ITEM_APPROVAL_OBJ = ITEM_APPROVAL_OBJ.
Now can you please tell me which variable I am suppose to look at?
Thanks
Siddarth
Hi
check the REQUESTER /Managers are existing in the system? Are they deleted or locked?
did you get applet as Question mark? Is work item created for this?
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muthu,
Both requestor and approver are created in the system and linked to org structure as well. They are neither deleted or locked. I am able to login in to SRM portal with both the ids.
Further in approval preview I can clearly see that approver for my requestor is there. There is no question mark appearing in Approval preview. Moreover in SWI1 I checked work item is also created and moved till determine next approver task. After that it gets stuck. So problem looks like more with detrmining agent.
If any way to check this then please let me know.
Thanks
Siddarth
Hi Muthu,
Yes, still I am facing the same problem. i am not able to receive item in approver's box and create follow - on document.
Also as per Ricardo, I kept breakpoint in BADI and tried to debug code. I was able to find appropriate approver in the BADI but it is still not coming in approver's box for approval.
Please let me know if there is anything else which I should check.
Thanks
Siddarth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.