SAP Knowledge Base Article - Public

3314976 - Multiple restricted agents in the procure workflow.

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

  1. Create a Purchase requisition.
  2. Check the restricted agents in the workflow preview.

Cause

No implementation has been made on the BADI - MMPUR_WFL_CONTEXT_ENHANCE.

Resolution

  1. Implement the BADI - MMPUR_WFL_CONTEXT_ENHANCE using custom logic application.
  2. 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