SAP ISU_METERREAD_OPEN_REMOTE Function Module for









ISU_METERREAD_OPEN_REMOTE is a standard isu meterread open remote 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 meterread open remote FM, simply by entering the name ISU_METERREAD_OPEN_REMOTE into the relevant SAP transaction such as SE37 or SE38.

Function Group: EL01R
Program Name: SAPLEL01R
Main Program: SAPLEL01R
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISU_METERREAD_OPEN_REMOTE 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_METERREAD_OPEN_REMOTE'"
EXPORTING
* X_PREMISE = "Premise
X_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
* X_ACTION = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
* X_MRDATE = "Meter Reading Date Relevant to Billing
* X_ABLESGR = "Meter Reading Reason
* X_INT_UI = "EDM: internal point of delivery
* XT_VERTRAG = "Table Type for Data Element VERTRAG
* X_EQUNR = "Equipment Number

IMPORTING
X_HEADER_ID = "Header Data of Meter Reading Object
YT_MSG = "Return Table

TABLES
* XT_INST_INTERV = "Table of Meter Reading Results for Bill Correction
* XT_EABL = "Standard Table for EABL Structure

EXCEPTIONS
NOT_FOUND = 1 LOCKED = 2 INPUT_ERROR = 3
.



IMPORTING Parameters details for ISU_METERREAD_OPEN_REMOTE

X_PREMISE - Premise

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

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

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

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

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

X_MRDATE - Meter Reading Date Relevant to Billing

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

X_ABLESGR - Meter Reading Reason

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

X_INT_UI - EDM: internal point of delivery

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

XT_VERTRAG - Table Type for Data Element VERTRAG

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

X_EQUNR - Equipment Number

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

EXPORTING Parameters details for ISU_METERREAD_OPEN_REMOTE

X_HEADER_ID - Header Data of Meter Reading Object

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

YT_MSG - Return Table

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

TABLES Parameters details for ISU_METERREAD_OPEN_REMOTE

XT_INST_INTERV - Table of Meter Reading Results for Bill Correction

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

XT_EABL - Standard Table for EABL Structure

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

LOCKED -

Data type:
Optional: No
Call by Reference: Yes

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_METERREAD_OPEN_REMOTE 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_not_found  TYPE STRING, "   
lv_x_premise  TYPE EANL-VSTELLE, "   
lv_x_header_id  TYPE ISU_MR_HEADER, "   
lt_xt_inst_interv  TYPE STANDARD TABLE OF T_INST_INTERVMR, "   
lv_locked  TYPE T_INST_INTERVMR, "   
lv_yt_msg  TYPE BAPIRET2_T, "   
lt_xt_eabl  TYPE STANDARD TABLE OF EABL_TAB, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_x_action  TYPE CHAR2, "   
lv_input_error  TYPE CHAR2, "   
lv_x_mrdate  TYPE ADAT, "   
lv_x_ablesgr  TYPE ABLESGR, "   
lv_x_int_ui  TYPE INT_UI, "   
lv_xt_vertrag  TYPE ISU_VERTRAG_TAB, "   
lv_x_equnr  TYPE EABL-EQUNR. "   

  CALL FUNCTION 'ISU_METERREAD_OPEN_REMOTE'  "
    EXPORTING
         X_PREMISE = lv_x_premise
         X_WMODE = lv_x_wmode
         X_ACTION = lv_x_action
         X_MRDATE = lv_x_mrdate
         X_ABLESGR = lv_x_ablesgr
         X_INT_UI = lv_x_int_ui
         XT_VERTRAG = lv_xt_vertrag
         X_EQUNR = lv_x_equnr
    IMPORTING
         X_HEADER_ID = lv_x_header_id
         YT_MSG = lv_yt_msg
    TABLES
         XT_INST_INTERV = lt_xt_inst_interv
         XT_EABL = lt_xt_eabl
    EXCEPTIONS
        NOT_FOUND = 1
        LOCKED = 2
        INPUT_ERROR = 3
. " ISU_METERREAD_OPEN_REMOTE




ABAP code using 7.40 inline data declarations to call FM ISU_METERREAD_OPEN_REMOTE

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 VSTELLE FROM EANL INTO @DATA(ld_x_premise).
 
 
 
 
 
 
"SELECT single WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
 
 
 
 
 
 
"SELECT single EQUNR FROM EABL INTO @DATA(ld_x_equnr).
 


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!