SAP FC_SET_SELECT Function Module for









FC_SET_SELECT is a standard fc set select 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 fc set select FM, simply by entering the name FC_SET_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function FC_SET_SELECT 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 'FC_SET_SELECT'"
EXPORTING
E_FIELD = "
* E_SETTYPE = 'BSMD' "
* E_ITCLG = "
* E_TABLE = 'FIMC' "
* E_FLG_DISPLAY_ONLY = ' ' "
* E_SETCLASS = "
* E_SET_MUST = '*' "
* E_DIMEN = "
* E_SITYP = "
* E_CRUSER = '*' "
* E_UPDUSER = '*' "

IMPORTING
I_SETID = "
I_SET_TITLE = "
I_SET_SHORTNAME = "
I_DIMEN = "
I_SITYP = "
I_ITCLG = "

EXCEPTIONS
NO_SET_PICKED = 1
.



IMPORTING Parameters details for FC_SET_SELECT

E_FIELD -

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

E_SETTYPE -

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

E_ITCLG -

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

E_TABLE -

Data type: RGSBS-TABLE
Default: 'FIMC'
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_FLG_DISPLAY_ONLY -

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

E_SETCLASS -

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

E_SET_MUST -

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

E_DIMEN -

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

E_SITYP -

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

E_CRUSER -

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

E_UPDUSER -

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

EXPORTING Parameters details for FC_SET_SELECT

I_SETID -

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

I_SET_TITLE -

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

I_SET_SHORTNAME -

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

I_DIMEN -

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

I_SITYP -

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

I_ITCLG -

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

EXCEPTIONS details

NO_SET_PICKED -

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

Copy and paste ABAP code example for FC_SET_SELECT 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_field  TYPE RGSBS-FIELD, "   
lv_i_setid  TYPE FC00_SETID, "   
lv_no_set_picked  TYPE FC00_SETID, "   
lv_e_settype  TYPE FC00_SETID, "   'BSMD'
lv_e_itclg  TYPE FC_ITCLG, "   
lv_e_table  TYPE RGSBS-TABLE, "   'FIMC'
lv_i_set_title  TYPE FC00_SETTITLE, "   
lv_i_set_shortname  TYPE FC00_SETNAME, "   
lv_e_flg_display_only  TYPE FC00_FLG_DISPLAY_ONLY, "   SPACE
lv_i_dimen  TYPE FC_DIMEN, "   
lv_e_setclass  TYPE FC00_SETCLASS, "   
lv_i_sityp  TYPE FC_SITYP, "   
lv_e_set_must  TYPE FC_SITYP, "   '*'
lv_e_dimen  TYPE FC_DIMEN, "   
lv_i_itclg  TYPE FC_ITCLG, "   
lv_e_sityp  TYPE FC_SITYP, "   
lv_e_cruser  TYPE FC00SETTAB-CREUSER, "   '*'
lv_e_upduser  TYPE FC00SETTAB-UPDUSER. "   '*'

  CALL FUNCTION 'FC_SET_SELECT'  "
    EXPORTING
         E_FIELD = lv_e_field
         E_SETTYPE = lv_e_settype
         E_ITCLG = lv_e_itclg
         E_TABLE = lv_e_table
         E_FLG_DISPLAY_ONLY = lv_e_flg_display_only
         E_SETCLASS = lv_e_setclass
         E_SET_MUST = lv_e_set_must
         E_DIMEN = lv_e_dimen
         E_SITYP = lv_e_sityp
         E_CRUSER = lv_e_cruser
         E_UPDUSER = lv_e_upduser
    IMPORTING
         I_SETID = lv_i_setid
         I_SET_TITLE = lv_i_set_title
         I_SET_SHORTNAME = lv_i_set_shortname
         I_DIMEN = lv_i_dimen
         I_SITYP = lv_i_sityp
         I_ITCLG = lv_i_itclg
    EXCEPTIONS
        NO_SET_PICKED = 1
. " FC_SET_SELECT




ABAP code using 7.40 inline data declarations to call FM FC_SET_SELECT

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 FIELD FROM RGSBS INTO @DATA(ld_e_field).
 
 
 
DATA(ld_e_settype) = 'BSMD'.
 
 
"SELECT single TABLE FROM RGSBS INTO @DATA(ld_e_table).
DATA(ld_e_table) = 'FIMC'.
 
 
 
DATA(ld_e_flg_display_only) = ' '.
 
 
 
 
DATA(ld_e_set_must) = '*'.
 
 
 
 
"SELECT single CREUSER FROM FC00SETTAB INTO @DATA(ld_e_cruser).
DATA(ld_e_cruser) = '*'.
 
"SELECT single UPDUSER FROM FC00SETTAB INTO @DATA(ld_e_upduser).
DATA(ld_e_upduser) = '*'.
 


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!