SAP EXIT_SAPLE20A_006 Function Module for IS-U: User Exit OPEN: Opens Customer Object Processing









EXIT_SAPLE20A_006 is a standard exit saple20a 006 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 OPEN: Opens Customer Object Processing 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 saple20a 006 FM, simply by entering the name EXIT_SAPLE20A_006 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XE20A
Program Name: SAPLXE20A
Main Program: SAPLXE20A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLE20A_006 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_SAPLE20A_006'"IS-U: User Exit OPEN: Opens Customer Object Processing
EXPORTING
X_TARIFTYP = "Rate Category
X_SPARTE = "Division
X_AKLASSE = "Billing Class
X_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
X_UPD_ONLINE = "Indicator: Online Update
X_NO_DIALOG = "Suppress Maintenance Screens
X_DATA = "Screen Data
X_AUTO = "Automation Data

IMPORTING
Y_HANDLE = "Handle for Subobjects

EXCEPTIONS
DATA_INCONSISTENCY = 1 NOT_AUTHORIZED = 2 FOREIGN_LOCK = 3
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ISU_O_RATE_CAT_ACTION INTERNAL: Subscreen Actions
ISU_O_RATE_CAT_CLOSE INTERNAL: Ends Processing of Rate Category
ISU_O_RATE_CAT_OPEN INTERNAL: Opens Processing of Rate Category
ISU_O_RATE_CAT_PREPARE_CLOSE INTERNAL: Prepare Object Closing
ISU_RATE_CAT_CHECK_SINGLE IS-U: Consistency Check of Single Rate Category
ISU_RATE_CAT_USAGE INTERNAL: Where-Used List for Rate Category
ISU_SINGLE_CUSTOM_EXIST_CHECK IS-U: Existency Check for Individual Customizing
ISU_S_RATE_CAT_CHANGE INTERNAL: Change Rate Category
ISU_S_RATE_CAT_CREATE INTERNAL: Create Rate Category
ISU_S_RATE_CAT_DELETE INTERNAL: Delete Rate Category
ISU_S_RATE_CAT_DISPLAY INTERNAL: Display Rate Category
ISU_S_RATE_CAT_PROVIDE INTERNAL: Prepares an Object for Processing

IMPORTING Parameters details for EXIT_SAPLE20A_006

X_TARIFTYP - Rate Category

Data type: ETTA-TARIFTYP
Optional: No
Call by Reference: Yes

X_SPARTE - Division

Data type: ETTA-SPARTE
Optional: No
Call by Reference: Yes

X_AKLASSE - Billing Class

Data type: ETTA-AKLASSE
Optional: No
Call by Reference: Yes

X_WMODE - Processing Mode (1 = Display, 2 = Change, 3 = Create...)

Data type: REGEN-WMODE
Optional: No
Call by Reference: Yes

X_UPD_ONLINE - Indicator: Online Update

Data type: REGEN-UPD_ONLINE
Optional: No
Call by Reference: Yes

X_NO_DIALOG - Suppress Maintenance Screens

Data type: REGEN-NO_DIALOG
Optional: No
Call by Reference: Yes

X_DATA - Screen Data

Data type: ISU20_RATE_CAT_DATA
Optional: No
Call by Reference: Yes

X_AUTO - Automation Data

Data type: ISU20_RATE_CAT_AUTO
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for EXIT_SAPLE20A_006

Y_HANDLE - Handle for Subobjects

Data type: REGEN-HANDLE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

DATA_INCONSISTENCY - Inconsistent Data

Data type:
Optional: No
Call by Reference: Yes

NOT_AUTHORIZED - Unauthorized

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK - Locked

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLE20A_006 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:
lv_y_handle  TYPE REGEN-HANDLE, "   
lv_x_tariftyp  TYPE ETTA-TARIFTYP, "   
lv_data_inconsistency  TYPE ETTA, "   
lv_x_sparte  TYPE ETTA-SPARTE, "   
lv_not_authorized  TYPE ETTA, "   
lv_x_aklasse  TYPE ETTA-AKLASSE, "   
lv_foreign_lock  TYPE ETTA, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_x_upd_online  TYPE REGEN-UPD_ONLINE, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_x_data  TYPE ISU20_RATE_CAT_DATA, "   
lv_x_auto  TYPE ISU20_RATE_CAT_AUTO. "   

  CALL FUNCTION 'EXIT_SAPLE20A_006'  "IS-U: User Exit OPEN: Opens Customer Object Processing
    EXPORTING
         X_TARIFTYP = lv_x_tariftyp
         X_SPARTE = lv_x_sparte
         X_AKLASSE = lv_x_aklasse
         X_WMODE = lv_x_wmode
         X_UPD_ONLINE = lv_x_upd_online
         X_NO_DIALOG = lv_x_no_dialog
         X_DATA = lv_x_data
         X_AUTO = lv_x_auto
    IMPORTING
         Y_HANDLE = lv_y_handle
    EXCEPTIONS
        DATA_INCONSISTENCY = 1
        NOT_AUTHORIZED = 2
        FOREIGN_LOCK = 3
. " EXIT_SAPLE20A_006




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLE20A_006

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.

"SELECT single HANDLE FROM REGEN INTO @DATA(ld_y_handle).
 
"SELECT single TARIFTYP FROM ETTA INTO @DATA(ld_x_tariftyp).
 
 
"SELECT single SPARTE FROM ETTA INTO @DATA(ld_x_sparte).
 
 
"SELECT single AKLASSE FROM ETTA INTO @DATA(ld_x_aklasse).
 
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
"SELECT single UPD_ONLINE FROM REGEN INTO @DATA(ld_x_upd_online).
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!