SAP EXIT_SAPLE20Q_001 Function Module for IS-U: User Exit for Rate Type Input Help









EXIT_SAPLE20Q_001 is a standard exit saple20q 001 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 for Rate Type Input Help 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 saple20q 001 FM, simply by entering the name EXIT_SAPLE20Q_001 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XERATETYPE
Program Name: SAPLXERATETYPE
Main Program: SAPLXERATETYPE
Appliation area: E
Release date: 04-Nov-1998
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLE20Q_001 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_SAPLE20Q_001'"IS-U: User Exit for Rate Type Input Help
EXPORTING
X_INSTALLATION = "Number of Installation
X_REFVALUE_DATA = "Data for Reference Value
X_ETDZ = "Technical Data for Installed Register
X_V_EGER = "Generated Table for View V_EGER
* X_OPERAND = "Operand
X_FACT = "Indicator: Installation Fact
X_REFVALUE = "Indicator: Reference Value
X_REGISTER = "Indicator: Register
X_DEVICE = "Indicator: Device
X_DATE_FROM = "Start of Period
X_DATE_TO = "End of Period
X_INST_DATA = "Installation Data
X_REGISTER_CATEGORY = "Register Category

TABLES
XYT_RATE_TYPE = "Table for Rate Types

EXCEPTIONS
GENERAL_FAULT = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ISU_CONDI_GROUP_REQUEST INTERNAL: Selection Help for Condition Groups (ON VALUE-REQUEST)
ISU_RATEDATA_CHCK_FOR_INSTSTRC INTERNAL: Cross Checks of Rate Data in Installation Structure
ISU_RATE_TYPE_CHECK INTERNAL: Check or Rate Type (and Condition Group)
ISU_RATE_TYPE_PBO INTERNAL: PBO Module for Rate Type and Rate Fact Group
ISU_RATE_TYPE_REQUEST INTERNAL: Selection Help for Rate Types (ON VALUE-REQUEST)

IMPORTING Parameters details for EXIT_SAPLE20Q_001

X_INSTALLATION - Number of Installation

Data type: EANL-ANLAGE
Optional: No
Call by Reference: No ( called with pass by value option)

X_REFVALUE_DATA - Data for Reference Value

Data type: ISU_REFVALUE_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

X_ETDZ - Technical Data for Installed Register

Data type: ETDZ
Optional: No
Call by Reference: No ( called with pass by value option)

X_V_EGER - Generated Table for View V_EGER

Data type: V_EGER
Optional: No
Call by Reference: No ( called with pass by value option)

X_OPERAND - Operand

Data type: E_OPERAND
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FACT - Indicator: Installation Fact

Data type: REGEN-KENNZX
Optional: No
Call by Reference: No ( called with pass by value option)

X_REFVALUE - Indicator: Reference Value

Data type: REGEN-KENNZX
Optional: No
Call by Reference: No ( called with pass by value option)

X_REGISTER - Indicator: Register

Data type: REGEN-KENNZX
Optional: No
Call by Reference: No ( called with pass by value option)

X_DEVICE - Indicator: Device

Data type: REGEN-KENNZX
Optional: No
Call by Reference: No ( called with pass by value option)

X_DATE_FROM - Start of Period

Data type: EANLH-AB
Optional: No
Call by Reference: No ( called with pass by value option)

X_DATE_TO - End of Period

Data type: EANLH-BIS
Optional: No
Call by Reference: No ( called with pass by value option)

X_INST_DATA - Installation Data

Data type: EANLDATA
Optional: No
Call by Reference: No ( called with pass by value option)

X_REGISTER_CATEGORY - Register Category

Data type: ETDZ-ZWTYP
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EXIT_SAPLE20Q_001

XYT_RATE_TYPE - Table for Rate Types

Data type: ISU_TE069
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_SAPLE20Q_001 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_general_fault  TYPE STRING, "   
lt_xyt_rate_type  TYPE STANDARD TABLE OF ISU_TE069, "   
lv_x_installation  TYPE EANL-ANLAGE, "   
lv_x_refvalue_data  TYPE ISU_REFVALUE_DATA, "   
lv_x_etdz  TYPE ETDZ, "   
lv_x_v_eger  TYPE V_EGER, "   
lv_x_operand  TYPE E_OPERAND, "   
lv_x_fact  TYPE REGEN-KENNZX, "   
lv_x_refvalue  TYPE REGEN-KENNZX, "   
lv_x_register  TYPE REGEN-KENNZX, "   
lv_x_device  TYPE REGEN-KENNZX, "   
lv_x_date_from  TYPE EANLH-AB, "   
lv_x_date_to  TYPE EANLH-BIS, "   
lv_x_inst_data  TYPE EANLDATA, "   
lv_x_register_category  TYPE ETDZ-ZWTYP. "   

  CALL FUNCTION 'EXIT_SAPLE20Q_001'  "IS-U: User Exit for Rate Type Input Help
    EXPORTING
         X_INSTALLATION = lv_x_installation
         X_REFVALUE_DATA = lv_x_refvalue_data
         X_ETDZ = lv_x_etdz
         X_V_EGER = lv_x_v_eger
         X_OPERAND = lv_x_operand
         X_FACT = lv_x_fact
         X_REFVALUE = lv_x_refvalue
         X_REGISTER = lv_x_register
         X_DEVICE = lv_x_device
         X_DATE_FROM = lv_x_date_from
         X_DATE_TO = lv_x_date_to
         X_INST_DATA = lv_x_inst_data
         X_REGISTER_CATEGORY = lv_x_register_category
    TABLES
         XYT_RATE_TYPE = lt_xyt_rate_type
    EXCEPTIONS
        GENERAL_FAULT = 1
. " EXIT_SAPLE20Q_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLE20Q_001

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 ANLAGE FROM EANL INTO @DATA(ld_x_installation).
 
 
 
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_fact).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_refvalue).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_register).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_device).
 
"SELECT single AB FROM EANLH INTO @DATA(ld_x_date_from).
 
"SELECT single BIS FROM EANLH INTO @DATA(ld_x_date_to).
 
 
"SELECT single ZWTYP FROM ETDZ INTO @DATA(ld_x_register_category).
 


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!