SAP ISU_DB_ETRG_SELECT_INSTALL Function Module for INTERNAL: Read Billing Order via Installation
ISU_DB_ETRG_SELECT_INSTALL is a standard isu db etrg select install SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Read Billing Order via Installation 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 select install FM, simply by entering the name ISU_DB_ETRG_SELECT_INSTALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: EL46
Program Name: SAPLEL46
Main Program: SAPLEL46
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_DB_ETRG_SELECT_INSTALL 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_SELECT_INSTALL'"INTERNAL: Read Billing Order via Installation.
EXPORTING
* X_ANLAGE = "Installation
* X_MAXCOUNT = 0 "
* X_ACTUAL = "
* X_MDUSRQSTAT_RTAB = "Ranges Table for E_MDUSRQSTAT
* X_ABRDATS = "Scheduled Billing Date
* X_ABRDATSVON = 19000101 "
* X_ABRDATSBIS = 99991231 "
* X_ADATSOLL = "Scheduled Meter Reading Date
* X_ADATSOLLVON = 19000101 "
* X_ADATSOLLBIS = 99991231 "
* X_ABRVORG = "Billing Transaction
* X_TRIGSTAT = "Trigger Status
IMPORTING
Y_COUNT = "Number of Hits
Y_OVERFLOW = "Overflow indicator
Y_ETRG = "
TABLES
TY_ETRG = "
* TX_ANLAGE = "
* TX_ABRDATS = "
* TX_ADATSOLL = "
* TX_ABRVORG = "
* TX_TRIGSTAT = "
EXCEPTIONS
NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3 INVALID_INTERVAL = 4
IMPORTING Parameters details for ISU_DB_ETRG_SELECT_INSTALL
X_ANLAGE - Installation
Data type: ETRG-ANLAGEOptional: 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_ACTUAL -
Data type: REGEN-ACTUALOptional: Yes
Call by Reference: No ( called with pass by value option)
X_MDUSRQSTAT_RTAB - Ranges Table for E_MDUSRQSTAT
Data type: EMDUS_MDUSRQSTAT_RTABOptional: Yes
Call by Reference: Yes
X_ABRDATS - Scheduled Billing Date
Data type: ETRG-ABRDATSOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRDATSVON -
Data type: ETRG-ABRDATSDefault: 19000101
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ABRDATSBIS -
Data type: ETRG-ABRDATSDefault: 99991231
Optional: 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_ADATSOLLVON -
Data type: ETRG-ADATSOLLDefault: 19000101
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ADATSOLLBIS -
Data type: ETRG-ADATSOLLDefault: 99991231
Optional: 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_TRIGSTAT - Trigger Status
Data type: ETRG-TRIGSTATOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_DB_ETRG_SELECT_INSTALL
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)
Y_ETRG -
Data type: ETRGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_DB_ETRG_SELECT_INSTALL
TY_ETRG -
Data type: ETRGOptional: No
Call by Reference: No ( called with pass by value option)
TX_ANLAGE -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRDATS -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ADATSOLL -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_ABRVORG -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_TRIGSTAT -
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 - Incorrect Input Parameter
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_INTERVAL - Invalid Date Interval
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_DB_ETRG_SELECT_INSTALL 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_ty_etrg | TYPE STANDARD TABLE OF ETRG, " | |||
| lv_y_count | TYPE REGEN-MAXCOUNT, " | |||
| lv_x_anlage | TYPE ETRG-ANLAGE, " | |||
| lv_not_found | TYPE ETRG, " | |||
| lv_x_maxcount | TYPE REGEN-MAXCOUNT, " 0 | |||
| lv_x_actual | TYPE REGEN-ACTUAL, " | |||
| lv_x_mdusrqstat_rtab | TYPE EMDUS_MDUSRQSTAT_RTAB, " | |||
| lt_tx_anlage | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_abrdats | TYPE ETRG-ABRDATS, " | |||
| lv_y_overflow | TYPE REGEN-OVERFLOW, " | |||
| lv_system_error | TYPE REGEN, " | |||
| lv_y_etrg | TYPE ETRG, " | |||
| lt_tx_abrdats | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_abrdatsvon | TYPE ETRG-ABRDATS, " 19000101 | |||
| lv_not_qualified | TYPE ETRG, " | |||
| lt_tx_adatsoll | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_abrdatsbis | TYPE ETRG-ABRDATS, " 99991231 | |||
| lv_invalid_interval | TYPE ETRG, " | |||
| lt_tx_abrvorg | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_adatsoll | TYPE ETRG-ADATSOLL, " | |||
| lt_tx_trigstat | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_adatsollvon | TYPE ETRG-ADATSOLL, " 19000101 | |||
| lv_x_adatsollbis | TYPE ETRG-ADATSOLL, " 99991231 | |||
| lv_x_abrvorg | TYPE ETRG-ABRVORG, " | |||
| lv_x_trigstat | TYPE ETRG-TRIGSTAT. " |
|   CALL FUNCTION 'ISU_DB_ETRG_SELECT_INSTALL' "INTERNAL: Read Billing Order via Installation |
| EXPORTING | ||
| X_ANLAGE | = lv_x_anlage | |
| X_MAXCOUNT | = lv_x_maxcount | |
| X_ACTUAL | = lv_x_actual | |
| X_MDUSRQSTAT_RTAB | = lv_x_mdusrqstat_rtab | |
| X_ABRDATS | = lv_x_abrdats | |
| X_ABRDATSVON | = lv_x_abrdatsvon | |
| X_ABRDATSBIS | = lv_x_abrdatsbis | |
| X_ADATSOLL | = lv_x_adatsoll | |
| X_ADATSOLLVON | = lv_x_adatsollvon | |
| X_ADATSOLLBIS | = lv_x_adatsollbis | |
| X_ABRVORG | = lv_x_abrvorg | |
| X_TRIGSTAT | = lv_x_trigstat | |
| IMPORTING | ||
| Y_COUNT | = lv_y_count | |
| Y_OVERFLOW | = lv_y_overflow | |
| Y_ETRG | = lv_y_etrg | |
| TABLES | ||
| TY_ETRG | = lt_ty_etrg | |
| TX_ANLAGE | = lt_tx_anlage | |
| TX_ABRDATS | = lt_tx_abrdats | |
| TX_ADATSOLL | = lt_tx_adatsoll | |
| TX_ABRVORG | = lt_tx_abrvorg | |
| TX_TRIGSTAT | = lt_tx_trigstat | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| SYSTEM_ERROR = 2 | ||
| NOT_QUALIFIED = 3 | ||
| INVALID_INTERVAL = 4 | ||
| . " ISU_DB_ETRG_SELECT_INSTALL | ||
ABAP code using 7.40 inline data declarations to call FM ISU_DB_ETRG_SELECT_INSTALL
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 MAXCOUNT FROM REGEN INTO @DATA(ld_x_maxcount). | ||||
| "SELECT single ACTUAL FROM REGEN INTO @DATA(ld_x_actual). | ||||
| "SELECT single ABRDATS FROM ETRG INTO @DATA(ld_x_abrdats). | ||||
| "SELECT single OVERFLOW FROM REGEN INTO @DATA(ld_y_overflow). | ||||
| "SELECT single ABRDATS FROM ETRG INTO @DATA(ld_x_abrdatsvon). | ||||
| DATA(ld_x_abrdatsvon) | = 19000101. | |||
| "SELECT single ABRDATS FROM ETRG INTO @DATA(ld_x_abrdatsbis). | ||||
| DATA(ld_x_abrdatsbis) | = 99991231. | |||
| "SELECT single ADATSOLL FROM ETRG INTO @DATA(ld_x_adatsoll). | ||||
| "SELECT single ADATSOLL FROM ETRG INTO @DATA(ld_x_adatsollvon). | ||||
| DATA(ld_x_adatsollvon) | = 19000101. | |||
| "SELECT single ADATSOLL FROM ETRG INTO @DATA(ld_x_adatsollbis). | ||||
| DATA(ld_x_adatsollbis) | = 99991231. | |||
| "SELECT single ABRVORG FROM ETRG INTO @DATA(ld_x_abrvorg). | ||||
| "SELECT single TRIGSTAT FROM ETRG INTO @DATA(ld_x_trigstat). | ||||
Search for further information about these or an SAP related objects