on 2019 Aug 21 4:57 PM
Hi,
I found multiple ways to get current agent/approver for a given shopping cart.
Transaction SWIA
Class-method - /SAPSRM/CL_WF_EVENT_FACADE->GET_CURRENT_AGENTS
FM SAP_WAPI_GET_WI_AGENTS
FM RH_SWWUSERWI_READ_FOR_WI
Table SWWUSERWI
However, my requirement to get all level of approvers for any shopping cart in SRM 7.0 GUI.
Is there any way, I can retrieve the complete approver list either through Class-method, function module or thr database tables.
Help will be appreciated and points will be awarded.
Thank you,
Ni3
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
actually the agents which have already executed their workitems can be found in the WFL tables. To get an insight of this, visit the Wiki page: https://wiki.scn.sap.com/wiki/x/JoTOEg. Here you will find the historical data only. If you wish to find all the possible future approvers, that task is a bit harder because those approvers are not stored in any tables but determined during runtime. To get more insights I would recommend to debug the approval preview e.g.:
/SAPSRM/CL_CH_WD_DOM_APV_AT method /SAPSRM/IF_CLL_DOM_APV_EXT~CONVRT_PROC_INFO_FOR_UI (Header)
to get an insight about how the approvers are evaluated.
Best Regards
Zoltán
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zoltan,
Thank you for the response, wiki page link provided was really helpful, table '/SAPSRM/D_WF_016' hold good amount of information related to WF agent details.
However, the table do not provide complete list of approvers as per my requirement, search still on.
Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.