SAP RS_SCRP_EXT_DIFF_SHOW Function Module for









RS_SCRP_EXT_DIFF_SHOW is a standard rs scrp ext diff show 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 ext diff show FM, simply by entering the name RS_SCRP_EXT_DIFF_SHOW 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_EXT_DIFF_SHOW 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_EXT_DIFF_SHOW'"
EXPORTING
TRANSPORT_KEY = "Transport key for screen
H = "Header
* FIELDINDEX = "
* DTXT = ' ' "Description
* SHOW_LANGU = SY-LANGU "
* MOD_INSTANCE = "SMODILOG Interface for Tools

TABLES
F = "
E = "
M = "
* SMODILOG_DYNP = "
* SMODILOG_ABAP = "
* SMODISRC_PROT_ABAP = "

EXCEPTIONS
NOT_EXISTS = 1
.



IMPORTING Parameters details for RS_SCRP_EXT_DIFF_SHOW

TRANSPORT_KEY - Transport key for screen

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

H - Header

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

FIELDINDEX -

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

DTXT - Description

Data type: D020T-DTXT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHOW_LANGU -

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

MOD_INSTANCE - SMODILOG Interface for Tools

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

TABLES Parameters details for RS_SCRP_EXT_DIFF_SHOW

F -

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

E -

Data type: DYN_FLOWLIST
Optional: No
Call by Reference: Yes

M -

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

SMODILOG_DYNP -

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

SMODILOG_ABAP -

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

SMODISRC_PROT_ABAP -

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

EXCEPTIONS details

NOT_EXISTS - Original not found

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

Copy and paste ABAP code example for RS_SCRP_EXT_DIFF_SHOW 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:
lt_f  TYPE STANDARD TABLE OF D021S, "   
lv_not_exists  TYPE D021S, "   
lv_transport_key  TYPE TRKEY, "   
lt_e  TYPE STANDARD TABLE OF DYN_FLOWLIST, "   
lv_h  TYPE D020S, "   
lt_m  TYPE STANDARD TABLE OF D023S, "   
lv_fieldindex  TYPE I, "   
lv_dtxt  TYPE D020T-DTXT, "   ' '
lt_smodilog_dynp  TYPE STANDARD TABLE OF SMODILOG_D, "   
lv_show_langu  TYPE SY-LANGU, "   SY-LANGU
lt_smodilog_abap  TYPE STANDARD TABLE OF SMODILOG, "   
lv_mod_instance  TYPE CL_CLM_TOOL_LOG, "   
lt_smodisrc_prot_abap  TYPE STANDARD TABLE OF SMODI_MOD_TAB. "   

  CALL FUNCTION 'RS_SCRP_EXT_DIFF_SHOW'  "
    EXPORTING
         TRANSPORT_KEY = lv_transport_key
         H = lv_h
         FIELDINDEX = lv_fieldindex
         DTXT = lv_dtxt
         SHOW_LANGU = lv_show_langu
         MOD_INSTANCE = lv_mod_instance
    TABLES
         F = lt_f
         E = lt_e
         M = lt_m
         SMODILOG_DYNP = lt_smodilog_dynp
         SMODILOG_ABAP = lt_smodilog_abap
         SMODISRC_PROT_ABAP = lt_smodisrc_prot_abap
    EXCEPTIONS
        NOT_EXISTS = 1
. " RS_SCRP_EXT_DIFF_SHOW




ABAP code using 7.40 inline data declarations to call FM RS_SCRP_EXT_DIFF_SHOW

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 DTXT FROM D020T INTO @DATA(ld_dtxt).
DATA(ld_dtxt) = ' '.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_show_langu).
DATA(ld_show_langu) = SY-LANGU.
 
 
 
 


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!