SAP CHECK_CHANGES_REFPLANT_OD_RT Function Module for NOTRANSL: Prüfen, ob sich Änderungen am Vorlagebetrieb ergeben haben
CHECK_CHANGES_REFPLANT_OD_RT is a standard check changes refplant od rt 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: Prüfen, ob sich Änderungen am Vorlagebetrieb ergeben haben 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 check changes refplant od rt FM, simply by entering the name CHECK_CHANGES_REFPLANT_OD_RT into the relevant SAP transaction such as SE37 or SE38.
Function Group: MGIN
Program Name: SAPLMGIN
Main Program: SAPLMGIN
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CHECK_CHANGES_REFPLANT_OD_RT 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 'CHECK_CHANGES_REFPLANT_OD_RT'"NOTRANSL: Prüfen, ob sich Änderungen am Vorlagebetrieb ergeben haben.
EXPORTING
P_MATNR = "Material Number
P_T001W_REF = "Plants/Branches
CHANGING
* P_REFPL_CHANGED = "Propose Field Content from the Reference
* P_REFPL_NEW = "Propose Field Content from the Reference
TABLES
* TI_MPOP_INS = "Forecast Parameters
* TI_MPOP_UPD = "Forecast Parameters
* TI_OMPOP = "Forecast Parameters
IMPORTING Parameters details for CHECK_CHANGES_REFPLANT_OD_RT
P_MATNR - Material Number
Data type: MARA-MATNROptional: No
Call by Reference: No ( called with pass by value option)
P_T001W_REF - Plants/Branches
Data type: T001WOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for CHECK_CHANGES_REFPLANT_OD_RT
P_REFPL_CHANGED - Propose Field Content from the Reference
Data type: T130F-KZREFOptional: Yes
Call by Reference: No ( called with pass by value option)
P_REFPL_NEW - Propose Field Content from the Reference
Data type: T130F-KZREFOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CHECK_CHANGES_REFPLANT_OD_RT
TI_MPOP_INS - Forecast Parameters
Data type: MPOPOptional: Yes
Call by Reference: No ( called with pass by value option)
TI_MPOP_UPD - Forecast Parameters
Data type: MPOPOptional: Yes
Call by Reference: No ( called with pass by value option)
TI_OMPOP - Forecast Parameters
Data type: MPOPOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CHECK_CHANGES_REFPLANT_OD_RT 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_p_matnr | TYPE MARA-MATNR, " | |||
| lt_ti_mpop_ins | TYPE STANDARD TABLE OF MPOP, " | |||
| lv_p_refpl_changed | TYPE T130F-KZREF, " | |||
| lv_p_refpl_new | TYPE T130F-KZREF, " | |||
| lv_p_t001w_ref | TYPE T001W, " | |||
| lt_ti_mpop_upd | TYPE STANDARD TABLE OF MPOP, " | |||
| lt_ti_ompop | TYPE STANDARD TABLE OF MPOP. " |
|   CALL FUNCTION 'CHECK_CHANGES_REFPLANT_OD_RT' "NOTRANSL: Prüfen, ob sich Änderungen am Vorlagebetrieb ergeben haben |
| EXPORTING | ||
| P_MATNR | = lv_p_matnr | |
| P_T001W_REF | = lv_p_t001w_ref | |
| CHANGING | ||
| P_REFPL_CHANGED | = lv_p_refpl_changed | |
| P_REFPL_NEW | = lv_p_refpl_new | |
| TABLES | ||
| TI_MPOP_INS | = lt_ti_mpop_ins | |
| TI_MPOP_UPD | = lt_ti_mpop_upd | |
| TI_OMPOP | = lt_ti_ompop | |
| . " CHECK_CHANGES_REFPLANT_OD_RT | ||
ABAP code using 7.40 inline data declarations to call FM CHECK_CHANGES_REFPLANT_OD_RT
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 MATNR FROM MARA INTO @DATA(ld_p_matnr). | ||||
| "SELECT single KZREF FROM T130F INTO @DATA(ld_p_refpl_changed). | ||||
| "SELECT single KZREF FROM T130F INTO @DATA(ld_p_refpl_new). | ||||
Search for further information about these or an SAP related objects