SAP Knowledge Base Article - Public

3784398 - STEPINFO for BAdi MMPUR_WORKFLOW_AGENTS_V2 for RFQ

Symptom

When implementing BAdI MMPUR_WORKFLOW_AGENTS_V2 for RFQ, the user cannot identify or read STEPINFO in the RFQ scenario.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Implement BAdI MMPUR_WORKFLOW_AGENTS_V2 for Flexible Workflow with businessobject = RequestForQuotation to build custom agent determination.
  2. Attempt to access STEPINFO within the BAdI implementation to identify the approval step for RFQ.
  3. Observe that STEPINFO is not available for the RequestForQuotation business object, so step information cannot be retrieved.

Cause

 STEPINFO is not provided for the RequestForQuotation business object in MMPUR_WORKFLOW_AGENTS_V2; it is only available for specific objects.

Resolution

  1. Acknowledge the product limitation: STEPINFO is an optional parameter available only for these business objects: PurchaseRequisition, CentralPurchaseRequisition, PurchaseOrder, CentralPurchaseContract, PurchaseContract, SchedulingAgreement, and ServiceEntrySheet. It is not available for Request For Quotation.
  2.  Additionally, skip status is not applicable for Purchase Orders and isadhocstep applies only to PurchaseRequisition.
  3. Use the supported extension: Implement custom agent determination in BAdI MMPUR_WORKFLOW_AGENTS_V2 for businessobject = Request For Quotation. Build logic to resolve the approver based on Position ID (including Position IDs sourced from SuccessFactors) and map it to the workflow agent(s).
  4. MM_WORKFLOW_AGENTS is obsolete and must not be used.
  5. Consider standard options: If suitable, use the standard Flexible Workflow agent assignment options (role-based or direct user assignment), noting that a standard Position ID-based option is not provided out of the box.
  6. Request enhancement if needed: If STEPINFO for RFQ or standard Position ID-based determination is required, submit an improvement request via Customer Influence.

See Also

Keywords

mmpur_workflow_agents_v2, rfq, flexible workflow, stepinfo, requestforquotation, agent determination, position id, successfactors, badi, mm_workflow_agents, custom agent, approval, workflow limitation, fiori rfq, s/4hana cloud public edition , KBA , MM-FIO-PUR-RFQ-2CL , Fiori UI for RFQ/Quotation (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions