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
- Implement BAdI MMPUR_WORKFLOW_AGENTS_V2 for Flexible Workflow with businessobject = RequestForQuotation to build custom agent determination.
- Attempt to access STEPINFO within the BAdI implementation to identify the approval step for RFQ.
- 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
- 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.
- Additionally, skip status is not applicable for Purchase Orders and isadhocstep applies only to PurchaseRequisition.
- 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).
- MM_WORKFLOW_AGENTS is obsolete and must not be used.
- 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.
- 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
SAP Knowledge Base Article - Public