REG : Sending Workitem to Global Workflow Administrator
I need a validation for my process controlled workflow,
The scenario is if a particular approver is not a valid user, the workitem should be sent to Global Workflow Administrator.
Means the ID of the Global Workflow Administrator needs to be fetched, and utilized if the other approver is not a valid user.
Please let me know how to fetch the id of Global Workflow Administrator.
You will have to fill the fall back agents in BADI implementation /SAPSRM/BD_WF_RESP_RESOLVER. You can programatically determine the WF administrator using Function modules SWD_WF_DEFINITION_ADMIN_GET or SWD_GET_CUSTOMIZING.