SAP ISU_DB_ETRG_E25M_CRIT Function Module for FM U03: ISU_DB_ETRG_E25M_SELECT (Mass Access)
ISU_DB_ETRG_E25M_CRIT is a standard isu db etrg e25m crit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FM U03: ISU_DB_ETRG_E25M_SELECT (Mass Access) 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 isu db etrg e25m crit FM, simply by entering the name ISU_DB_ETRG_E25M_CRIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: E25M
Program Name: SAPLE25M
Main Program: SAPLE25M
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISU_DB_ETRG_E25M_CRIT 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 'ISU_DB_ETRG_E25M_CRIT'"FM U03: ISU_DB_ETRG_E25M_SELECT (Mass Access).
EXPORTING
* X_ANLAGE = "Installation
* X_ADATSOLL = "Scheduled Meter Reading Date
* X_ABRDATSU = "
* X_ABRVORGU = "
* X_BEGEND = "Start of period-end billing period
* X_SC_BELNR = "Number of billing document in adjustment reversal
* X_ENDPRIO = "
* X_ERDAT = "Date on Which Record Was Created
* X_ERNAM = "
* X_AEDAT = "Last Changed On
* X_AENAM = "
* X_ABRDATS = "Scheduled Billing Date
* X_MAXCOUNT = 0 "
* X_SORT = "Sorting ('K' = Key, ' ' = No Sorting)
* X_ACTUAL = "Consistent Data Version ('X' = Yes, ' ' = No)
* X_ABRVORG = "Billing Transaction
* X_BUKRS = "Company Code
* X_SPARTE = "Division
* X_PORTION = "Portion
* X_ABRVORG2 = "Billing Transaction
* X_TRIGSTAT = "Status of Billing Order
* X_ABLEINH = "
IMPORTING
Y_COUNT = "Number of Hits
Y_OVERFLOW = "Overflow indicator
TABLES
* TX_ANLAGE = "Installation
* TX_ADATSOLL = "Scheduled Meter Reading Date
* TX_ABRDATSU = "
* TX_ABRVORGU = "
* TX_BEGEND = "Start of period-end billing period
* TX_SC_BELNR = "Number of billing document in adjustment reversal
* TX_ENDPRIO = "
* TX_ERDAT = "Date on Which Record Was Created
* TX_ERNAM = "
* TX_AEDAT = "Last Changed On
* TX_AENAM = "
* TX_ABRDATS = "Scheduled Billing Date
* TY_ETRG = "No.of hits
* TX_ABRVORG = "Billing Transaction
* TX_BUKRS = "Company Code
* TX_SPARTE = "Division
* TX_PORTION = "Portion
* TX_ABRVORG2 = "Billing Transaction
* TX_TRIGSTAT = "Status of Billing Order
* TX_ABLEINH = "
EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3
IMPORTING Parameters details for ISU_DB_ETRG_E25M_CRIT
X_ANLAGE - Installation
Data type: ETRG-ANLAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ADATSOLL - Scheduled Meter Reading Date
Data type: ETRG-ADATSOLLOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRDATSU -
Data type: ETRG-ABRDATSUOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRVORGU -
Data type: ETRG-ABRVORGUOptional: Yes
Call by Reference: No ( called with pass by value option)
X_BEGEND - Start of period-end billing period
Data type: ETRG-BEGENDOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SC_BELNR - Number of billing document in adjustment reversal
Data type: ETRG-SC_BELNROptional: Yes
Call by Reference: No ( called with pass by value option)
X_ENDPRIO -
Data type: ETRG-ENDPRIOOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ERDAT - Date on Which Record Was Created
Data type: ETRG-ERDATOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ERNAM -
Data type: ETRG-ERNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
X_AEDAT - Last Changed On
Data type: ETRG-AEDATOptional: Yes
Call by Reference: No ( called with pass by value option)
X_AENAM -
Data type: ETRG-AENAMOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRDATS - Scheduled Billing Date
Data type: ETRG-ABRDATSOptional: Yes
Call by Reference: No ( called with pass by value option)
X_MAXCOUNT -
Data type: REGEN-MAXCOUNTOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SORT - Sorting ('K' = Key, SPACE = No Sorting)
Data type: REGEN-KZ_SORTOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ACTUAL - Consistent Data Version ('X' = Yes, ' ' = No)
Data type: REGEN-ACTUALOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRVORG - Billing Transaction
Data type: ETRG-ABRVORGOptional: Yes
Call by Reference: No ( called with pass by value option)
X_BUKRS - Company Code
Data type: ETRG-BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
X_SPARTE - Division
Data type: ETRG-SPARTEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_PORTION - Portion
Data type: ETRG-PORTIONOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRVORG2 - Billing Transaction
Data type: ETRG-ABRVORG2Optional: Yes
Call by Reference: No ( called with pass by value option)
X_TRIGSTAT - Status of Billing Order
Data type: ETRG-TRIGSTATOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABLEINH -
Data type: ETRG-ABLEINHOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_DB_ETRG_E25M_CRIT
Y_COUNT - Number of Hits
Data type: REGEN-MAXCOUNTOptional: No
Call by Reference: No ( called with pass by value option)
Y_OVERFLOW - Overflow indicator
Data type: REGEN-OVERFLOWOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_DB_ETRG_E25M_CRIT
TX_ANLAGE - Installation
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ADATSOLL - Scheduled Meter Reading Date
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRDATSU -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRVORGU -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_BEGEND - Start of period-end billing period
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_SC_BELNR - Number of billing document in adjustment reversal
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ENDPRIO -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ERDAT - Date on Which Record Was Created
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ERNAM -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_AEDAT - Last Changed On
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_AENAM -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRDATS - Scheduled Billing Date
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TY_ETRG - No.of hits
Data type: ETRGOptional: Yes
Call by Reference: Yes
TX_ABRVORG - Billing Transaction
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_BUKRS - Company Code
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_SPARTE - Division
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_PORTION - Portion
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRVORG2 - Billing Transaction
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_TRIGSTAT - Status of Billing Order
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABLEINH -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - No Object Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR - Other Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_QUALIFIED - Input Parameters Are not Qualified
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_DB_ETRG_E25M_CRIT 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_count | TYPE REGEN-MAXCOUNT, " | |||
lv_x_anlage | TYPE ETRG-ANLAGE, " | |||
lv_not_found | TYPE ETRG, " | |||
lt_tx_anlage | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_adatsoll | TYPE ETRG-ADATSOLL, " | |||
lt_tx_adatsoll | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_abrdatsu | TYPE ETRG-ABRDATSU, " | |||
lt_tx_abrdatsu | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_abrvorgu | TYPE ETRG-ABRVORGU, " | |||
lt_tx_abrvorgu | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_begend | TYPE ETRG-BEGEND, " | |||
lt_tx_begend | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_sc_belnr | TYPE ETRG-SC_BELNR, " | |||
lt_tx_sc_belnr | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_endprio | TYPE ETRG-ENDPRIO, " | |||
lt_tx_endprio | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_erdat | TYPE ETRG-ERDAT, " | |||
lt_tx_erdat | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_ernam | TYPE ETRG-ERNAM, " | |||
lt_tx_ernam | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_aedat | TYPE ETRG-AEDAT, " | |||
lt_tx_aedat | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_aenam | TYPE ETRG-AENAM, " | |||
lt_tx_aenam | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_abrdats | TYPE ETRG-ABRDATS, " | |||
lt_tx_abrdats | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_y_overflow | TYPE REGEN-OVERFLOW, " | |||
lv_system_error | TYPE REGEN, " | |||
lt_ty_etrg | TYPE STANDARD TABLE OF ETRG, " | |||
lv_x_maxcount | TYPE REGEN-MAXCOUNT, " 0 | |||
lv_x_sort | TYPE REGEN-KZ_SORT, " | |||
lv_x_actual | TYPE REGEN-ACTUAL, " | |||
lv_x_abrvorg | TYPE ETRG-ABRVORG, " | |||
lt_tx_abrvorg | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_not_qualified | TYPE ISU_RANGES, " | |||
lv_x_bukrs | TYPE ETRG-BUKRS, " | |||
lt_tx_bukrs | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_sparte | TYPE ETRG-SPARTE, " | |||
lt_tx_sparte | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_portion | TYPE ETRG-PORTION, " | |||
lt_tx_portion | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_abrvorg2 | TYPE ETRG-ABRVORG2, " | |||
lt_tx_abrvorg2 | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_trigstat | TYPE ETRG-TRIGSTAT, " | |||
lt_tx_trigstat | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_x_ableinh | TYPE ETRG-ABLEINH, " | |||
lt_tx_ableinh | TYPE STANDARD TABLE OF ISU_RANGES. " |
  CALL FUNCTION 'ISU_DB_ETRG_E25M_CRIT' "FM U03: ISU_DB_ETRG_E25M_SELECT (Mass Access) |
EXPORTING | ||
X_ANLAGE | = lv_x_anlage | |
X_ADATSOLL | = lv_x_adatsoll | |
X_ABRDATSU | = lv_x_abrdatsu | |
X_ABRVORGU | = lv_x_abrvorgu | |
X_BEGEND | = lv_x_begend | |
X_SC_BELNR | = lv_x_sc_belnr | |
X_ENDPRIO | = lv_x_endprio | |
X_ERDAT | = lv_x_erdat | |
X_ERNAM | = lv_x_ernam | |
X_AEDAT | = lv_x_aedat | |
X_AENAM | = lv_x_aenam | |
X_ABRDATS | = lv_x_abrdats | |
X_MAXCOUNT | = lv_x_maxcount | |
X_SORT | = lv_x_sort | |
X_ACTUAL | = lv_x_actual | |
X_ABRVORG | = lv_x_abrvorg | |
X_BUKRS | = lv_x_bukrs | |
X_SPARTE | = lv_x_sparte | |
X_PORTION | = lv_x_portion | |
X_ABRVORG2 | = lv_x_abrvorg2 | |
X_TRIGSTAT | = lv_x_trigstat | |
X_ABLEINH | = lv_x_ableinh | |
IMPORTING | ||
Y_COUNT | = lv_y_count | |
Y_OVERFLOW | = lv_y_overflow | |
TABLES | ||
TX_ANLAGE | = lt_tx_anlage | |
TX_ADATSOLL | = lt_tx_adatsoll | |
TX_ABRDATSU | = lt_tx_abrdatsu | |
TX_ABRVORGU | = lt_tx_abrvorgu | |
TX_BEGEND | = lt_tx_begend | |
TX_SC_BELNR | = lt_tx_sc_belnr | |
TX_ENDPRIO | = lt_tx_endprio | |
TX_ERDAT | = lt_tx_erdat | |
TX_ERNAM | = lt_tx_ernam | |
TX_AEDAT | = lt_tx_aedat | |
TX_AENAM | = lt_tx_aenam | |
TX_ABRDATS | = lt_tx_abrdats | |
TY_ETRG | = lt_ty_etrg | |
TX_ABRVORG | = lt_tx_abrvorg | |
TX_BUKRS | = lt_tx_bukrs | |
TX_SPARTE | = lt_tx_sparte | |
TX_PORTION | = lt_tx_portion | |
TX_ABRVORG2 | = lt_tx_abrvorg2 | |
TX_TRIGSTAT | = lt_tx_trigstat | |
TX_ABLEINH | = lt_tx_ableinh | |
EXCEPTIONS | ||
NOT_FOUND = 1 | ||
SYSTEM_ERROR = 2 | ||
NOT_QUALIFIED = 3 | ||
. " ISU_DB_ETRG_E25M_CRIT |
ABAP code using 7.40 inline data declarations to call FM ISU_DB_ETRG_E25M_CRIT
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 MAXCOUNT FROM REGEN INTO @DATA(ld_y_count). | ||||
"SELECT single ANLAGE FROM ETRG INTO @DATA(ld_x_anlage). | ||||
"SELECT single ADATSOLL FROM ETRG INTO @DATA(ld_x_adatsoll). | ||||
"SELECT single ABRDATSU FROM ETRG INTO @DATA(ld_x_abrdatsu). | ||||
"SELECT single ABRVORGU FROM ETRG INTO @DATA(ld_x_abrvorgu). | ||||
"SELECT single BEGEND FROM ETRG INTO @DATA(ld_x_begend). | ||||
"SELECT single SC_BELNR FROM ETRG INTO @DATA(ld_x_sc_belnr). | ||||
"SELECT single ENDPRIO FROM ETRG INTO @DATA(ld_x_endprio). | ||||
"SELECT single ERDAT FROM ETRG INTO @DATA(ld_x_erdat). | ||||
"SELECT single ERNAM FROM ETRG INTO @DATA(ld_x_ernam). | ||||
"SELECT single AEDAT FROM ETRG INTO @DATA(ld_x_aedat). | ||||
"SELECT single AENAM FROM ETRG INTO @DATA(ld_x_aenam). | ||||
"SELECT single ABRDATS FROM ETRG INTO @DATA(ld_x_abrdats). | ||||
"SELECT single OVERFLOW FROM REGEN INTO @DATA(ld_y_overflow). | ||||
"SELECT single MAXCOUNT FROM REGEN INTO @DATA(ld_x_maxcount). | ||||
"SELECT single KZ_SORT FROM REGEN INTO @DATA(ld_x_sort). | ||||
"SELECT single ACTUAL FROM REGEN INTO @DATA(ld_x_actual). | ||||
"SELECT single ABRVORG FROM ETRG INTO @DATA(ld_x_abrvorg). | ||||
"SELECT single BUKRS FROM ETRG INTO @DATA(ld_x_bukrs). | ||||
"SELECT single SPARTE FROM ETRG INTO @DATA(ld_x_sparte). | ||||
"SELECT single PORTION FROM ETRG INTO @DATA(ld_x_portion). | ||||
"SELECT single ABRVORG2 FROM ETRG INTO @DATA(ld_x_abrvorg2). | ||||
"SELECT single TRIGSTAT FROM ETRG INTO @DATA(ld_x_trigstat). | ||||
"SELECT single ABLEINH FROM ETRG INTO @DATA(ld_x_ableinh). | ||||
Search for further information about these or an SAP related objects