SAP ISU_MR_ORDER_PREPARE Function Module for Prepar Print and Download Data of Meter Reading Documents
ISU_MR_ORDER_PREPARE is a standard isu mr order prepare SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Prepar Print and Download Data of Meter Reading Documents 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 mr order prepare FM, simply by entering the name ISU_MR_ORDER_PREPARE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EL33
Program Name: SAPLEL33
Main Program: SAPLEL33
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_MR_ORDER_PREPARE 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_MR_ORDER_PREPARE'"Prepar Print and Download Data of Meter Reading Documents.
EXPORTING
* X_ABLEINH = "
* X_FORMCLASS = "
* X_FORMKEY = "
* X_ACTUAL = "
* X_READ_ORDER = 'X' "
* X_READ_RESULT = 'X' "
* X_SORT = 'X' "
* X_FILL = 'X' "
* X_RANGE = "
* X_PARTNER = "
* X_ANLAGE = "
* X_GERAET = "
* X_EQUNR = "
X_ADATSOLL = "
X_ABLESGR = "
X_F_ABLESART = "
* X_KORREKTUR = "
IMPORTING
OBJ = "
Y_TE422 = "
Y_END = "
TABLES
* TX_ANLAGE = "
* TX_EQUNR = "
* TXY_EABL = "
EXCEPTIONS
INPUT_ERROR = 1 GENERAL_FAULT = 2 NOT_FOUND = 3
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_SAPLEL33_001 IS-U: Sorting of MR orders for printing and downloading
IMPORTING Parameters details for ISU_MR_ORDER_PREPARE
X_ABLEINH -
Data type: EABLD-ABLEINHOptional: Yes
Call by Reference: No ( called with pass by value option)
X_FORMCLASS -
Data type: EFRM-FORMCLASSOptional: Yes
Call by Reference: No ( called with pass by value option)
X_FORMKEY -
Data type: EFRM-FORMKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ACTUAL -
Data type: REGEN-ACTUALOptional: Yes
Call by Reference: No ( called with pass by value option)
X_READ_ORDER -
Data type: REGEN-KENNZXDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_READ_RESULT -
Data type: REGEN-KENNZXDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SORT -
Data type: REGEN-KENNZXDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_FILL -
Data type: REGEN-KENNZXDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_RANGE -
Data type: EFG_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
X_PARTNER -
Data type: EABLD-PARTNEROptional: Yes
Call by Reference: No ( called with pass by value option)
X_ANLAGE -
Data type: EABLD-ANLAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_GERAET -
Data type: EABLD-GERAETOptional: Yes
Call by Reference: No ( called with pass by value option)
X_EQUNR -
Data type: EABLD-EQUNROptional: Yes
Call by Reference: No ( called with pass by value option)
X_ADATSOLL -
Data type: EABLD-ADATSOLLOptional: No
Call by Reference: No ( called with pass by value option)
X_ABLESGR -
Data type: EABLD-ABLESGROptional: No
Call by Reference: No ( called with pass by value option)
X_F_ABLESART -
Data type: EABLH-F_ABLESARTOptional: No
Call by Reference: No ( called with pass by value option)
X_KORREKTUR -
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_MR_ORDER_PREPARE
OBJ -
Data type: ISU17_MR_ORDER_TABOptional: No
Call by Reference: No ( called with pass by value option)
Y_TE422 -
Data type: TE422Optional: No
Call by Reference: No ( called with pass by value option)
Y_END -
Data type: REGEN-KENNZXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_MR_ORDER_PREPARE
TX_ANLAGE -
Data type: EFG_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TX_EQUNR -
Data type: EFG_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
TXY_EABL -
Data type: EABLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GENERAL_FAULT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_MR_ORDER_PREPARE 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_obj | TYPE ISU17_MR_ORDER_TAB, " | |||
| lt_tx_anlage | TYPE STANDARD TABLE OF EFG_RANGES, " | |||
| lv_x_ableinh | TYPE EABLD-ABLEINH, " | |||
| lv_input_error | TYPE EABLD, " | |||
| lv_x_formclass | TYPE EFRM-FORMCLASS, " | |||
| lv_x_formkey | TYPE EFRM-FORMKEY, " | |||
| lv_x_actual | TYPE REGEN-ACTUAL, " | |||
| lv_x_read_order | TYPE REGEN-KENNZX, " 'X' | |||
| lv_x_read_result | TYPE REGEN-KENNZX, " 'X' | |||
| lv_x_sort | TYPE REGEN-KENNZX, " 'X' | |||
| lv_x_fill | TYPE REGEN-KENNZX, " 'X' | |||
| lv_x_range | TYPE EFG_RANGES, " | |||
| lv_y_te422 | TYPE TE422, " | |||
| lt_tx_equnr | TYPE STANDARD TABLE OF EFG_RANGES, " | |||
| lv_x_partner | TYPE EABLD-PARTNER, " | |||
| lv_general_fault | TYPE EABLD, " | |||
| lv_y_end | TYPE REGEN-KENNZX, " | |||
| lt_txy_eabl | TYPE STANDARD TABLE OF EABL, " | |||
| lv_x_anlage | TYPE EABLD-ANLAGE, " | |||
| lv_not_found | TYPE EABLD, " | |||
| lv_x_geraet | TYPE EABLD-GERAET, " | |||
| lv_x_equnr | TYPE EABLD-EQUNR, " | |||
| lv_x_adatsoll | TYPE EABLD-ADATSOLL, " | |||
| lv_x_ablesgr | TYPE EABLD-ABLESGR, " | |||
| lv_x_f_ablesart | TYPE EABLH-F_ABLESART, " | |||
| lv_x_korrektur | TYPE REGEN-KENNZX. " |
|   CALL FUNCTION 'ISU_MR_ORDER_PREPARE' "Prepar Print and Download Data of Meter Reading Documents |
| EXPORTING | ||
| X_ABLEINH | = lv_x_ableinh | |
| X_FORMCLASS | = lv_x_formclass | |
| X_FORMKEY | = lv_x_formkey | |
| X_ACTUAL | = lv_x_actual | |
| X_READ_ORDER | = lv_x_read_order | |
| X_READ_RESULT | = lv_x_read_result | |
| X_SORT | = lv_x_sort | |
| X_FILL | = lv_x_fill | |
| X_RANGE | = lv_x_range | |
| X_PARTNER | = lv_x_partner | |
| X_ANLAGE | = lv_x_anlage | |
| X_GERAET | = lv_x_geraet | |
| X_EQUNR | = lv_x_equnr | |
| X_ADATSOLL | = lv_x_adatsoll | |
| X_ABLESGR | = lv_x_ablesgr | |
| X_F_ABLESART | = lv_x_f_ablesart | |
| X_KORREKTUR | = lv_x_korrektur | |
| IMPORTING | ||
| OBJ | = lv_obj | |
| Y_TE422 | = lv_y_te422 | |
| Y_END | = lv_y_end | |
| TABLES | ||
| TX_ANLAGE | = lt_tx_anlage | |
| TX_EQUNR | = lt_tx_equnr | |
| TXY_EABL | = lt_txy_eabl | |
| EXCEPTIONS | ||
| INPUT_ERROR = 1 | ||
| GENERAL_FAULT = 2 | ||
| NOT_FOUND = 3 | ||
| . " ISU_MR_ORDER_PREPARE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_MR_ORDER_PREPARE
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 ABLEINH FROM EABLD INTO @DATA(ld_x_ableinh). | ||||
| "SELECT single FORMCLASS FROM EFRM INTO @DATA(ld_x_formclass). | ||||
| "SELECT single FORMKEY FROM EFRM INTO @DATA(ld_x_formkey). | ||||
| "SELECT single ACTUAL FROM REGEN INTO @DATA(ld_x_actual). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_read_order). | ||||
| DATA(ld_x_read_order) | = 'X'. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_read_result). | ||||
| DATA(ld_x_read_result) | = 'X'. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_sort). | ||||
| DATA(ld_x_sort) | = 'X'. | |||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_fill). | ||||
| DATA(ld_x_fill) | = 'X'. | |||
| "SELECT single PARTNER FROM EABLD INTO @DATA(ld_x_partner). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_y_end). | ||||
| "SELECT single ANLAGE FROM EABLD INTO @DATA(ld_x_anlage). | ||||
| "SELECT single GERAET FROM EABLD INTO @DATA(ld_x_geraet). | ||||
| "SELECT single EQUNR FROM EABLD INTO @DATA(ld_x_equnr). | ||||
| "SELECT single ADATSOLL FROM EABLD INTO @DATA(ld_x_adatsoll). | ||||
| "SELECT single ABLESGR FROM EABLD INTO @DATA(ld_x_ablesgr). | ||||
| "SELECT single F_ABLESART FROM EABLH INTO @DATA(ld_x_f_ablesart). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_korrektur). | ||||
Search for further information about these or an SAP related objects