cancel
Showing results for 
Search instead for 
Did you mean: 

Not genarating workitem for workflow admin, it's automatically approved

Former Member
0 Kudos

Hi

In SRM shopping cart wf ( process control wf ) . method/SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS is implemented. There a code is written that if RT_agents is initial then we hardcode the wf admin user id. But it is not determining the wf-admin, but no workitem is getting created and it goes for automatic approval.

Please help me how to send this workitem to wf-admin if no agents found.

Thanks

Moumita

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

The SAP suggest to specify the workflow admin in SWU3 t.code.. you can use FM 'SWD_GET_CUSTOMIZING' to get the admin from SWU3 and append to rt_agent internal table.. output of ls_custom-def_admin will have prefix of 'US' so use string manipulataion to split the US and then append to RT_AGENT interal table. Hope this will fix your issue..

Regards,

Saravanan..