SAP EXIT_SAPLELACC_003 Function Module for IS-U: User Exit PBO: PBO for Customer Subscreen
EXIT_SAPLELACC_003 is a standard exit saplelacc 003 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: User Exit PBO: PBO for Customer Subscreen 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 saplelacc 003 FM, simply by entering the name EXIT_SAPLELACC_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XELACC
Program Name: SAPLXELACC
Main Program: SAPLXELACC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLELACC_003 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_SAPLELACC_003'"IS-U: User Exit PBO: PBO for Customer Subscreen.
EXPORTING
X_SUB_OBJ = "Object Data of Subobject
CHANGING
XY_ELACCD = "Screen fields: Loyalty Account
TABLES
T_ELACCZD = "Loyalty Account Line Item: Data Fields (with Event Text)
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISU_COMPUTE_BALANCE INTERN: Calculate Points Balance
ISU_O_LOYALACC_ACTION INTERNAL: Subscreen Actions
ISU_O_LOYALACC_CLOSE INTERNAL: Exits Object Processing
ISU_O_LOYALACC_INPUT INTERNAL: Checks and Transfers Entries
ISU_O_LOYALACC_INPUT_CUSTFIELD
ISU_O_LOYALACC_OPEN INTERNAL: Opens Processing of an Object
ISU_O_LOYALACC_PAI_AFTER INTERNAL: Closes the CALL SUBSCREEN PAI
ISU_O_LOYALACC_PAI_BEFORE INTERNAL: Prepares the CALL SUBSCREEN PAI
ISU_O_LOYALACC_PBO INTERNAL: Prepares the CALL SUBSCREEN PBO
ISU_O_LOYALACC_PREPARE_CLOSE INTERNAL: Prepare Object Closing
ISU_S_LOYALACC_CHANGE INTERNAL: Change LOYALACC
ISU_S_LOYALACC_CREATE INTERNAL: Create LOYALACC
ISU_S_LOYALACC_DELETE INTERNAL: Delete LOYALACC
ISU_S_LOYALACC_DISPLAY INTERNAL: Display LOYALACC
ISU_S_LOYALACC_PROVIDE INTERNAL: Prepares a LOYOALACC for Processing
IMPORTING Parameters details for EXIT_SAPLELACC_003
X_SUB_OBJ - Object Data of Subobject
Data type: ISULA_LOYALACC_SUBOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLELACC_003
XY_ELACCD - Screen fields: Loyalty Account
Data type: ELACCDOptional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLELACC_003
T_ELACCZD - Loyalty Account Line Item: Data Fields (with Event Text)
Data type: ELACCZTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLELACC_003 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_t_elacczd | TYPE STANDARD TABLE OF ELACCZT, " | |||
| lv_xy_elaccd | TYPE ELACCD, " | |||
| lv_x_sub_obj | TYPE ISULA_LOYALACC_SUB. " |
|   CALL FUNCTION 'EXIT_SAPLELACC_003' "IS-U: User Exit PBO: PBO for Customer Subscreen |
| EXPORTING | ||
| X_SUB_OBJ | = lv_x_sub_obj | |
| CHANGING | ||
| XY_ELACCD | = lv_xy_elaccd | |
| TABLES | ||
| T_ELACCZD | = lt_t_elacczd | |
| . " EXIT_SAPLELACC_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLELACC_003
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