SAP FS_SIW_EFG_SELECTION_LIST_ALV Function Module for Auswahl von Einträgen









FS_SIW_EFG_SELECTION_LIST_ALV is a standard fs siw efg selection list alv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Auswahl von Einträgen 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 fs siw efg selection list alv FM, simply by entering the name FS_SIW_EFG_SELECTION_LIST_ALV into the relevant SAP transaction such as SE37 or SE38.

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



Function FS_SIW_EFG_SELECTION_LIST_ALV 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 'FS_SIW_EFG_SELECTION_LIST_ALV'"Auswahl von Einträgen
EXPORTING
* I_STR_HEADER = "Header for SELLIST
* I_STR_LAYOUT = "Layout Options for EFG_SELLIST_ALV
* I_SELMODE = CON_SELMODE_SINGLE "
* I_RIF_CALLBACK = "Selection List Interface

IMPORTING
E_STR_SELECTED = "Selection List Structure
E_SELINDEX = "

CHANGING
C_TAB_SELLIST = "Table Type for EFG_STR_SELLIST_ALV

EXCEPTIONS
NOT_QUALIFIED = 1 CANCELLED = 2
.



IMPORTING Parameters details for FS_SIW_EFG_SELECTION_LIST_ALV

I_STR_HEADER - Header for SELLIST

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

I_STR_LAYOUT - Layout Options for EFG_SELLIST_ALV

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

I_SELMODE -

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

I_RIF_CALLBACK - Selection List Interface

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

EXPORTING Parameters details for FS_SIW_EFG_SELECTION_LIST_ALV

E_STR_SELECTED - Selection List Structure

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

E_SELINDEX -

Data type: SY-INDEX
Optional: No
Call by Reference: Yes

CHANGING Parameters details for FS_SIW_EFG_SELECTION_LIST_ALV

C_TAB_SELLIST - Table Type for EFG_STR_SELLIST_ALV

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

EXCEPTIONS details

NOT_QUALIFIED -

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

CANCELLED -

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

Copy and paste ABAP code example for FS_SIW_EFG_SELECTION_LIST_ALV 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_i_str_header  TYPE SIWEFG_STR_SELLIST_ALV_HEADER, "   
lv_c_tab_sellist  TYPE SIWEFG_TAB_SELLIST_ALV, "   
lv_not_qualified  TYPE SIWEFG_TAB_SELLIST_ALV, "   
lv_e_str_selected  TYPE SIWEFG_STR_SELLIST_ALV, "   
lv_cancelled  TYPE SIWEFG_STR_SELLIST_ALV, "   
lv_e_selindex  TYPE SY-INDEX, "   
lv_i_str_layout  TYPE SIWEFG_STR_SELLIST_ALV_LAYOUT, "   
lv_i_selmode  TYPE C, "   CON_SELMODE_SINGLE
lv_i_rif_callback  TYPE IF_SIWEFG_SELLIST_ALV. "   

  CALL FUNCTION 'FS_SIW_EFG_SELECTION_LIST_ALV'  "Auswahl von Einträgen
    EXPORTING
         I_STR_HEADER = lv_i_str_header
         I_STR_LAYOUT = lv_i_str_layout
         I_SELMODE = lv_i_selmode
         I_RIF_CALLBACK = lv_i_rif_callback
    IMPORTING
         E_STR_SELECTED = lv_e_str_selected
         E_SELINDEX = lv_e_selindex
    CHANGING
         C_TAB_SELLIST = lv_c_tab_sellist
    EXCEPTIONS
        NOT_QUALIFIED = 1
        CANCELLED = 2
. " FS_SIW_EFG_SELECTION_LIST_ALV




ABAP code using 7.40 inline data declarations to call FM FS_SIW_EFG_SELECTION_LIST_ALV

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 INDEX FROM SY INTO @DATA(ld_e_selindex).
 
 
DATA(ld_i_selmode) = CON_SELMODE_SINGLE.
 
 


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!