FM_SELECT_MULTIPLE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FM_SELECT_MULTIPLE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMSL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FM_SELECT_MULTIPLE' "Mass selection of master data
EXPORTING
i_fikrs = " fmci-fikrs Financial Management Area
i_gjahr = " fmci-gjahr Fiscal Year
* i_varnt = '000' " fmhici-varnt Variant
* i_hivarnt = " fmhisv-hivarnt Hierarchy Variant of Funds Center
* i_poper = " t009b-poper Period
* i_fipex_only = SPACE " fmdy-xfeld
* i_fictr_only = SPACE " fmdy-xfeld
* i_fonds_bp_only = SPACE " fmdy-xfeld
* i_fonds_only = SPACE " fmdy-xfeld
* i_fipex_fictr_fonds = SPACE " fmdy-xfeld
* i_budgetpd_only = SPACE " fmdy-xfeld
* i_bsp_element = SPACE " fmdy-xfeld
* i_bsp_element_bcs = SPACE " fmdy-xfeld
* i_select_without_fonds = SPACE " fmdy-xfeld
* i_select_without_budgetpd = SPACE " fmdy-xfeld
* i_select_without_function = SPACE " fmdy-xfeld
* i_select_without_measure = SPACE " fmdy-xfeld
* i_select_without_grant = SPACE " fmdy-xfeld
* i_status = 'U' " fmdy-xfeld
* i_list_title = " sy-title List heading
* i_flg_no_list = SPACE " fmdy-xfeld Display no list
* i_flg_no_overtake = SPACE " fmdy-xfeld
* i_flg_maint_sequent = SPACE " fmdy-xfeld
* i_flg_maint_multiple = SPACE " fmdy-xfeld
* i_flg_del = SPACE " fmdy-xfeld
* i_flg_check_budget = SPACE " fmdy-xfeld
* i_maint_funcname = SPACE " tfdir-funcname
* i_prog_varnt = SPACE " rsvar-variant
* i_flg_blank_dim_bcs = " fmslblnkdim
IMPORTING
e_f_fkrs = " fkrs
e_f_fvar = " fvar
* TABLES
* t_fmslbsp = " fmslbsp
* t_fmsltrp = " fmsltrp
* t_fmslfctr = " fmslfctr
* t_fmslfpex = " fm_t_cisl
* t_fmslffnd = " fmslffnd
* t_fmslpara = " fmslpara
* t_fmslheader = " fmslheader
* t_fmslfields = " fmslfields
* t_fmslfbdp = " fmslfbdp
* t_fmslffbp = " fmslffbp
EXCEPTIONS
INPUT_ERROR = 1 " Wrong Input Parameter
NO_ENTRY_FOUND = 2 " No records were selected
PROG_VARNT_ERROR = 3 "
. " FM_SELECT_MULTIPLE
The ABAP code below is a full code listing to execute function module FM_SELECT_MULTIPLE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_f_fkrs | TYPE FKRS , |
| ld_e_f_fvar | TYPE FVAR , |
| it_t_fmslbsp | TYPE STANDARD TABLE OF FMSLBSP,"TABLES PARAM |
| wa_t_fmslbsp | LIKE LINE OF it_t_fmslbsp , |
| it_t_fmsltrp | TYPE STANDARD TABLE OF FMSLTRP,"TABLES PARAM |
| wa_t_fmsltrp | LIKE LINE OF it_t_fmsltrp , |
| it_t_fmslfctr | TYPE STANDARD TABLE OF FMSLFCTR,"TABLES PARAM |
| wa_t_fmslfctr | LIKE LINE OF it_t_fmslfctr , |
| it_t_fmslfpex | TYPE STANDARD TABLE OF FM_T_CISL,"TABLES PARAM |
| wa_t_fmslfpex | LIKE LINE OF it_t_fmslfpex , |
| it_t_fmslffnd | TYPE STANDARD TABLE OF FMSLFFND,"TABLES PARAM |
| wa_t_fmslffnd | LIKE LINE OF it_t_fmslffnd , |
| it_t_fmslpara | TYPE STANDARD TABLE OF FMSLPARA,"TABLES PARAM |
| wa_t_fmslpara | LIKE LINE OF it_t_fmslpara , |
| it_t_fmslheader | TYPE STANDARD TABLE OF FMSLHEADER,"TABLES PARAM |
| wa_t_fmslheader | LIKE LINE OF it_t_fmslheader , |
| it_t_fmslfields | TYPE STANDARD TABLE OF FMSLFIELDS,"TABLES PARAM |
| wa_t_fmslfields | LIKE LINE OF it_t_fmslfields , |
| it_t_fmslfbdp | TYPE STANDARD TABLE OF FMSLFBDP,"TABLES PARAM |
| wa_t_fmslfbdp | LIKE LINE OF it_t_fmslfbdp , |
| it_t_fmslffbp | TYPE STANDARD TABLE OF FMSLFFBP,"TABLES PARAM |
| wa_t_fmslffbp | LIKE LINE OF it_t_fmslffbp . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_f_fkrs | TYPE FKRS , |
| ld_i_fikrs | TYPE FMCI-FIKRS , |
| it_t_fmslbsp | TYPE STANDARD TABLE OF FMSLBSP , |
| wa_t_fmslbsp | LIKE LINE OF it_t_fmslbsp, |
| ld_e_f_fvar | TYPE FVAR , |
| ld_i_gjahr | TYPE FMCI-GJAHR , |
| it_t_fmsltrp | TYPE STANDARD TABLE OF FMSLTRP , |
| wa_t_fmsltrp | LIKE LINE OF it_t_fmsltrp, |
| ld_i_varnt | TYPE FMHICI-VARNT , |
| it_t_fmslfctr | TYPE STANDARD TABLE OF FMSLFCTR , |
| wa_t_fmslfctr | LIKE LINE OF it_t_fmslfctr, |
| ld_i_hivarnt | TYPE FMHISV-HIVARNT , |
| it_t_fmslfpex | TYPE STANDARD TABLE OF FM_T_CISL , |
| wa_t_fmslfpex | LIKE LINE OF it_t_fmslfpex, |
| ld_i_poper | TYPE T009B-POPER , |
| it_t_fmslffnd | TYPE STANDARD TABLE OF FMSLFFND , |
| wa_t_fmslffnd | LIKE LINE OF it_t_fmslffnd, |
| ld_i_fipex_only | TYPE FMDY-XFELD , |
| it_t_fmslpara | TYPE STANDARD TABLE OF FMSLPARA , |
| wa_t_fmslpara | LIKE LINE OF it_t_fmslpara, |
| ld_i_fictr_only | TYPE FMDY-XFELD , |
| it_t_fmslheader | TYPE STANDARD TABLE OF FMSLHEADER , |
| wa_t_fmslheader | LIKE LINE OF it_t_fmslheader, |
| ld_i_fonds_bp_only | TYPE FMDY-XFELD , |
| it_t_fmslfields | TYPE STANDARD TABLE OF FMSLFIELDS , |
| wa_t_fmslfields | LIKE LINE OF it_t_fmslfields, |
| it_t_fmslfbdp | TYPE STANDARD TABLE OF FMSLFBDP , |
| wa_t_fmslfbdp | LIKE LINE OF it_t_fmslfbdp, |
| ld_i_fonds_only | TYPE FMDY-XFELD , |
| ld_i_fipex_fictr_fonds | TYPE FMDY-XFELD , |
| it_t_fmslffbp | TYPE STANDARD TABLE OF FMSLFFBP , |
| wa_t_fmslffbp | LIKE LINE OF it_t_fmslffbp, |
| ld_i_budgetpd_only | TYPE FMDY-XFELD , |
| ld_i_bsp_element | TYPE FMDY-XFELD , |
| ld_i_bsp_element_bcs | TYPE FMDY-XFELD , |
| ld_i_select_without_fonds | TYPE FMDY-XFELD , |
| ld_i_select_without_budgetpd | TYPE FMDY-XFELD , |
| ld_i_select_without_function | TYPE FMDY-XFELD , |
| ld_i_select_without_measure | TYPE FMDY-XFELD , |
| ld_i_select_without_grant | TYPE FMDY-XFELD , |
| ld_i_status | TYPE FMDY-XFELD , |
| ld_i_list_title | TYPE SY-TITLE , |
| ld_i_flg_no_list | TYPE FMDY-XFELD , |
| ld_i_flg_no_overtake | TYPE FMDY-XFELD , |
| ld_i_flg_maint_sequent | TYPE FMDY-XFELD , |
| ld_i_flg_maint_multiple | TYPE FMDY-XFELD , |
| ld_i_flg_del | TYPE FMDY-XFELD , |
| ld_i_flg_check_budget | TYPE FMDY-XFELD , |
| ld_i_maint_funcname | TYPE TFDIR-FUNCNAME , |
| ld_i_prog_varnt | TYPE RSVAR-VARIANT , |
| ld_i_flg_blank_dim_bcs | TYPE FMSLBLNKDIM . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FM_SELECT_MULTIPLE or its description.
FM_SELECT_MULTIPLE - Mass selection of master data FM_SELECT_ACTIV_FLAG_ALL - Check activation of subdivision for every Master Data FM_SELECT_ACTIV_FLAG - Gives the status of the activation of Master Data selected FM_SELECTION_CRITERIA_PRINT - FM_SEARCH_ABADRENV_GENERIC - Search Help Exit for Search Help FM_SEARCH_ABADRENV_FMOA FM_SCAN_DATA_DESCRIPTION -