SAP MMRP_L2_CUSTOMIZING_MODIFY Function Module for Change RPM Customizing in LC
MMRP_L2_CUSTOMIZING_MODIFY is a standard mmrp l2 customizing modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change RPM Customizing in LC 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 mmrp l2 customizing modify FM, simply by entering the name MMRP_L2_CUSTOMIZING_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: MMRP01
Program Name: SAPLMMRP01
Main Program: SAPLMMRP01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MMRP_L2_CUSTOMIZING_MODIFY 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 'MMRP_L2_CUSTOMIZING_MODIFY'"Change RPM Customizing in LC.
EXPORTING
IS_GEN_PARAMS = "Allgemeine Parameter für FBs aus /SAPAPO/OM
* LC_INSTANCE = "Logischer Name einer Datenbankverbindung
* MANDT = SY-MANDT "R/3-System, Mandantennummer aus Anmeldung
IS_RPM_LC_CUST = "Customizing für RPM im LC
IMPORTING
ET_RC = "Tabellentyp zur Rückgabe von liveCache-Returncodes
EXCEPTIONS
LC_CONNECT_FAILED = 1 LC_COM_ERROR = 2 LC_APPL_ERROR = 3
IMPORTING Parameters details for MMRP_L2_CUSTOMIZING_MODIFY
IS_GEN_PARAMS - Allgemeine Parameter für FBs aus /SAPAPO/OM
Data type: /SAPAPO/OM_GEN_PARAMSOptional: No
Call by Reference: Yes
LC_INSTANCE - Logischer Name einer Datenbankverbindung
Data type: DBCON-CON_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
MANDT - R/3-System, Mandantennummer aus Anmeldung
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_RPM_LC_CUST - Customizing für RPM im LC
Data type: MMRP_LC_CUSTOptional: No
Call by Reference: Yes
EXPORTING Parameters details for MMRP_L2_CUSTOMIZING_MODIFY
ET_RC - Tabellentyp zur Rückgabe von liveCache-Returncodes
Data type: /SAPAPO/OM_LC_RC_TABOptional: No
Call by Reference: Yes
EXCEPTIONS details
LC_CONNECT_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LC_COM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LC_APPL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MMRP_L2_CUSTOMIZING_MODIFY 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_et_rc | TYPE /SAPAPO/OM_LC_RC_TAB, " | |||
| lv_is_gen_params | TYPE /SAPAPO/OM_GEN_PARAMS, " | |||
| lv_lc_connect_failed | TYPE /SAPAPO/OM_GEN_PARAMS, " | |||
| lv_lc_instance | TYPE DBCON-CON_NAME, " | |||
| lv_lc_com_error | TYPE DBCON, " | |||
| lv_mandt | TYPE SY-MANDT, " SY-MANDT | |||
| lv_lc_appl_error | TYPE SY, " | |||
| lv_is_rpm_lc_cust | TYPE MMRP_LC_CUST. " |
|   CALL FUNCTION 'MMRP_L2_CUSTOMIZING_MODIFY' "Change RPM Customizing in LC |
| EXPORTING | ||
| IS_GEN_PARAMS | = lv_is_gen_params | |
| LC_INSTANCE | = lv_lc_instance | |
| MANDT | = lv_mandt | |
| IS_RPM_LC_CUST | = lv_is_rpm_lc_cust | |
| IMPORTING | ||
| ET_RC | = lv_et_rc | |
| EXCEPTIONS | ||
| LC_CONNECT_FAILED = 1 | ||
| LC_COM_ERROR = 2 | ||
| LC_APPL_ERROR = 3 | ||
| . " MMRP_L2_CUSTOMIZING_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM MMRP_L2_CUSTOMIZING_MODIFY
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 CON_NAME FROM DBCON INTO @DATA(ld_lc_instance). | ||||
| "SELECT single MANDT FROM SY INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
Search for further information about these or an SAP related objects