Ansicht
Dokumentation

PYPS_IN_ESEP_3602 - BAdI: E-Separation Request Validation

PYPS_IN_ESEP_3602 - BAdI: E-Separation Request Validation

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

E-Separation Request Validation (EAIN_VALIDATE_REQUEST)

This Business Add-In is used in the E-Separation (PY-IN-PS) component.

During the creation of a separation request, this Add-In enables you to perform customer specific validations, in addition to the standard validations available in the solution.

You use the method, VALIDATE_REQUEST, in the IF_EAIN_EACTIONS interface of this BAdI to do the same.

The BadI has the following parameters:

  • Import parameters:
  • IST_GLOBL - Denotes the global information about the request such as request number, solution type, and so on.

  • IDS_RQDET- Denotes the information of the cluster structure such as approval, counseling, and so on.

  • Export parameters:
  • EFD_ERRFG - Indicates the flag for any errors or warnings detected during validation.

  • ETB_ERRTB - Stores the messages relevant for request validation in the corresponding BAdI implementation.


Based on the flag and the message raised during BAdI implementation, the system generates the message on the request screen.

You should only carry out this step 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 system, the Business Add-In is not activated.

After calling up the IMG 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 ~ 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.
  1. 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.






BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3245 Date: 20240523 Time: 215018     sap01-206 ( 38 ms )