Symptom
- Enabling more than one restricted agents could not be possible in procure workflow.
- BADI is selecting only one restricted agent all the time.
Environment
SAP S/4HANA Cloud.
Reproducing the Issue
- Create a Purchase requisition.
- Check the restricted agents in the workflow preview.
Cause
No implementation has been made on the BADI - MMPUR_WFL_CONTEXT_ENHANCE.
Resolution
- Implement the BADI - MMPUR_WFL_CONTEXT_ENHANCE using custom logic application.
- Insert the codelines for the restricted agents.
Sample code :
restricted_agents = VALUE #( ( |{ 'CB9980000XXX' }| ) ( |{ 'CB9980000YYY' }| ) ).
Keywords
S4_PC, restricted, agents, multiple, MMPUR_WFL_CONTEXT_ENHANCE, exclude , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Problem
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions