SAP ISU_MREADING_INTERPOL_CHECK Function Module for INTERNAL: Check Whether Interpolation Can Take Place









ISU_MREADING_INTERPOL_CHECK is a standard isu mreading interpol check 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: Check Whether Interpolation Can Take Place 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 mreading interpol check FM, simply by entering the name ISU_MREADING_INTERPOL_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_MREADING_INTERPOL_CHECK 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_MREADING_INTERPOL_CHECK'"INTERNAL: Check Whether Interpolation Can Take Place
EXPORTING
X_EQUNR = "
* X_TARIFART = "
* X_TARIFTYP = "
X_ADATSOLL = "Scheduled Meter Reading Date
* X_ZUORDDAT = "Meter reading allocation date
* X_ABLESARTST = "
X_ABLESGR = "Meter Reading Reason
* X_EBENE = "
* X_NO_DIALOG = "
* X_GERNR = "Device Number
X_ZWNUMMER = "Register Number
X_ZWTYP = "Register Category
X_ABLEINH = "Meter Reading Unit
X_ANLAGE = "
X_BUKRS = "Company Code
X_SPARTE = "Division
* X_SPARTYP = "

CHANGING
XY_OBJ = "

TABLES
* TX_EABL = "
* TX_EABLG = "
* TY_EABLQDCONV = "

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




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_SAPLELKA_001 IS-U: Customer-Specific Suppression of Automatic Interpolation

IMPORTING Parameters details for ISU_MREADING_INTERPOL_CHECK

X_EQUNR -

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

X_TARIFART -

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

X_TARIFTYP -

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

X_ADATSOLL - Scheduled Meter Reading Date

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

X_ZUORDDAT - Meter reading allocation date

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

X_ABLESARTST -

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

X_ABLESGR - Meter Reading Reason

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

X_EBENE -

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

X_NO_DIALOG -

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

X_GERNR - Device Number

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

X_ZWNUMMER - Register Number

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

X_ZWTYP - Register Category

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

X_ABLEINH - Meter Reading Unit

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

X_ANLAGE -

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

X_BUKRS - Company Code

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

X_SPARTE - Division

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

X_SPARTYP -

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

CHANGING Parameters details for ISU_MREADING_INTERPOL_CHECK

XY_OBJ -

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

TABLES Parameters details for ISU_MREADING_INTERPOL_CHECK

TX_EABL -

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

TX_EABLG -

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

TY_EABLQDCONV -

Data type: EABLQDCONV
Optional: Yes
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 - Error During Entry Check

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

EXISTING - Object Already Exists

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)

SYSTEM_ERROR - System error

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)

Copy and paste ABAP code example for ISU_MREADING_INTERPOL_CHECK 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, "   
lt_tx_eabl  TYPE STANDARD TABLE OF EABL, "   
lv_x_equnr  TYPE EABLD-EQUNR, "   
lv_not_found  TYPE EABLD, "   
lv_x_tarifart  TYPE TARIFART, "   
lv_x_tariftyp  TYPE TARIFTYP, "   
lv_x_adatsoll  TYPE EABLD-ADATSOLL, "   
lv_x_zuorddat  TYPE EABLD-ZUORDDAT, "   
lv_x_ablesartst  TYPE EABLD-ABLESARTST, "   
lv_x_ablesgr  TYPE EABLG-ABLESGR, "   
lv_x_ebene  TYPE REL01-VB_EBENE, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG, "   
lv_x_gernr  TYPE EABLD-GERNR, "   
lt_tx_eablg  TYPE STANDARD TABLE OF EABLG, "   
lv_foreign_lock  TYPE EABLG, "   
lv_x_zwnummer  TYPE EABLD-ZWNUMMER, "   
lt_ty_eablqdconv  TYPE STANDARD TABLE OF EABLQDCONV, "   
lv_internal_error  TYPE EABLQDCONV, "   
lv_x_zwtyp  TYPE ETDZ-ZWTYP, "   
lv_input_error  TYPE ETDZ, "   
lv_existing  TYPE ETDZ, "   
lv_x_ableinh  TYPE EABLD-ABLEINH, "   
lv_x_anlage  TYPE EABLD-ANLAGE, "   
lv_number_error  TYPE EABLD, "   
lv_x_bukrs  TYPE EABLD-BUKRS, "   
lv_system_error  TYPE EABLD, "   
lv_x_sparte  TYPE EABLD-SPARTE, "   
lv_general_fault  TYPE EABLD, "   
lv_x_spartyp  TYPE SPARTYP. "   

  CALL FUNCTION 'ISU_MREADING_INTERPOL_CHECK'  "INTERNAL: Check Whether Interpolation Can Take Place
    EXPORTING
         X_EQUNR = lv_x_equnr
         X_TARIFART = lv_x_tarifart
         X_TARIFTYP = lv_x_tariftyp
         X_ADATSOLL = lv_x_adatsoll
         X_ZUORDDAT = lv_x_zuorddat
         X_ABLESARTST = lv_x_ablesartst
         X_ABLESGR = lv_x_ablesgr
         X_EBENE = lv_x_ebene
         X_NO_DIALOG = lv_x_no_dialog
         X_GERNR = lv_x_gernr
         X_ZWNUMMER = lv_x_zwnummer
         X_ZWTYP = lv_x_zwtyp
         X_ABLEINH = lv_x_ableinh
         X_ANLAGE = lv_x_anlage
         X_BUKRS = lv_x_bukrs
         X_SPARTE = lv_x_sparte
         X_SPARTYP = lv_x_spartyp
    CHANGING
         XY_OBJ = lv_xy_obj
    TABLES
         TX_EABL = lt_tx_eabl
         TX_EABLG = lt_tx_eablg
         TY_EABLQDCONV = lt_ty_eablqdconv
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        INTERNAL_ERROR = 3
        INPUT_ERROR = 4
        EXISTING = 5
        NUMBER_ERROR = 6
        SYSTEM_ERROR = 7
        GENERAL_FAULT = 8
. " ISU_MREADING_INTERPOL_CHECK




ABAP code using 7.40 inline data declarations to call FM ISU_MREADING_INTERPOL_CHECK

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 EQUNR FROM EABLD INTO @DATA(ld_x_equnr).
 
 
 
 
"SELECT single ADATSOLL FROM EABLD INTO @DATA(ld_x_adatsoll).
 
"SELECT single ZUORDDAT FROM EABLD INTO @DATA(ld_x_zuorddat).
 
"SELECT single ABLESARTST FROM EABLD INTO @DATA(ld_x_ablesartst).
 
"SELECT single ABLESGR FROM EABLG INTO @DATA(ld_x_ablesgr).
 
"SELECT single VB_EBENE FROM REL01 INTO @DATA(ld_x_ebene).
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
 
"SELECT single GERNR FROM EABLD INTO @DATA(ld_x_gernr).
 
 
 
"SELECT single ZWNUMMER FROM EABLD INTO @DATA(ld_x_zwnummer).
 
 
 
"SELECT single ZWTYP FROM ETDZ INTO @DATA(ld_x_zwtyp).
 
 
 
"SELECT single ABLEINH FROM EABLD INTO @DATA(ld_x_ableinh).
 
"SELECT single ANLAGE FROM EABLD INTO @DATA(ld_x_anlage).
 
 
"SELECT single BUKRS FROM EABLD INTO @DATA(ld_x_bukrs).
 
 
"SELECT single SPARTE FROM EABLD INTO @DATA(ld_x_sparte).
 
 
 


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!