SAP MDG · WORKFLOWS
How do I enable dynamic parallel approval for G/L account company-code data in SAP MDG Rule-Based Workflow?
Use Rule-Based Workflow template WS60800086, implement dynamic agent selection and parallel-result handling, and return one parallel branch per company code so all required company-code owners approve before the workflow continues.
Use Rule-Based Workflow template WS60800086, implement dynamic agent selection and parallel-result handling, and return one parallel branch per company code so all required company-code owners approve before the workflow continues.
Dynamic parallel approval in SAP MDG for G/L account company-code data is built on Rule-Based Workflow template `WS60800086`. The runtime determines the company codes in the Change Request, resolves the corresponding approvers, creates one parallel branch per approver/company code, and merges the branch results after all required approvals are completed.
Process flow
- Create or configure a G/L account Change Request Type.
- Use Rule-Based Workflow template `WS60800086`.
- Define workflow steps for dynamic agents, parallel processing, and merge handling.
- Activate highlighting for dialog steps.
- Define the Rule-Based Workflow service names.
- Configure the BRFplus tables.
- Implement `
USMD_SSW_SYSTEM_METHOD_CALLER`. - Implement `
USMD_SSW_PARA_RESULT_HANDLER`.
MDGIMGGeneral Settings -> Process Modeling -> Change Requests -> Change Requests
Create or copy the G/L account Change Request Type used for the dynamic approval 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 execution, merge handling, 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
Maintain the service names used by the BAdI implementations, including the dynamic-agent service.
SE18Enhancement Spot Name = `USMD_SSW_SERVICE_PROCESSOR`
Display the enhancement spot and create the BAdI implementations for dynamic agent selection, parallel-result handling, and system-method calling.
SE18BAdI `USMD_SSW_PARA_RESULT_HANDLER`
Create the parallel-result handler implementation and assign the filter value for the service name defined in customizing.
Referenced tables
| Object | Purpose |
|---|---|
V_USMD201C_SSW | Used to define the Service Name filter value for the BAdI implementation. |
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
- How does MDG determine the number of parallel workflow branches dynamically?
- Which BAdIs are required for dynamic parallel approval?
- What happens after CR submission?
- How do I test dynamic parallel approval for a G/L account?
- Does every company-code owner need to approve?