SAP MCV_UPDATE_RM_ORDER Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION
MCV_UPDATE_RM_ORDER is a standard mcv update rm order SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION 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 mcv update rm order FM, simply by entering the name MCV_UPDATE_RM_ORDER into the relevant SAP transaction such as SE37 or SE38.
Function Group: MCS1
Program Name: SAPLMCS1
Main Program: SAPLMCS1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function MCV_UPDATE_RM_ORDER 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 'MCV_UPDATE_RM_ORDER'"DE-EN-LANG-SWITCH-NO-TRANSLATION.
EXPORTING
IS_CONTROL = "LIS Updating: Control Parameters
IV_ZEITP = "Event for which updating should take place
* IS_LC_RISK_DATA = "Combine Requested Data for Risk Check
TABLES
MCINF = "Select Option for Info Structures ((RANGES)
XMCVBUK = "Reference Structure from MCVBUK for Function Module
XMCVBUP = "Reference Structure from MCVBUP for Function Module
XMCFPLT = "Reference Structure of MCFPLT for Function Module
XMCKOMV = "Reference Structure from MCKOMV for Function Module
XMCVBAK = "Reference Structure from MCVBAK for Function Module
XMCVBAP = "Reference Structure from MCVBAP for Function Module
XMCVBAPF = "Dynamic Part: Order Item Flow
XMCVBEP = "Reference Structure from MCVBEP for Function Module
XMCVBFA = "Reference Structure of MCVBFS for Function Module
XMCVBKD = "Reference Structure from MCVBEP for Function Module
XMCVBPA = "Reference Structure from MCVBPA for Function Module
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_SAPLMCS1_001 SIS: User Exit for SD Document - Header Data
EXIT_SAPLMCS1_002 SIS: User Exit for SD Document - Item Data
IMPORTING Parameters details for MCV_UPDATE_RM_ORDER
IS_CONTROL - LIS Updating: Control Parameters
Data type: MCCONTROLOptional: No
Call by Reference: No ( called with pass by value option)
IV_ZEITP - Event for which updating should take place
Data type: TMC5-ZEITPOptional: No
Call by Reference: No ( called with pass by value option)
IS_LC_RISK_DATA - Combine Requested Data for Risk Check
Data type: TSLC_RISK_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MCV_UPDATE_RM_ORDER
MCINF - Select Option for Info Structures ((RANGES)
Data type: MCSOINFOptional: No
Call by Reference: Yes
XMCVBUK - Reference Structure from MCVBUK for Function Module
Data type: MCVBUKBOptional: No
Call by Reference: Yes
XMCVBUP - Reference Structure from MCVBUP for Function Module
Data type: MCVBUPBOptional: No
Call by Reference: Yes
XMCFPLT - Reference Structure of MCFPLT for Function Module
Data type: MCFPLTBOptional: No
Call by Reference: Yes
XMCKOMV - Reference Structure from MCKOMV for Function Module
Data type: MCKOMVBOptional: No
Call by Reference: Yes
XMCVBAK - Reference Structure from MCVBAK for Function Module
Data type: MCVBAKBOptional: No
Call by Reference: Yes
XMCVBAP - Reference Structure from MCVBAP for Function Module
Data type: MCVBAPBOptional: No
Call by Reference: Yes
XMCVBAPF - Dynamic Part: Order Item Flow
Data type: MCVBAFBOptional: No
Call by Reference: Yes
XMCVBEP - Reference Structure from MCVBEP for Function Module
Data type: MCVBEPBOptional: No
Call by Reference: Yes
XMCVBFA - Reference Structure of MCVBFS for Function Module
Data type: MCVBFABOptional: No
Call by Reference: Yes
XMCVBKD - Reference Structure from MCVBEP for Function Module
Data type: MCVBKDBOptional: No
Call by Reference: Yes
XMCVBPA - Reference Structure from MCVBPA for Function Module
Data type: MCVBPABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for MCV_UPDATE_RM_ORDER 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_mcinf | TYPE STANDARD TABLE OF MCSOINF, " | |||
| lv_is_control | TYPE MCCONTROL, " | |||
| lt_xmcvbuk | TYPE STANDARD TABLE OF MCVBUKB, " | |||
| lt_xmcvbup | TYPE STANDARD TABLE OF MCVBUPB, " | |||
| lt_xmcfplt | TYPE STANDARD TABLE OF MCFPLTB, " | |||
| lt_xmckomv | TYPE STANDARD TABLE OF MCKOMVB, " | |||
| lv_iv_zeitp | TYPE TMC5-ZEITP, " | |||
| lt_xmcvbak | TYPE STANDARD TABLE OF MCVBAKB, " | |||
| lv_is_lc_risk_data | TYPE TSLC_RISK_DATA, " | |||
| lt_xmcvbap | TYPE STANDARD TABLE OF MCVBAPB, " | |||
| lt_xmcvbapf | TYPE STANDARD TABLE OF MCVBAFB, " | |||
| lt_xmcvbep | TYPE STANDARD TABLE OF MCVBEPB, " | |||
| lt_xmcvbfa | TYPE STANDARD TABLE OF MCVBFAB, " | |||
| lt_xmcvbkd | TYPE STANDARD TABLE OF MCVBKDB, " | |||
| lt_xmcvbpa | TYPE STANDARD TABLE OF MCVBPAB. " |
|   CALL FUNCTION 'MCV_UPDATE_RM_ORDER' "DE-EN-LANG-SWITCH-NO-TRANSLATION |
| EXPORTING | ||
| IS_CONTROL | = lv_is_control | |
| IV_ZEITP | = lv_iv_zeitp | |
| IS_LC_RISK_DATA | = lv_is_lc_risk_data | |
| TABLES | ||
| MCINF | = lt_mcinf | |
| XMCVBUK | = lt_xmcvbuk | |
| XMCVBUP | = lt_xmcvbup | |
| XMCFPLT | = lt_xmcfplt | |
| XMCKOMV | = lt_xmckomv | |
| XMCVBAK | = lt_xmcvbak | |
| XMCVBAP | = lt_xmcvbap | |
| XMCVBAPF | = lt_xmcvbapf | |
| XMCVBEP | = lt_xmcvbep | |
| XMCVBFA | = lt_xmcvbfa | |
| XMCVBKD | = lt_xmcvbkd | |
| XMCVBPA | = lt_xmcvbpa | |
| . " MCV_UPDATE_RM_ORDER | ||
ABAP code using 7.40 inline data declarations to call FM MCV_UPDATE_RM_ORDER
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 ZEITP FROM TMC5 INTO @DATA(ld_iv_zeitp). | ||||
Search for further information about these or an SAP related objects