SAP RS_SCRP_DIFF_BETWEEN_DYNP_TREE Function Module for









RS_SCRP_DIFF_BETWEEN_DYNP_TREE is a standard rs scrp diff between dynp tree SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rs scrp diff between dynp tree FM, simply by entering the name RS_SCRP_DIFF_BETWEEN_DYNP_TREE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SCR2
Program Name: SAPLSCR2
Main Program: SAPLSCR2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RS_SCRP_DIFF_BETWEEN_DYNP_TREE 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 'RS_SCRP_DIFF_BETWEEN_DYNP_TREE'"
EXPORTING
PROGNAME = "ABAP Program Name
DYNNR = "CHAR04 Data Element for SYST
HEADER_TEXT = "Workbench: Object List Node Description
COMP_TEXT_1 = "Text/Icon/Symbol
COMP_TEXT_2 = "Text/Icon/Symbol
* FULL_WINDOW = ' ' "
* MIGRATION_TOOL = "
* ALV_TREE = ' ' "
* CONTAINER = "

TABLES
* DIFF_HEADER = "Differences in screen header
* DIFF_CONTAINERS = "Differences in screen containers
* DIFF_FIELDS = "Differences in fields of screen containers
* DIFF_FLOW = "Differencs in flow logic
* DIFF_PARAMS = "

EXCEPTIONS
NO_DIFFERENCES = 1
.



IMPORTING Parameters details for RS_SCRP_DIFF_BETWEEN_DYNP_TREE

PROGNAME - ABAP Program Name

Data type: D020S-PROG
Optional: No
Call by Reference: Yes

DYNNR - CHAR04 Data Element for SYST

Data type: D020S-DNUM
Optional: No
Call by Reference: Yes

HEADER_TEXT - Workbench: Object List Node Description

Data type: SNODETEXT-TEXT
Optional: No
Call by Reference: Yes

COMP_TEXT_1 - Text/Icon/Symbol

Data type: SNODETEXT-TEXT
Optional: No
Call by Reference: Yes

COMP_TEXT_2 - Text/Icon/Symbol

Data type: SNODETEXT-TEXT
Optional: No
Call by Reference: Yes

FULL_WINDOW -

Data type: SEU_BOOL
Default: ' '
Optional: Yes
Call by Reference: Yes

MIGRATION_TOOL -

Data type: CL_EEF_MIG_TOOL_DYNP_SOURCE
Optional: Yes
Call by Reference: Yes

ALV_TREE -

Data type: SEU_BOOL
Default: ' '
Optional: Yes
Call by Reference: Yes

CONTAINER -

Data type: CL_GUI_CONTAINER
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for RS_SCRP_DIFF_BETWEEN_DYNP_TREE

DIFF_HEADER - Differences in screen header

Data type: RPY_DCHEAD
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIFF_CONTAINERS - Differences in screen containers

Data type: DCCATT_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIFF_FIELDS - Differences in fields of screen containers

Data type: DCFATC_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIFF_FLOW - Differencs in flow logic

Data type: RPY_DCFLOW
Optional: Yes
Call by Reference: No ( called with pass by value option)

DIFF_PARAMS -

Data type: RPY_DCPARA
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_DIFFERENCES -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RS_SCRP_DIFF_BETWEEN_DYNP_TREE 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_progname  TYPE D020S-PROG, "   
lt_diff_header  TYPE STANDARD TABLE OF RPY_DCHEAD, "   
lv_no_differences  TYPE RPY_DCHEAD, "   
lv_dynnr  TYPE D020S-DNUM, "   
lt_diff_containers  TYPE STANDARD TABLE OF DCCATT_TAB, "   
lt_diff_fields  TYPE STANDARD TABLE OF DCFATC_TAB, "   
lv_header_text  TYPE SNODETEXT-TEXT, "   
lt_diff_flow  TYPE STANDARD TABLE OF RPY_DCFLOW, "   
lv_comp_text_1  TYPE SNODETEXT-TEXT, "   
lv_comp_text_2  TYPE SNODETEXT-TEXT, "   
lt_diff_params  TYPE STANDARD TABLE OF RPY_DCPARA, "   
lv_full_window  TYPE SEU_BOOL, "   ' '
lv_migration_tool  TYPE CL_EEF_MIG_TOOL_DYNP_SOURCE, "   
lv_alv_tree  TYPE SEU_BOOL, "   ' '
lv_container  TYPE CL_GUI_CONTAINER. "   

  CALL FUNCTION 'RS_SCRP_DIFF_BETWEEN_DYNP_TREE'  "
    EXPORTING
         PROGNAME = lv_progname
         DYNNR = lv_dynnr
         HEADER_TEXT = lv_header_text
         COMP_TEXT_1 = lv_comp_text_1
         COMP_TEXT_2 = lv_comp_text_2
         FULL_WINDOW = lv_full_window
         MIGRATION_TOOL = lv_migration_tool
         ALV_TREE = lv_alv_tree
         CONTAINER = lv_container
    TABLES
         DIFF_HEADER = lt_diff_header
         DIFF_CONTAINERS = lt_diff_containers
         DIFF_FIELDS = lt_diff_fields
         DIFF_FLOW = lt_diff_flow
         DIFF_PARAMS = lt_diff_params
    EXCEPTIONS
        NO_DIFFERENCES = 1
. " RS_SCRP_DIFF_BETWEEN_DYNP_TREE




ABAP code using 7.40 inline data declarations to call FM RS_SCRP_DIFF_BETWEEN_DYNP_TREE

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 PROG FROM D020S INTO @DATA(ld_progname).
 
 
 
"SELECT single DNUM FROM D020S INTO @DATA(ld_dynnr).
 
 
 
"SELECT single TEXT FROM SNODETEXT INTO @DATA(ld_header_text).
 
 
"SELECT single TEXT FROM SNODETEXT INTO @DATA(ld_comp_text_1).
 
"SELECT single TEXT FROM SNODETEXT INTO @DATA(ld_comp_text_2).
 
 
DATA(ld_full_window) = ' '.
 
 
DATA(ld_alv_tree) = ' '.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!