SAP RSDC_SLOGSYS_F4 Function Module for F4 help source systems









RSDC_SLOGSYS_F4 is a standard rsdc slogsys f4 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 help source systems 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 rsdc slogsys f4 FM, simply by entering the name RSDC_SLOGSYS_F4 into the relevant SAP transaction such as SE37 or SE38.

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



Function RSDC_SLOGSYS_F4 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 'RSDC_SLOGSYS_F4'"F4 help source systems
EXPORTING
* I_TITLE = ' ' "Dialog Box Title
* I_DISPLAY = RS_C_FALSE "Display Only (Indicator)
* I_SRCTYPE_STRING = '*' "List of source system types or system '*'
* I_WITHOUT_DIALOG = RS_C_FALSE "Without dialogue = all
* I_NO_VIRTUAL = RS_C_FALSE "Without dummies

IMPORTING
E_TXTLG = "Long Text
E_ICON = "Icon in Text Fields (substitute display, alias)
E_T_OBJECT_F4_LIST = "List of all source systems

CHANGING
* C_SLOGSYS = RS_C_' '10 "Source System
.



IMPORTING Parameters details for RSDC_SLOGSYS_F4

I_TITLE - Dialog Box Title

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

I_DISPLAY - Display Only (Indicator)

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

I_SRCTYPE_STRING - List of source system types or system '*'

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

I_WITHOUT_DIALOG - Without dialogue = all

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

I_NO_VIRTUAL - Without dummies

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

EXPORTING Parameters details for RSDC_SLOGSYS_F4

E_TXTLG - Long Text

Data type:
Optional: No
Call by Reference: Yes

E_ICON - Icon in Text Fields (substitute display, alias)

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

E_T_OBJECT_F4_LIST - List of all source systems

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

CHANGING Parameters details for RSDC_SLOGSYS_F4

C_SLOGSYS - Source System

Data type: RS_CHAR10
Default: RS_C_SPACE10
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RSDC_SLOGSYS_F4 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_e_txtlg  TYPE STRING, "   
lv_i_title  TYPE STRING, "   SPACE
lv_c_slogsys  TYPE RS_CHAR10, "   RS_C_SPACE10
lv_e_icon  TYPE ICON_D, "   
lv_i_display  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_srctype_string  TYPE RS_BOOL, "   '*'
lv_e_t_object_f4_list  TYPE RSO_T_OBJECT_F4_LIST, "   
lv_i_without_dialog  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_no_virtual  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSDC_SLOGSYS_F4'  "F4 help source systems
    EXPORTING
         I_TITLE = lv_i_title
         I_DISPLAY = lv_i_display
         I_SRCTYPE_STRING = lv_i_srctype_string
         I_WITHOUT_DIALOG = lv_i_without_dialog
         I_NO_VIRTUAL = lv_i_no_virtual
    IMPORTING
         E_TXTLG = lv_e_txtlg
         E_ICON = lv_e_icon
         E_T_OBJECT_F4_LIST = lv_e_t_object_f4_list
    CHANGING
         C_SLOGSYS = lv_c_slogsys
. " RSDC_SLOGSYS_F4




ABAP code using 7.40 inline data declarations to call FM RSDC_SLOGSYS_F4

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_i_title) = ' '.
 
DATA(ld_c_slogsys) = RS_C_' '10.
 
 
DATA(ld_i_display) = RS_C_FALSE.
 
DATA(ld_i_srctype_string) = '*'.
 
 
DATA(ld_i_without_dialog) = RS_C_FALSE.
 
DATA(ld_i_no_virtual) = RS_C_FALSE.
 


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!