SAP ECRM_METERREADING_RESULTS Function Module for
ECRM_METERREADING_RESULTS is a standard ecrm meterreading results 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 ecrm meterreading results FM, simply by entering the name ECRM_METERREADING_RESULTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: ECRM_METERREAD
Program Name: SAPLECRM_METERREAD
Main Program: SAPLECRM_METERREAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ECRM_METERREADING_RESULTS 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 'ECRM_METERREADING_RESULTS'".
EXPORTING
* X_MRDATE = "
X_MRREASON = "
* X_INT_UI = "
* TX_INT_UI = "
IMPORTING
X_SUCCESS = "
EXCEPTIONS
SYSTEM_FAILED = 1 NO_POD = 2 NO_DEVICE = 3
IMPORTING Parameters details for ECRM_METERREADING_RESULTS
X_MRDATE -
Data type: DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
X_MRREASON -
Data type: ABLESGROptional: No
Call by Reference: No ( called with pass by value option)
X_INT_UI -
Data type: INT_UIOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_INT_UI -
Data type: INT_UI_TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ECRM_METERREADING_RESULTS
X_SUCCESS -
Data type: KENNZXOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
SYSTEM_FAILED -
Data type:Optional: No
Call by Reference: Yes
NO_POD -
Data type:Optional: No
Call by Reference: Yes
NO_DEVICE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ECRM_METERREADING_RESULTS 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_mrdate | TYPE DATUM, " | |||
| lv_x_success | TYPE KENNZX, " | |||
| lv_system_failed | TYPE KENNZX, " | |||
| lv_no_pod | TYPE KENNZX, " | |||
| lv_x_mrreason | TYPE ABLESGR, " | |||
| lv_x_int_ui | TYPE INT_UI, " | |||
| lv_no_device | TYPE INT_UI, " | |||
| lv_tx_int_ui | TYPE INT_UI_TABLE. " |
|   CALL FUNCTION 'ECRM_METERREADING_RESULTS' " |
| EXPORTING | ||
| X_MRDATE | = lv_x_mrdate | |
| X_MRREASON | = lv_x_mrreason | |
| X_INT_UI | = lv_x_int_ui | |
| TX_INT_UI | = lv_tx_int_ui | |
| IMPORTING | ||
| X_SUCCESS | = lv_x_success | |
| EXCEPTIONS | ||
| SYSTEM_FAILED = 1 | ||
| NO_POD = 2 | ||
| NO_DEVICE = 3 | ||
| . " ECRM_METERREADING_RESULTS | ||
ABAP code using 7.40 inline data declarations to call FM ECRM_METERREADING_RESULTS
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.Search for further information about these or an SAP related objects