Ansicht
Dokumentation

PYIN_P2E_EML_28 - BAdI: Change Receiver E-Mail ID for Closure Action

PYIN_P2E_EML_28 - BAdI: Change Receiver E-Mail ID for Closure Action

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the HR Policy Management in India (PA-PA-IN) component.

This Add-In enables you to change the e-mail ID of the person who must receive the mail upon the completion of PA40 closure actions such as transfer, promotion and so on.

In the standard solution, the configuration is such that the system sends a mail to the administrator who runs the closure action report.

You must implement this BAdI, only if you want the system to send a mail to any other receiver as per your requirements

You can use the following methods in the BAdI with the corresponding import and change parameters as per your requirements:

RECEIVER_EMAIL_ID

You can use this method to update the receiver's e-mail ID

Importing Parameter

IS_REQUEST - This refers to the request details

Changing Parameter

CT_EMAIL_ID - This contains receiver(s) e-mail ID

You should carry out this step only if both of the following points apply:

  • The SAP standard processes do not suit your needs
  • You are a competent ABAP/4 programmer

In the standard SAP solution, the Business Add-In is not activated.

After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements method IF_AC_RECEIVER_EMAIL_ID ~ and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementation screen.
    Note
    You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
  6. Choose Activate
    The coding you stored in the method will be run when the application program is executed.

To display the sample code, choose Goto -> Sample Code -> Display






Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2621 Date: 20240523 Time: 192911     sap01-206 ( 42 ms )