cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Shopping Cart Workflow Problem is not able to determine agents

Former Member
0 Likes
829

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

Accepted Solutions (0)

Answers (3)

Answers (3)

SE12
Advisor
Advisor
0 Likes

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

Former Member
0 Likes

Hi Siobhan,

I checked in SWDD. Everything is appearing perfectly fine and as expected.

Suggest if there are any other pointers or places to look.

Thanks,

Siddarth

Former Member
0 Likes

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

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

Hi siddardh

DO you recreate the same issue ? then you can easily figure out your piece of code.

Muthu

Former Member
0 Likes

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

Former Member
0 Likes

hI

IF YOU recreated a problem 80 % resolved.

Former Member
0 Likes

Hi Muthu,

Recreating problem is fine but major problem is that it is appearing everytime. So all kind of follow - on documents are stuck.

Do let me know if there are any pointers which can help me out in resolving this issue.

thanks

Siddarth