SAP MDG · WORKFLOWS
How do I implement the MDG BAdI USMD_SSW_SYSTEM_METHOD_CALLER for workflow system methods in rule-based workflow?
USMD_SSW_SYSTEM_METHOD_CALLER is the MDG BAdI for non-dialog workflow system methods. In a rule-based workflow step, BRF+ passes a service name, and the implementation either sends mail, performs key mapping, or creates a successor/follow-up change request based on that service.
USMD_SSW_SYSTEM_METHOD_CALLER is the MDG BAdI for non-dialog workflow system methods. In a rule-based workflow step, BRF+ passes a service name, and the implementation either sends mail, performs key mapping, or creates a successor/follow-up change request based on that service.
USMD_SSW_SYSTEM_METHOD_CALLER is the MDG BAdI used by rule-based workflow for automatic, non-dialog steps. The workflow passes a service name into CALL_SYSTEM_METHOD, and your implementation uses that value to decide whether to send mail, update key mapping, or create a follow-up change request. The implementation is normally registered in SE19 with a data-model filter and then referenced from the BRF+ non-user-agent decision table.
Process flow
- Identify the MDG data model and workflow step for the automatic action.
- Define the service name in rule-based workflow customizing.
- Create or copy the BAdI implementation in SE19 for
USMD_SSW_SYSTEM_METHOD_CALLER. - Set the BAdI filter for the correct MDG model (0G, BP, or MM).
- Implement IF_USMD_SSW_SYST_METHOD_CALLER~CALL_SYSTEM_METHOD.
- Branch by IV_SERVICE_NAME if one class serves multiple system methods.
- Read CR data with CL_USMD_CREQUEST_API and, if needed, CL_USMD_MODEL_EXT.
- Execute the action: email, key mapping, or successor CR creation with the relevant API/class calls.
SE19BAdI USMD_SSW_SYSTEM_METHOD_CALLER > Filter Values
Register the implementation and restrict it to the relevant MDG data model such as 0G, BP, or MM.
Referenced tables
| Object | Purpose |
|---|---|
USMD120C | CR status and rejection reason data used by the system-method logic. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How does
USMD_SSW_SYSTEM_METHOD_CALLERwork in SAP MDG? - How do I create a system method implementation for MDG rule-based workflow?
- How do I trigger email, key mapping, or successor CR logic from MDG workflow?
Possible questions
- What is the BAdI interface and method used for MDG system methods?
- Which classes and APIs are used for email, key mapping, and successor CR scenarios?
- Where do I configure the service name in MDG rule-based workflow?
- How do I register a
USMD_SSW_SYSTEM_METHOD_CALLERimplementation in SE19? - What is the generic ABAP pattern for CALL_SYSTEM_METHOD?