Ansicht
Dokumentation

MSS_WDA_SUB_MAIL - BAdI: Modify E-mail Content

MSS_WDA_SUB_MAIL - BAdI: Modify E-mail Content

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BADI) is used in the component Manager Self-Service (WDA) (CA-MSS-HCM). You can use this BAdI to modify the text content of an E-mail (such as the subject text and the body text) which is sent by different components in Manager Self-Service (MSS). In the standard this is used by the following components:

  • Competency Match-up: For example when sending an e-mail reminder to an employee to complete mandatory training courses.
  • Manage Substitution Rules: For example to send a notification mail when a substitution rule is created or deleted (the sample implementation of BAdI WF_SUBSTITUTE triggers the notification E-mail)

The BAdI provides the method GET_EMAIL_CONTENT with the following

Importing parameters:

  • IV_MAN_NAME - E-mail receiver's name is used in subject
  • IV_NAME - E-mail sender's name is used in subject of mail
  • IV_START_DATE - Used in substitution context to specify the start date of substitution
  • IV_END_DATE - Used in substitution context to specify teh end date of substitution
  • IV_PROFILE_NAME - Used in substitution context to specify the Substitution Profile
  • IV_PERIOD - Used to specify a period
  • IT_PROFILE - Used in competency scenario to specify the list of profile matching
  • IV_RULE_CREATION - Used in substitution context to specify if it is a substitution rule creation scenario
  • IT_PROFILE_NOT - Used in competency scenario to specify the list of profiles not matching
  • IV_IS_EMP_VIEW
  • IV_SUBST_USERNAME - Used in substitution context to specify username of substitute
  • IV_SUBST_MGR_USERNAME - Used in substitution context to specify the name of the substituting manager

Exporting parameters:

  • EV_SUBJECT - Subject of the e-mail
  • EV_CONTENT - E-mail content used in Competency Match-upscenario
  • EV_CONTENT_1 - E-mail content used in Substitution scenario

The BAdI is filter-dependent. The filter name is APPLICATION_NAME, from which the E-mail is sent. Execution depends on runtime filter values. The Competency Match-up component uses the filter value 'COMPETENCY_MATCHUP' and sample implementation of BAdI WF_SUBSTITUTE uses the filter value 'SUBSTITUTION'.

For more information about the standard settings (filters, single or multiple uses), see the

Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3972 Date: 20240523 Time: 193453     sap01-206 ( 107 ms )