on 08-25-2011 5:23 PM
Hi,
We are on SRM 7.0 SP3.
I am tring to write a report which would fetch all the shopping carts which are waiting for approval and its corresponding approvers. I am able to find those carts and the work FLOW item IDs in table SWW_WI2OBJ. But I cannot find the user from table SWWUSERWI as the workflow item id there is different.
If I go to SWIA and select log, and from there, select Complete Shopping Cart link - double click on that, and go to Menu - Extras - Technical Data. There I get different work item ID. If I put this ID in SWWUSERWI, then it would give me the approver user.
I want to know how to find the link between these two different work item IDs. Or else, is there any other way of finding it? I tried searching other discussions but didnt get much help.
Thanks,
Pradeep
Hi,
You can get the current approvers details in the method GET_CURRENT_PROCESS_LEVEL of the class /SAPSRM/CL_WF_PROCESS_MANAGER and pass the SC Header GUID to the method to get the current approver id.
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Savarnan.
I am passing the SC header GUID in the method GET_CURRENT_PROCESS_LEVEL of the class /SAPSRM/CL_WF_PROCESS_MANAGER - however, its not returning any information back.
Is it the SC header GUID or the WF Guid that needs to be passed as the input parameter for this method call?
Thanks.
Anuradha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.