SAP ISU_METER_READING_ROUNDING Function Module for









ISU_METER_READING_ROUNDING is a standard isu meter reading rounding 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 rounding FM, simply by entering the name ISU_METER_READING_ROUNDING into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_METER_READING_ROUNDING 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_ROUNDING'"
EXPORTING
X_TARIFART = "
X_TARIFTYP = "
X_SELDATE = "
* X_LOGIKZW = "
* X_ZWFAKT = "
* X_ABRFAKT = "

IMPORTING
Y_MASSBILL = "

CHANGING
XY_STANZNAC = "

EXCEPTIONS
GENERAL_FAULT = 1
.



IMPORTING Parameters details for ISU_METER_READING_ROUNDING

X_TARIFART -

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

X_TARIFTYP -

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

X_SELDATE -

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

X_LOGIKZW -

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

X_ZWFAKT -

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

X_ABRFAKT -

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

EXPORTING Parameters details for ISU_METER_READING_ROUNDING

Y_MASSBILL -

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

CHANGING Parameters details for ISU_METER_READING_ROUNDING

XY_STANZNAC -

Data type: EABL-STANZNAC
Optional: No
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_ROUNDING 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_x_tarifart  TYPE EASTS-TARIFART, "   
lv_y_massbill  TYPE TE221-MASS, "   
lv_xy_stanznac  TYPE EABL-STANZNAC, "   
lv_general_fault  TYPE EABL, "   
lv_x_tariftyp  TYPE EANLH-TARIFTYP, "   
lv_x_seldate  TYPE EABL-ADAT, "   
lv_x_logikzw  TYPE ETDZ-LOGIKZW, "   
lv_x_zwfakt  TYPE ETDZ-ZWFAKT, "   
lv_x_abrfakt  TYPE EZUZ-ABRFAKT. "   

  CALL FUNCTION 'ISU_METER_READING_ROUNDING'  "
    EXPORTING
         X_TARIFART = lv_x_tarifart
         X_TARIFTYP = lv_x_tariftyp
         X_SELDATE = lv_x_seldate
         X_LOGIKZW = lv_x_logikzw
         X_ZWFAKT = lv_x_zwfakt
         X_ABRFAKT = lv_x_abrfakt
    IMPORTING
         Y_MASSBILL = lv_y_massbill
    CHANGING
         XY_STANZNAC = lv_xy_stanznac
    EXCEPTIONS
        GENERAL_FAULT = 1
. " ISU_METER_READING_ROUNDING




ABAP code using 7.40 inline data declarations to call FM ISU_METER_READING_ROUNDING

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 TARIFART FROM EASTS INTO @DATA(ld_x_tarifart).
 
"SELECT single MASS FROM TE221 INTO @DATA(ld_y_massbill).
 
"SELECT single STANZNAC FROM EABL INTO @DATA(ld_xy_stanznac).
 
 
"SELECT single TARIFTYP FROM EANLH INTO @DATA(ld_x_tariftyp).
 
"SELECT single ADAT FROM EABL INTO @DATA(ld_x_seldate).
 
"SELECT single LOGIKZW FROM ETDZ INTO @DATA(ld_x_logikzw).
 
"SELECT single ZWFAKT FROM ETDZ INTO @DATA(ld_x_zwfakt).
 
"SELECT single ABRFAKT FROM EZUZ INTO @DATA(ld_x_abrfakt).
 


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!