SAP ITOB_CONSUMPTION_MPPOS_GET Function Module for NOTRANSL: Lesen verbrauchsrelevante Zähler









ITOB_CONSUMPTION_MPPOS_GET is a standard itob consumption mppos get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Lesen verbrauchsrelevante Zähler 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 itob consumption mppos get FM, simply by entering the name ITOB_CONSUMPTION_MPPOS_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function ITOB_CONSUMPTION_MPPOS_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 'ITOB_CONSUMPTION_MPPOS_GET'"NOTRANSL: Lesen verbrauchsrelevante Zähler
EXPORTING
I_EQUNR = "Equipment Number

IMPORTING
E_ITOB = "Generated Table for View &
E_FLEET = "Fleet Attributes
E_PRI_CONSP_PT = "Measuring Point
E_PRI_COUNT_PT = "Measuring Point

TABLES
* T_MPOINTS = "Measuring Point (Structure)
* T_CONSP = "Consumption Recording: Fuel
* T_COUNT = "Consumption Recording: Counters (Distance/Time)

EXCEPTIONS
NOT_FOUND = 1 NO_FLEET_OBJECT = 2 NO_MEASUREM_POINTS = 3
.



IMPORTING Parameters details for ITOB_CONSUMPTION_MPPOS_GET

I_EQUNR - Equipment Number

Data type: ITOB-EQUNR
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for ITOB_CONSUMPTION_MPPOS_GET

E_ITOB - Generated Table for View &

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

E_FLEET - Fleet Attributes

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

E_PRI_CONSP_PT - Measuring Point

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

E_PRI_COUNT_PT - Measuring Point

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

TABLES Parameters details for ITOB_CONSUMPTION_MPPOS_GET

T_MPOINTS - Measuring Point (Structure)

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

T_CONSP - Consumption Recording: Fuel

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

T_COUNT - Consumption Recording: Counters (Distance/Time)

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_FLEET_OBJECT -

Data type:
Optional: No
Call by Reference: Yes

NO_MEASUREM_POINTS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ITOB_CONSUMPTION_MPPOS_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:
lv_e_itob  TYPE ITOB, "   
lv_i_equnr  TYPE ITOB-EQUNR, "   
lv_not_found  TYPE ITOB, "   
lt_t_mpoints  TYPE STANDARD TABLE OF IMPT, "   
lv_e_fleet  TYPE FLEET, "   
lt_t_consp  TYPE STANDARD TABLE OF RIFLTCONS, "   
lv_no_fleet_object  TYPE RIFLTCONS, "   
lt_t_count  TYPE STANDARD TABLE OF RIFLTCOUN, "   
lv_e_pri_consp_pt  TYPE IMRC_POINT, "   
lv_no_measurem_points  TYPE IMRC_POINT, "   
lv_e_pri_count_pt  TYPE IMRC_POINT. "   

  CALL FUNCTION 'ITOB_CONSUMPTION_MPPOS_GET'  "NOTRANSL: Lesen verbrauchsrelevante Zähler
    EXPORTING
         I_EQUNR = lv_i_equnr
    IMPORTING
         E_ITOB = lv_e_itob
         E_FLEET = lv_e_fleet
         E_PRI_CONSP_PT = lv_e_pri_consp_pt
         E_PRI_COUNT_PT = lv_e_pri_count_pt
    TABLES
         T_MPOINTS = lt_t_mpoints
         T_CONSP = lt_t_consp
         T_COUNT = lt_t_count
    EXCEPTIONS
        NOT_FOUND = 1
        NO_FLEET_OBJECT = 2
        NO_MEASUREM_POINTS = 3
. " ITOB_CONSUMPTION_MPPOS_GET




ABAP code using 7.40 inline data declarations to call FM ITOB_CONSUMPTION_MPPOS_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 EQUNR FROM ITOB INTO @DATA(ld_i_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!