SAP CLM_METH_DIFFERENCES_SHOW_INT Function Module for Customer Enhancement: Format Change Log
CLM_METH_DIFFERENCES_SHOW_INT is a standard clm meth differences show int SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Enhancement: Format Change Log 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 clm meth differences show int FM, simply by entering the name CLM_METH_DIFFERENCES_SHOW_INT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SEMO
Program Name: SAPLSEMO
Main Program: SAPLSEMO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLM_METH_DIFFERENCES_SHOW_INT 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 'CLM_METH_DIFFERENCES_SHOW_INT'"Customer Enhancement: Format Change Log.
EXPORTING
OBJECT = "
* SUPPRESS_LIST = ' ' "
* MAIN = ' ' "
* MAIN_PROG = ' ' "
* WITHOUT_NAVIGATION = ' ' "
* WITH_INFO_TEXT = ' ' "
* TRANSPORT_KEY = ' ' "Complete Key of a Transport Object
* STATE = ' ' "ABAP: Program Status (Active, Saved, Transported...)
* MOD_INSTANCE = "SMODILOG Interface for Tools
IMPORTING
P_SELECTED_NODE = "
TABLES
* DIFFERENCES_LIST = "
* REPS_SMODILOG = "
* REPS_SMODILOG_TEXT = "
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for CLM_METH_DIFFERENCES_SHOW_INT
OBJECT -
Data type: SMODI_LOG_KEYOptional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_LIST -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MAIN -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MAIN_PROG -
Data type: TRDIR-NAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITHOUT_NAVIGATION -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_INFO_TEXT -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TRANSPORT_KEY - Complete Key of a Transport Object
Data type: TRKEYDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
STATE - ABAP: Program Status (Active, Saved, Transported...)
Data type: PROGDIR-STATEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MOD_INSTANCE - SMODILOG Interface for Tools
Data type: CL_CLM_TOOL_LOGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CLM_METH_DIFFERENCES_SHOW_INT
P_SELECTED_NODE -
Data type: SNODETEXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CLM_METH_DIFFERENCES_SHOW_INT
DIFFERENCES_LIST -
Data type: SNODETEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
REPS_SMODILOG -
Data type: SMODILOGOptional: Yes
Call by Reference: No ( called with pass by value option)
REPS_SMODILOG_TEXT -
Data type: SMODILOG_POptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CLM_METH_DIFFERENCES_SHOW_INT 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_object | TYPE SMODI_LOG_KEY, " | |||
| lv_not_found | TYPE SMODI_LOG_KEY, " | |||
| lv_p_selected_node | TYPE SNODETEXT, " | |||
| lt_differences_list | TYPE STANDARD TABLE OF SNODETEXT, " | |||
| lt_reps_smodilog | TYPE STANDARD TABLE OF SMODILOG, " | |||
| lv_suppress_list | TYPE SMODILOG, " SPACE | |||
| lv_main | TYPE SMODILOG, " SPACE | |||
| lt_reps_smodilog_text | TYPE STANDARD TABLE OF SMODILOG_P, " | |||
| lv_main_prog | TYPE TRDIR-NAME, " SPACE | |||
| lv_without_navigation | TYPE TRDIR, " SPACE | |||
| lv_with_info_text | TYPE TRDIR, " SPACE | |||
| lv_transport_key | TYPE TRKEY, " SPACE | |||
| lv_state | TYPE PROGDIR-STATE, " SPACE | |||
| lv_mod_instance | TYPE CL_CLM_TOOL_LOG. " |
|   CALL FUNCTION 'CLM_METH_DIFFERENCES_SHOW_INT' "Customer Enhancement: Format Change Log |
| EXPORTING | ||
| OBJECT | = lv_object | |
| SUPPRESS_LIST | = lv_suppress_list | |
| MAIN | = lv_main | |
| MAIN_PROG | = lv_main_prog | |
| WITHOUT_NAVIGATION | = lv_without_navigation | |
| WITH_INFO_TEXT | = lv_with_info_text | |
| TRANSPORT_KEY | = lv_transport_key | |
| STATE | = lv_state | |
| MOD_INSTANCE | = lv_mod_instance | |
| IMPORTING | ||
| P_SELECTED_NODE | = lv_p_selected_node | |
| TABLES | ||
| DIFFERENCES_LIST | = lt_differences_list | |
| REPS_SMODILOG | = lt_reps_smodilog | |
| REPS_SMODILOG_TEXT | = lt_reps_smodilog_text | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " CLM_METH_DIFFERENCES_SHOW_INT | ||
ABAP code using 7.40 inline data declarations to call FM CLM_METH_DIFFERENCES_SHOW_INT
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.| DATA(ld_suppress_list) | = ' '. | |||
| DATA(ld_main) | = ' '. | |||
| "SELECT single NAME FROM TRDIR INTO @DATA(ld_main_prog). | ||||
| DATA(ld_main_prog) | = ' '. | |||
| DATA(ld_without_navigation) | = ' '. | |||
| DATA(ld_with_info_text) | = ' '. | |||
| DATA(ld_transport_key) | = ' '. | |||
| "SELECT single STATE FROM PROGDIR INTO @DATA(ld_state). | ||||
| DATA(ld_state) | = ' '. | |||
Search for further information about these or an SAP related objects