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

  1. Identify the MDG data model and workflow step for the automatic action.
  2. Define the service name in rule-based workflow customizing.
  3. Create or copy the BAdI implementation in SE19 for USMD_SSW_SYSTEM_METHOD_CALLER.
  4. Set the BAdI filter for the correct MDG model (0G, BP, or MM).
  5. Implement IF_USMD_SSW_SYST_METHOD_CALLER~CALL_SYSTEM_METHOD.
  6. Branch by IV_SERVICE_NAME if one class serves multiple system methods.
  7. Read CR data with CL_USMD_CREQUEST_API and, if needed, CL_USMD_MODEL_EXT.
  8. Execute the action: email, key mapping, or successor CR creation with the relevant API/class calls.
SE19

BAdI 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

ObjectPurpose
USMD120CCR 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_CALLER work 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_CALLER implementation in SE19?
  • What is the generic ABAP pattern for CALL_SYSTEM_METHOD?

Keywords

USMD_SSW_SYSTEM_METHOD_CALLERIF_USMD_SSW_SYST_METHOD_CALLERCALL_SYSTEM_METHODUSMD_SSW_DYNAMIC_AGENT_SELECTBRF+ workflowrule-based workflowservice nameSE19MDGIMGCL_USMD_CREQUEST_APICL_USMD_MODEL_EXTCL_USMD_GOV_APICL_MDG_ID_MATCHING_API_BSLCR_GET_OWN_BUSINESS_SYSTEMZCL_MAIL_WF