SAP VMP_VIEW_ENG_CHANGES Function Module for Fm to display pop screen of structral and metadata changes
VMP_VIEW_ENG_CHANGES is a standard vmp view eng changes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fm to display pop screen of structral and metadata changes 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 vmp view eng changes FM, simply by entering the name VMP_VIEW_ENG_CHANGES into the relevant SAP transaction such as SE37 or SE38.
Function Group: VMP_VSM_PROCESSES
Program Name: SAPLVMP_VSM_PROCESSES
Main Program: SAPLVMP_VSM_PROCESSES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function VMP_VIEW_ENG_CHANGES 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 'VMP_VIEW_ENG_CHANGES'"Fm to display pop screen of structral and metadata changes.
EXPORTING
IT_FC_RESULT = "VSM File Comparison Result
IMPORTING
ET_SEL_ADDED_ITEMS = "VSM Node Property Change
ET_SEL_REMOVED_ITEMS = "VSM Node Property Change
ET_SEL_UPDATED_ITEMS = "VSM Node Property Change
ET_SHOW_HIDE_ITEMS = "VSM Node Property Change
ET_NODE_UPDATES = "VSM Node Update Sets
CHANGING
* CT_STRUCT_CHANGES_ALV_DATA = "
* CT_META_CHANGES_ALV_DATA = "
IMPORTING Parameters details for VMP_VIEW_ENG_CHANGES
IT_FC_RESULT - VSM File Comparison Result
Data type: VSM_T_FC_RESULTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for VMP_VIEW_ENG_CHANGES
ET_SEL_ADDED_ITEMS - VSM Node Property Change
Data type: VSM_T_NODE_PROPERTY_CHANGEOptional: No
Call by Reference: No ( called with pass by value option)
ET_SEL_REMOVED_ITEMS - VSM Node Property Change
Data type: VSM_T_NODE_PROPERTY_CHANGEOptional: No
Call by Reference: No ( called with pass by value option)
ET_SEL_UPDATED_ITEMS - VSM Node Property Change
Data type: VSM_T_NODE_PROPERTY_CHANGEOptional: No
Call by Reference: No ( called with pass by value option)
ET_SHOW_HIDE_ITEMS - VSM Node Property Change
Data type: VSM_T_NODE_PROPERTY_CHANGEOptional: No
Call by Reference: No ( called with pass by value option)
ET_NODE_UPDATES - VSM Node Update Sets
Data type: VSM_T_NODE_UPDATE_SETOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for VMP_VIEW_ENG_CHANGES
CT_STRUCT_CHANGES_ALV_DATA -
Data type: IF_VMP_C=>TY_T_FILE_COMPARE_ALV_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_META_CHANGES_ALV_DATA -
Data type: IF_VMP_C=>TY_T_FILE_COMPARE_ALV_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for VMP_VIEW_ENG_CHANGES 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_it_fc_result | TYPE VSM_T_FC_RESULT, " | |||
| lv_et_sel_added_items | TYPE VSM_T_NODE_PROPERTY_CHANGE, " | |||
| lv_ct_struct_changes_alv_data | TYPE IF_VMP_C=>TY_T_FILE_COMPARE_ALV_DATA, " | |||
| lv_et_sel_removed_items | TYPE VSM_T_NODE_PROPERTY_CHANGE, " | |||
| lv_ct_meta_changes_alv_data | TYPE IF_VMP_C=>TY_T_FILE_COMPARE_ALV_DATA, " | |||
| lv_et_sel_updated_items | TYPE VSM_T_NODE_PROPERTY_CHANGE, " | |||
| lv_et_show_hide_items | TYPE VSM_T_NODE_PROPERTY_CHANGE, " | |||
| lv_et_node_updates | TYPE VSM_T_NODE_UPDATE_SET. " |
|   CALL FUNCTION 'VMP_VIEW_ENG_CHANGES' "Fm to display pop screen of structral and metadata changes |
| EXPORTING | ||
| IT_FC_RESULT | = lv_it_fc_result | |
| IMPORTING | ||
| ET_SEL_ADDED_ITEMS | = lv_et_sel_added_items | |
| ET_SEL_REMOVED_ITEMS | = lv_et_sel_removed_items | |
| ET_SEL_UPDATED_ITEMS | = lv_et_sel_updated_items | |
| ET_SHOW_HIDE_ITEMS | = lv_et_show_hide_items | |
| ET_NODE_UPDATES | = lv_et_node_updates | |
| CHANGING | ||
| CT_STRUCT_CHANGES_ALV_DATA | = lv_ct_struct_changes_alv_data | |
| CT_META_CHANGES_ALV_DATA | = lv_ct_meta_changes_alv_data | |
| . " VMP_VIEW_ENG_CHANGES | ||
ABAP code using 7.40 inline data declarations to call FM VMP_VIEW_ENG_CHANGES
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.Search for further information about these or an SAP related objects