SAP EXIT_SAPLEPA1_011 Function Module for IS-U: Customer-specific dependent validation
EXIT_SAPLEPA1_011 is a standard exit saplepa1 011 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-U: Customer-specific dependent validation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for exit saplepa1 011 FM, simply by entering the name EXIT_SAPLEPA1_011 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XPA1
Program Name: SAPLXPA1
Main Program: SAPLXPA1
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLEPA1_011 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EXIT_SAPLEPA1_011'"IS-U: Customer-specific dependent validation.
CHANGING
Y_CORRDEPVAL = "Structure with more information about validation
TABLES
XT_REABLD = "EABLs to be entered for register relationship
XT_EASTI = "Register relationship
EXCEPTIONS
SYSTEM_ERROR = 1 INDEP_IMPLAUSIBLE = 2
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISU_DETERM_REGREL_EABL
ISU_DETERM_TRANS_REGREL
ISU_INPUT_TE413
ISU_REGREL_RELEVANT
ISU_VALIDATION_DEPENDENT
ISU_VALID_DEPENDENT
ISU_VALID_DV01_CONTRRELSHIP
ISU_VALID_DV02_CONTRRELSHIP
ISU_VALID_DV03_SERIALSWITCH
ISU_VALID_DV04_COSPHI_LIM
ISU_VALID_DV05_COSPHI_PREVPER
ISU_VALID_DV06_REGRATIO_PREPER
ISU_VALID_DV07_REGRATIO_FIXRAT
ISU_VALID_DV99_FINAL_QUANTITY
CHANGING Parameters details for EXIT_SAPLEPA1_011
Y_CORRDEPVAL - Structure with more information about validation
Data type: EDEPVALOBJOptional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLEPA1_011
XT_REABLD - EABLs to be entered for register relationship
Data type: REABLDOptional: No
Call by Reference: No ( called with pass by value option)
XT_EASTI - Register relationship
Data type: EASTIOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
SYSTEM_ERROR - System error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INDEP_IMPLAUSIBLE - Dependent implausible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLEPA1_011 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_xt_reabld | TYPE STANDARD TABLE OF REABLD, " | |||
| lv_system_error | TYPE REABLD, " | |||
| lv_y_corrdepval | TYPE EDEPVALOBJ, " | |||
| lt_xt_easti | TYPE STANDARD TABLE OF EASTI, " | |||
| lv_indep_implausible | TYPE EASTI. " |
|   CALL FUNCTION 'EXIT_SAPLEPA1_011' "IS-U: Customer-specific dependent validation |
| CHANGING | ||
| Y_CORRDEPVAL | = lv_y_corrdepval | |
| TABLES | ||
| XT_REABLD | = lt_xt_reabld | |
| XT_EASTI | = lt_xt_easti | |
| EXCEPTIONS | ||
| SYSTEM_ERROR = 1 | ||
| INDEP_IMPLAUSIBLE = 2 | ||
| . " EXIT_SAPLEPA1_011 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLEPA1_011
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects