SAP ISU_O_METERREAD_OPEN_SUBOBJ Function Module for









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

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



Function ISU_O_METERREAD_OPEN_SUBOBJ 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_O_METERREAD_OPEN_SUBOBJ'"
EXPORTING
* X_ACTION = "
* X_ADAT_SUG = "
* X_ABLESGR = "Meter Reading Reason
* X_ABLESER = "Meter reader
* X_ISTABLART = "Actual MR type
* X_NO_PROPOSAL_MOVEIN = "
* X_MRRESULT_PROPOSED = "
* X_EL20_LINES = "
* X_NO_BILL_PER_ORDER = ' ' "
* X_INST_NEW = "
* X_INST_OLD = "
* X_AUTO = "
* X_ADATSOLL = "Scheduled Meter Reading Date
* X_ADAT = "Meter Reading Date
* X_ATIM = "Meter Reading Time
* X_ADATTATS = "
* X_ATIMTATS = "
* X_ACTIVDATE = "[JBP] Real Meter Reading Date
* X_ABLEINH = "Meter Reading Unit

IMPORTING
Y_AUTO = "Automation data

CHANGING
XY_OBJ = "Meter Reading Object

EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 INTERNAL_ERROR = 3 INPUT_ERROR = 4 EXISTING = 5 NUMBER_ERROR = 6 GENERAL_FAULT = 7 SYSTEM_ERROR = 8 MANUAL_ABORT = 9
.




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_SAPLEL01_001 IS-U: User-defined order code control for SM orders
EXIT_SAPLEL01_004 IS-U: Modify Meter Reading During Upload of MR Data (Before Validation)
EXIT_SAPLEL01_005 IS-U: Define Follow-Up Action for MR Result Entered During Upload
EXIT_SAPLEL01_006 IS-U: User Exit PBO: PBO for Customer Subscreen
EXIT_SAPLEL01_007 IS-U: User Exit PAI_BEFORE: Prepares the CALL SUBSCREEN PAI
EXIT_SAPLEL01_008 IS-U: User Exit PAI_AFTER: Closes the CALL SUBSCREEN PAI
EXIT_SAPLEL01_009 IS-U: Change Gas Date in Meter Reading Processing
EXIT_SAPLEL01_010 IS-U: Fills Customer Include During Order Creation
EXIT_SAPLEL01_011 Transfers Data to Customer Include when Uploading Meter Readings
EXIT_SAPLEL01_015 ISU: Check - Automatic Suppression of the Billing
EXIT_SAPLEL01_020 IS-U: User-Defined Control of Automatic Meter Reading Data Monitoring

IMPORTING Parameters details for ISU_O_METERREAD_OPEN_SUBOBJ

X_ACTION -

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

X_ADAT_SUG -

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

X_ABLESGR - Meter Reading Reason

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

X_ABLESER - Meter reader

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

X_ISTABLART - Actual MR type

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

X_NO_PROPOSAL_MOVEIN -

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

X_MRRESULT_PROPOSED -

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

X_EL20_LINES -

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

X_NO_BILL_PER_ORDER -

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

X_INST_NEW -

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

X_INST_OLD -

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

X_AUTO -

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

X_ADATSOLL - Scheduled Meter Reading Date

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

X_ADAT - Meter Reading Date

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

X_ATIM - Meter Reading Time

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

X_ADATTATS -

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

X_ATIMTATS -

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

X_ACTIVDATE - [JBP] Real Meter Reading Date

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

X_ABLEINH - Meter Reading Unit

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

EXPORTING Parameters details for ISU_O_METERREAD_OPEN_SUBOBJ

Y_AUTO - Automation data

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

CHANGING Parameters details for ISU_O_METERREAD_OPEN_SUBOBJ

XY_OBJ - Meter Reading Object

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

EXCEPTIONS details

NOT_FOUND -

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

FOREIGN_LOCK -

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

INTERNAL_ERROR - Internal Error

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

INPUT_ERROR -

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

EXISTING -

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

NUMBER_ERROR - Error in number assignment

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

GENERAL_FAULT - General Error

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

SYSTEM_ERROR - System Error

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

MANUAL_ABORT - Manual Termination

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

Copy and paste ABAP code example for ISU_O_METERREAD_OPEN_SUBOBJ 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_xy_obj  TYPE ISU17_METERREAD, "   
lv_y_auto  TYPE ISU17_METERREAD_AUTO, "   
lv_x_action  TYPE ISU17_OBJ_CONTR-ACTION, "   
lv_not_found  TYPE ISU17_OBJ_CONTR, "   
lv_x_adat_sug  TYPE EABL-ADAT, "   
lv_x_ablesgr  TYPE EABLG-ABLESGR, "   
lv_x_ableser  TYPE EABL-ABLESER, "   
lv_x_istablart  TYPE EABL-ISTABLART, "   
lv_x_no_proposal_movein  TYPE REGEN-KENNZX, "   
lv_x_mrresult_proposed  TYPE REABLD-ZWSTAND, "   
lv_x_el20_lines  TYPE REGEN-MAXCOUNT, "   
lv_x_no_bill_per_order  TYPE REGEN-KENNZX, "   SPACE
lv_x_inst_new  TYPE ISU07_INSTALL_STRUC, "   
lv_x_inst_old  TYPE ISU07_INSTALL_STRUC, "   
lv_x_auto  TYPE ISU17_METERREAD_AUTO, "   
lv_foreign_lock  TYPE ISU17_METERREAD_AUTO, "   
lv_x_adatsoll  TYPE EABL-ADATSOLL, "   
lv_internal_error  TYPE EABL, "   
lv_x_adat  TYPE EABL-ADAT, "   
lv_input_error  TYPE EABL, "   
lv_x_atim  TYPE EABL-ATIM, "   
lv_existing  TYPE EABL, "   
lv_x_adattats  TYPE EABL-ADATTATS, "   
lv_number_error  TYPE EABL, "   
lv_x_atimtats  TYPE EABL-ATIMTATS, "   
lv_general_fault  TYPE EABL, "   
lv_x_activdate  TYPE EABL-ADATREAL, "   
lv_system_error  TYPE EABL, "   
lv_x_ableinh  TYPE REL28D-ABLEINH, "   
lv_manual_abort  TYPE REL28D. "   

  CALL FUNCTION 'ISU_O_METERREAD_OPEN_SUBOBJ'  "
    EXPORTING
         X_ACTION = lv_x_action
         X_ADAT_SUG = lv_x_adat_sug
         X_ABLESGR = lv_x_ablesgr
         X_ABLESER = lv_x_ableser
         X_ISTABLART = lv_x_istablart
         X_NO_PROPOSAL_MOVEIN = lv_x_no_proposal_movein
         X_MRRESULT_PROPOSED = lv_x_mrresult_proposed
         X_EL20_LINES = lv_x_el20_lines
         X_NO_BILL_PER_ORDER = lv_x_no_bill_per_order
         X_INST_NEW = lv_x_inst_new
         X_INST_OLD = lv_x_inst_old
         X_AUTO = lv_x_auto
         X_ADATSOLL = lv_x_adatsoll
         X_ADAT = lv_x_adat
         X_ATIM = lv_x_atim
         X_ADATTATS = lv_x_adattats
         X_ATIMTATS = lv_x_atimtats
         X_ACTIVDATE = lv_x_activdate
         X_ABLEINH = lv_x_ableinh
    IMPORTING
         Y_AUTO = lv_y_auto
    CHANGING
         XY_OBJ = lv_xy_obj
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        INTERNAL_ERROR = 3
        INPUT_ERROR = 4
        EXISTING = 5
        NUMBER_ERROR = 6
        GENERAL_FAULT = 7
        SYSTEM_ERROR = 8
        MANUAL_ABORT = 9
. " ISU_O_METERREAD_OPEN_SUBOBJ




ABAP code using 7.40 inline data declarations to call FM ISU_O_METERREAD_OPEN_SUBOBJ

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 ACTION FROM ISU17_OBJ_CONTR INTO @DATA(ld_x_action).
 
 
"SELECT single ADAT FROM EABL INTO @DATA(ld_x_adat_sug).
 
"SELECT single ABLESGR FROM EABLG INTO @DATA(ld_x_ablesgr).
 
"SELECT single ABLESER FROM EABL INTO @DATA(ld_x_ableser).
 
"SELECT single ISTABLART FROM EABL INTO @DATA(ld_x_istablart).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_proposal_movein).
 
"SELECT single ZWSTAND FROM REABLD INTO @DATA(ld_x_mrresult_proposed).
 
"SELECT single MAXCOUNT FROM REGEN INTO @DATA(ld_x_el20_lines).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_bill_per_order).
DATA(ld_x_no_bill_per_order) = ' '.
 
 
 
 
 
"SELECT single ADATSOLL FROM EABL INTO @DATA(ld_x_adatsoll).
 
 
"SELECT single ADAT FROM EABL INTO @DATA(ld_x_adat).
 
 
"SELECT single ATIM FROM EABL INTO @DATA(ld_x_atim).
 
 
"SELECT single ADATTATS FROM EABL INTO @DATA(ld_x_adattats).
 
 
"SELECT single ATIMTATS FROM EABL INTO @DATA(ld_x_atimtats).
 
 
"SELECT single ADATREAL FROM EABL INTO @DATA(ld_x_activdate).
 
 
"SELECT single ABLEINH FROM REL28D INTO @DATA(ld_x_ableinh).
 
 


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!