SAP MDG · WORKFLOWS

How can SAP MDG send a non-work-item e-mail notification during or after a governance process such as approval or activation?

SAP MDG can send a non-work-item e-mail during governance in three ways: a configuration-only sub-workflow, a BAdI-based synchronous system method using `USMD_SSW_SYSTEM_METHOD_CALLER`, or a copied workflow with a program exit and `Send Mail` step after activation.

SAP MDG can send a non-work-item e-mail during governance in three ways: a configuration-only sub-workflow, a BAdI-based synchronous system method using `USMD_SSW_SYSTEM_METHOD_CALLER`, or a copied workflow with a program exit and `Send Mail` step after activation.

SAP MDG can send e-mails during approval or activation without relying on normal work-item notifications. The guide describes three implementation patterns: a configuration-only sub-workflow, a BAdI-based synchronous system method, and a copied workflow with a program exit plus `Send Mail` after activation.

Process flow

  1. Identify the workflow point where the e-mail must be sent.
  2. Choose one of the three approaches: sub-workflow, BAdI system caller, or copied workflow with program exit.
  3. Configure the CR type and workflow accordingly.
  4. Run the Change Request through the relevant approval or activation step.
  5. Check the outbound message in `SOST`.
  6. Confirm receipt in the mailbox.
SWDD

Workflow Builder > create sub-workflow > Send Mail step > Event Creator > trigger `SUBWORKFLOW_PROCESSED`

Build the configuration-only sub-workflow notification

MDGIMG

General Settings > Process Modeling > Change Requests > Create Change Request Type

Copy `MAT01` to `ZMAT01AM` and configure the CR type

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Change Requests
Create Change Request Type
MDGIMG

General Settings > Process Modeling > Workflow > Rule-Based Workflow > Define Change Request Steps for Rule-Based Workflow

Copy rule-based workflow steps for `ZMAT01AM`

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Rule-Based Workflow
Define Change Request Steps for Rule-Based Workflow
MDGIMG

General Settings > Process Modeling > Workflow > Rule-Based Workflow > Configure Rule-Based Workflow

Maintain `DT_SINGLE_VAL`, `DT_USER_AGT_GRP`, and `DT_NON_USER_AGT_GRP` for the custom CR type

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Process Modeling
Workflow
Rule-Based Workflow
Configure Rule-Based Workflow
SWDD

Copied workflow based on `WS75700040` with program exit and `Send Mail` step

Implement the activation-mail workflow variant

Referenced tables

ObjectPurpose
DT_SINGLE_VAL_MAT01Source decision table exported from the standard material CR type before importing to `ZMAT01AM`
DT_SINGLE_VAL_ZMAT01AMAdjusted single-value decision table for the custom CR type
DT_USER_AGT_GRP_MAT01Standard user-agent decision table exported as the baseline
DT_USER_AGT_GRP_ZMAT01AMCustom user-agent decision table after import
DT_NON_USER_AGT_GRP_MAT01Standard non-user-agent decision table exported as the baseline
DT_NON_USER_AGT_GRP_ZMAT01AMCustom non-user-agent decision table after import and mail-service assignment

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • How can SAP MDG send an e-mail when a Change Request is approved?
  • How do I notify the requestor after material approval?
  • How can I send an e-mail when an MDG workflow reaches a certain step?

Possible questions

  • What are the options to send e-mail from SAP MDG workflow?
  • Can I send an MDG e-mail without ABAP?
  • Which approach provides more flexibility?
  • How does the sub-workflow approach work?
  • Which Process Pattern is used for the BAdI approach?
  • What should I verify in SOST after the workflow runs?

Keywords

SAP MDGe-mail notificationgovernance processChange Requestapprovalactivationnon-work-item notificationsub-workflowUSMD_SSW_SYSTEM_METHOD_CALLERnew workflowprogram exitSend MailRule-Based WorkflowSOSTSWDDMDGIMGProcess Pattern 02Process Pattern 03SUBWORKFLOW_PROCESSEDEMAILRECEIVERCREQUEST_OBJLIST