SAP ISU_METER_READING_RESULTS_GET Function Module for









ISU_METER_READING_RESULTS_GET is a standard isu meter reading results get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 meter reading results get FM, simply by entering the name ISU_METER_READING_RESULTS_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_METER_READING_RESULTS_GET 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_METER_READING_RESULTS_GET'"
EXPORTING
X_IZW = "
* X_MAX_IEABLG = "
* X_MAX_IEABLQDCONV = "
* X_EINZDAT = "
* X_ANLAGE = "Installation
* X_BIPARAM = "External Controls for Billing/Billing Simulation
X_IABLTERM = "
X_ABR = "
X_INST = "
X_VERTRAG = "
* X_EABL_KZ = ' ' "
* X_IZW_1 = "
X_BEGANA = "
* X_MAX_IEABL = "

IMPORTING
Y_IZWST = "
Y_COMPR_IZW = "
Y_IZWSTBF = "
Y_IEABL = "
Y_IEABLG = "
Y_IEABLQDCONV = "

CHANGING
* XY_MABLBELNR = "Internal ID for meter reading document
* XY_IQDREF = "

TABLES
* TEABL = "

EXCEPTIONS
GENERAL_FAULT = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLEA00_001 IS-U: Enhancement for External Proration Dates
EXIT_SAPLEA00_002 Overriding Weighting Key for Measured Quantities
EXIT_SAPLEA00_007
EXIT_SAPLEA00_009 ISU: Enhancement for Day/Month-Related Determination of Time Portion

IMPORTING Parameters details for ISU_METER_READING_RESULTS_GET

X_IZW -

Data type: ISU2A_BILLING_DATA-IZW
Optional: No
Call by Reference: Yes

X_MAX_IEABLG -

Data type: ISU2A_IEABLG
Optional: Yes
Call by Reference: Yes

X_MAX_IEABLQDCONV -

Data type: ISU2A_IEABLQDCONV
Optional: Yes
Call by Reference: Yes

X_EINZDAT -

Data type: EVER-EINZDAT
Optional: Yes
Call by Reference: Yes

X_ANLAGE - Installation

Data type: EANL-ANLAGE
Optional: Yes
Call by Reference: Yes

X_BIPARAM - External Controls for Billing/Billing Simulation

Data type: BIPARAM
Optional: Yes
Call by Reference: Yes

X_IABLTERM -

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

X_ABR -

Data type: ISU2A_BILLING_DATA-ABR
Optional: No
Call by Reference: Yes

X_INST -

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

X_VERTRAG -

Data type: EVER-VERTRAG
Optional: No
Call by Reference: Yes

X_EABL_KZ -

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

X_IZW_1 -

Data type: ISU2A_BILLING_DATA-IZW
Optional: Yes
Call by Reference: Yes

X_BEGANA -

Data type: ERCH-BEGABRPE
Optional: No
Call by Reference: Yes

X_MAX_IEABL -

Data type: ISU2A_IEABL
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_METER_READING_RESULTS_GET

Y_IZWST -

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

Y_COMPR_IZW -

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

Y_IZWSTBF -

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

Y_IEABL -

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

Y_IEABLG -

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

Y_IEABLQDCONV -

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

CHANGING Parameters details for ISU_METER_READING_RESULTS_GET

XY_MABLBELNR - Internal ID for meter reading document

Data type: EABL-ABLBELNR
Optional: Yes
Call by Reference: Yes

XY_IQDREF -

Data type: ISU2A_BILLING_DATA-IQDREF
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ISU_METER_READING_RESULTS_GET

TEABL -

Data type: EABL
Optional: Yes
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 ISU_METER_READING_RESULTS_GET 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_teabl  TYPE STANDARD TABLE OF EABL, "   
lv_x_izw  TYPE ISU2A_BILLING_DATA-IZW, "   
lv_y_izwst  TYPE ISU2A_BILLING_DATA-IZWST, "   
lv_xy_mablbelnr  TYPE EABL-ABLBELNR, "   
lv_general_fault  TYPE EABL, "   
lv_x_max_ieablg  TYPE ISU2A_IEABLG, "   
lv_x_max_ieablqdconv  TYPE ISU2A_IEABLQDCONV, "   
lv_x_einzdat  TYPE EVER-EINZDAT, "   
lv_x_anlage  TYPE EANL-ANLAGE, "   
lv_x_biparam  TYPE BIPARAM, "   
lv_xy_iqdref  TYPE ISU2A_BILLING_DATA-IQDREF, "   
lv_x_iablterm  TYPE ISU2A_IABLTERM, "   
lv_y_compr_izw  TYPE ISU2A_BILLING_DATA-IZW, "   
lv_x_abr  TYPE ISU2A_BILLING_DATA-ABR, "   
lv_y_izwstbf  TYPE ISU2A_BILLING_DATA-IZWST, "   
lv_x_inst  TYPE ISU2A_INST_STRUC, "   
lv_y_ieabl  TYPE ISU2A_BILLING_DATA-IEABL, "   
lv_y_ieablg  TYPE ISU2A_BILLING_DATA-IEABLG, "   
lv_x_vertrag  TYPE EVER-VERTRAG, "   
lv_x_eabl_kz  TYPE REGEN-KENNZX, "   SPACE
lv_y_ieablqdconv  TYPE ISU2A_BILLING_DATA-IEABLQDCONV, "   
lv_x_izw_1  TYPE ISU2A_BILLING_DATA-IZW, "   
lv_x_begana  TYPE ERCH-BEGABRPE, "   
lv_x_max_ieabl  TYPE ISU2A_IEABL. "   

  CALL FUNCTION 'ISU_METER_READING_RESULTS_GET'  "
    EXPORTING
         X_IZW = lv_x_izw
         X_MAX_IEABLG = lv_x_max_ieablg
         X_MAX_IEABLQDCONV = lv_x_max_ieablqdconv
         X_EINZDAT = lv_x_einzdat
         X_ANLAGE = lv_x_anlage
         X_BIPARAM = lv_x_biparam
         X_IABLTERM = lv_x_iablterm
         X_ABR = lv_x_abr
         X_INST = lv_x_inst
         X_VERTRAG = lv_x_vertrag
         X_EABL_KZ = lv_x_eabl_kz
         X_IZW_1 = lv_x_izw_1
         X_BEGANA = lv_x_begana
         X_MAX_IEABL = lv_x_max_ieabl
    IMPORTING
         Y_IZWST = lv_y_izwst
         Y_COMPR_IZW = lv_y_compr_izw
         Y_IZWSTBF = lv_y_izwstbf
         Y_IEABL = lv_y_ieabl
         Y_IEABLG = lv_y_ieablg
         Y_IEABLQDCONV = lv_y_ieablqdconv
    CHANGING
         XY_MABLBELNR = lv_xy_mablbelnr
         XY_IQDREF = lv_xy_iqdref
    TABLES
         TEABL = lt_teabl
    EXCEPTIONS
        GENERAL_FAULT = 1
. " ISU_METER_READING_RESULTS_GET




ABAP code using 7.40 inline data declarations to call FM ISU_METER_READING_RESULTS_GET

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 IZW FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_izw).
 
"SELECT single IZWST FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_izwst).
 
"SELECT single ABLBELNR FROM EABL INTO @DATA(ld_xy_mablbelnr).
 
 
 
 
"SELECT single EINZDAT FROM EVER INTO @DATA(ld_x_einzdat).
 
"SELECT single ANLAGE FROM EANL INTO @DATA(ld_x_anlage).
 
 
"SELECT single IQDREF FROM ISU2A_BILLING_DATA INTO @DATA(ld_xy_iqdref).
 
 
"SELECT single IZW FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_compr_izw).
 
"SELECT single ABR FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_abr).
 
"SELECT single IZWST FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_izwstbf).
 
 
"SELECT single IEABL FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_ieabl).
 
"SELECT single IEABLG FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_ieablg).
 
"SELECT single VERTRAG FROM EVER INTO @DATA(ld_x_vertrag).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_eabl_kz).
DATA(ld_x_eabl_kz) = ' '.
 
"SELECT single IEABLQDCONV FROM ISU2A_BILLING_DATA INTO @DATA(ld_y_ieablqdconv).
 
"SELECT single IZW FROM ISU2A_BILLING_DATA INTO @DATA(ld_x_izw_1).
 
"SELECT single BEGABRPE FROM ERCH INTO @DATA(ld_x_begana).
 
 


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!