SAP MDG · COMMUNITY
How can SAP MDG dynamically create parallel approval steps for company code data in Rule-Based Workflow?
Use Rule-Based Workflow template WS60800086 with three BAdIs under enhancement spot USMD_SSW_SERVICE_PROCESSOR. MDG reads the company codes in the change request, determines one approver per company code, creates one parallel branch per approver, and merges the parallel results before continuing.
Use Rule-Based Workflow template WS60800086 with three BAdIs under enhancement spot USMD_SSW_SERVICE_PROCESSOR. MDG reads the company codes in the change request, determines one approver per company code, creates one parallel branch per approver, and merges the parallel results before continuing.
SAP MDG can create dynamic parallel approval branches for G/L account company-code data by combining Rule-Based Workflow template WS60800086 with three BAdIs in enhancement spot USMD_SSW_SERVICE_PROCESSOR. The key idea is to determine the company codes present in the change request, derive the corresponding approver for each company code, create one parallel branch per approver, and then merge the results so the workflow continues only after all required approvals are complete.
Process flow
- Create or configure a G/L account Change Request Type.
- Use Rule-Based Workflow template WS60800086.
- Determine all company codes contained in the Change Request.
- Determine the relevant approver for each company code.
- Dynamically generate one parallel approval branch per required approver/company code.
- Let all parallel approvers process their work items.
- Merge the parallel results.
- Continue the workflow only when the required parallel approvals have completed.
MDGIMGGeneral Settings -> Process Modeling -> Change Requests -> Change Requests
Create or copy the G/L account change request type used for the scenario.
MDGIMGGeneral Settings -> Process Modeling -> Workflow -> Rule-Based Workflow -> Configure Rule-Based Workflow -> Define Change Request Steps for Rule-Based Workflow
Maintain the workflow steps required for dynamic agent selection, parallel processing, merge, and continuation.
MDGIMGGeneral Settings -> Process Modeling -> Change Requests -> Configure Properties of Change Request Step
Activate the Highlighting Indicator for dialog steps.
MDGIMGGeneral Settings -> Process Modeling -> Workflow -> Rule-Based Workflow -> Configure Rule-Based Workflow -> Define Service Names for Rule-Based Workflow
Define the service names used by the BAdI implementations.
SE18Enhancement Spot USMD_SSW_SERVICE_PROCESSOR
Create and display the BAdI implementations for system-method caller, parallel result handler, and dynamic agent selection.
Referenced tables
| Object | Purpose |
|---|---|
V_USMD201C_SSW | Maintain the Service Name filter used for filter-dependent BAdI implementations. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How can I dynamically create parallel approval steps in SAP MDG?
- How do I create one approval branch per company code?
- How can G/L account company-code owners approve in parallel?
Possible questions
- Which workflow templates are standard for MDG-F?
- Can MDG-F use Rule-Based Workflow?
- What is WS60800086?
- Which BAdIs are required for dynamic parallel approval?
- How do I test dynamic parallel approval?
- What happens when one G/L account has several company codes?