SAP RM_OPERATION_READ_MULTI Function Module for NOTRANSL: Vorgänge zu einem Auftrag lesen und Daten extrahieren
RM_OPERATION_READ_MULTI is a standard rm operation read multi 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: Vorgänge zu einem Auftrag lesen und Daten extrahieren 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 rm operation read multi FM, simply by entering the name RM_OPERATION_READ_MULTI into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMRT
Program Name: SAPLRMRT
Main Program: SAPLRMRT
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RM_OPERATION_READ_MULTI 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 'RM_OPERATION_READ_MULTI'"NOTRANSL: Vorgänge zu einem Auftrag lesen und Daten extrahieren.
EXPORTING
AUFNR_IMP = "Order Number
* PERIOD_IMP = "Posting period
* GJAHR_IMP = "Posting Date YYYY
* MATNR_IMP = "Material Number for Order
* APROZ_IMP = "Scrap percentage
IMPORTING
PLNTY_EXP = "Task List Type
PLNNR_EXP = "Key for Task List Group
PLNAL_EXP = "Group Counter
PLNME_EXP = "Task list unit of measure
TABLES
VORG_TAB = "Measuring Point Structure: Quantities f. Crnt and Prev. Per.
EXCEPTIONS
PARALLEL_SEQ = 1 MISSING_PARAMETERS = 2 NO_SEQUENCE = 3 ORDER_NOT_FOUND = 4 FALSE_FYEAR = 5 NO_ROUTING = 6 PROG_ERR = 7 NO_CONVERSION = 8
IMPORTING Parameters details for RM_OPERATION_READ_MULTI
AUFNR_IMP - Order Number
Data type: CAUFVD-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
PERIOD_IMP - Posting period
Data type: T009B-POPEROptional: Yes
Call by Reference: No ( called with pass by value option)
GJAHR_IMP - Posting Date YYYY
Data type: T009B-BDATJOptional: Yes
Call by Reference: No ( called with pass by value option)
MATNR_IMP - Material Number for Order
Data type: AFPO-MATNROptional: Yes
Call by Reference: No ( called with pass by value option)
APROZ_IMP - Scrap percentage
Data type: CAUFVD-APROZOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RM_OPERATION_READ_MULTI
PLNTY_EXP - Task List Type
Data type: CAUFVD-PLNTYOptional: No
Call by Reference: No ( called with pass by value option)
PLNNR_EXP - Key for Task List Group
Data type: CAUFVD-PLNNROptional: No
Call by Reference: No ( called with pass by value option)
PLNAL_EXP - Group Counter
Data type: CAUFVD-PLNALOptional: No
Call by Reference: No ( called with pass by value option)
PLNME_EXP - Task list unit of measure
Data type: CAUFVD-PLNMEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RM_OPERATION_READ_MULTI
VORG_TAB - Measuring Point Structure: Quantities f. Crnt and Prev. Per.
Data type: KPZP1Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PARALLEL_SEQ -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SEQUENCE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FALSE_FYEAR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ROUTING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROG_ERR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CONVERSION -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RM_OPERATION_READ_MULTI 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: | ||||
| lt_vorg_tab | TYPE STANDARD TABLE OF KPZP1, " | |||
| lv_aufnr_imp | TYPE CAUFVD-AUFNR, " | |||
| lv_plnty_exp | TYPE CAUFVD-PLNTY, " | |||
| lv_parallel_seq | TYPE CAUFVD, " | |||
| lv_plnnr_exp | TYPE CAUFVD-PLNNR, " | |||
| lv_period_imp | TYPE T009B-POPER, " | |||
| lv_missing_parameters | TYPE T009B, " | |||
| lv_gjahr_imp | TYPE T009B-BDATJ, " | |||
| lv_plnal_exp | TYPE CAUFVD-PLNAL, " | |||
| lv_no_sequence | TYPE CAUFVD, " | |||
| lv_matnr_imp | TYPE AFPO-MATNR, " | |||
| lv_plnme_exp | TYPE CAUFVD-PLNME, " | |||
| lv_order_not_found | TYPE CAUFVD, " | |||
| lv_aproz_imp | TYPE CAUFVD-APROZ, " | |||
| lv_false_fyear | TYPE CAUFVD, " | |||
| lv_no_routing | TYPE CAUFVD, " | |||
| lv_prog_err | TYPE CAUFVD, " | |||
| lv_no_conversion | TYPE CAUFVD. " |
|   CALL FUNCTION 'RM_OPERATION_READ_MULTI' "NOTRANSL: Vorgänge zu einem Auftrag lesen und Daten extrahieren |
| EXPORTING | ||
| AUFNR_IMP | = lv_aufnr_imp | |
| PERIOD_IMP | = lv_period_imp | |
| GJAHR_IMP | = lv_gjahr_imp | |
| MATNR_IMP | = lv_matnr_imp | |
| APROZ_IMP | = lv_aproz_imp | |
| IMPORTING | ||
| PLNTY_EXP | = lv_plnty_exp | |
| PLNNR_EXP | = lv_plnnr_exp | |
| PLNAL_EXP | = lv_plnal_exp | |
| PLNME_EXP | = lv_plnme_exp | |
| TABLES | ||
| VORG_TAB | = lt_vorg_tab | |
| EXCEPTIONS | ||
| PARALLEL_SEQ = 1 | ||
| MISSING_PARAMETERS = 2 | ||
| NO_SEQUENCE = 3 | ||
| ORDER_NOT_FOUND = 4 | ||
| FALSE_FYEAR = 5 | ||
| NO_ROUTING = 6 | ||
| PROG_ERR = 7 | ||
| NO_CONVERSION = 8 | ||
| . " RM_OPERATION_READ_MULTI | ||
ABAP code using 7.40 inline data declarations to call FM RM_OPERATION_READ_MULTI
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 AUFNR FROM CAUFVD INTO @DATA(ld_aufnr_imp). | ||||
| "SELECT single PLNTY FROM CAUFVD INTO @DATA(ld_plnty_exp). | ||||
| "SELECT single PLNNR FROM CAUFVD INTO @DATA(ld_plnnr_exp). | ||||
| "SELECT single POPER FROM T009B INTO @DATA(ld_period_imp). | ||||
| "SELECT single BDATJ FROM T009B INTO @DATA(ld_gjahr_imp). | ||||
| "SELECT single PLNAL FROM CAUFVD INTO @DATA(ld_plnal_exp). | ||||
| "SELECT single MATNR FROM AFPO INTO @DATA(ld_matnr_imp). | ||||
| "SELECT single PLNME FROM CAUFVD INTO @DATA(ld_plnme_exp). | ||||
| "SELECT single APROZ FROM CAUFVD INTO @DATA(ld_aproz_imp). | ||||
Search for further information about these or an SAP related objects