SAP SUSR_POPUP_LIST_WITH_TEXT Function Module for
SUSR_POPUP_LIST_WITH_TEXT is a standard susr popup list with text 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 susr popup list with text FM, simply by entering the name SUSR_POPUP_LIST_WITH_TEXT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUU5
Program Name: SAPLSUU5
Main Program: SAPLSUU5
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SUSR_POPUP_LIST_WITH_TEXT 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 'SUSR_POPUP_LIST_WITH_TEXT'".
EXPORTING
* TEXT1 = "
* IV_COLUMN = "
* IV_LINES = "
* IV_SELECTION_MODE = "
* TEXT2 = "
* TEXT3 = "
* TEXT4 = "
* LIST_COLUMN_HEADERS = "
* ICONS = ' ' "
* GRID_TITLE = "
* USE_ANY_TABLE = ' ' "
* ANY_TABLE_HEADERS = "
IMPORTING
OK_CODE = "
ET_SELECTED_ROWS = "
TABLES
* LIST = "
* ICON_LIST = "
* POPUP_LIST_1 = "
* POPUP_LIST_2 = "
* POPUP_LIST_3 = "
* POPUP_LIST_4 = "
* POPUP_LIST_5 = "
* POPUP_LIST_6 = "
* POPUP_LIST_7 = "
* POPUP_LIST_8 = "
IMPORTING Parameters details for SUSR_POPUP_LIST_WITH_TEXT
TEXT1 -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_COLUMN -
Data type: IOptional: Yes
Call by Reference: Yes
IV_LINES -
Data type: IOptional: Yes
Call by Reference: Yes
IV_SELECTION_MODE -
Data type: CHAR01Optional: Yes
Call by Reference: Yes
TEXT2 -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
TEXT3 -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
TEXT4 -
Data type: ANYOptional: Yes
Call by Reference: No ( called with pass by value option)
LIST_COLUMN_HEADERS -
Data type: SUSR_POPUP_LIST_CLN_HEADERSOptional: Yes
Call by Reference: No ( called with pass by value option)
ICONS -
Data type: CHAR01Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GRID_TITLE -
Data type: LVC_TITLEOptional: Yes
Call by Reference: Yes
USE_ANY_TABLE -
Data type: CHAR01Default: SPACE
Optional: Yes
Call by Reference: Yes
ANY_TABLE_HEADERS -
Data type: SUSR_T_POPLIST_HEADERSOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SUSR_POPUP_LIST_WITH_TEXT
OK_CODE -
Data type: ANYOptional: No
Call by Reference: No ( called with pass by value option)
ET_SELECTED_ROWS -
Data type: SALV_T_ROWOptional: No
Call by Reference: Yes
TABLES Parameters details for SUSR_POPUP_LIST_WITH_TEXT
LIST -
Data type: STANDARD TABLEOptional: Yes
Call by Reference: Yes
ICON_LIST -
Data type: SUSR_POPUP_LIST_ICONOptional: Yes
Call by Reference: Yes
POPUP_LIST_1 -
Data type: SUSR_POPUP_LIST_1Optional: Yes
Call by Reference: Yes
POPUP_LIST_2 -
Data type: SUSR_POPUP_LIST_2Optional: Yes
Call by Reference: Yes
POPUP_LIST_3 -
Data type: SUSR_POPUP_LIST_3Optional: Yes
Call by Reference: Yes
POPUP_LIST_4 -
Data type: SUSR_POPUP_LIST_4Optional: Yes
Call by Reference: Yes
POPUP_LIST_5 -
Data type: SUSR_POPUP_LIST_5Optional: Yes
Call by Reference: Yes
POPUP_LIST_6 -
Data type: SUSR_POPUP_LIST_6Optional: Yes
Call by Reference: Yes
POPUP_LIST_7 -
Data type: SUSR_POPUP_LIST_7Optional: Yes
Call by Reference: Yes
POPUP_LIST_8 -
Data type: SUSR_POPUP_LIST_8Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SUSR_POPUP_LIST_WITH_TEXT 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_list | TYPE STANDARD TABLE OF STANDARD TABLE, " | |||
| lv_text1 | TYPE ANY, " | |||
| lv_ok_code | TYPE ANY, " | |||
| lt_icon_list | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_ICON, " | |||
| lv_iv_column | TYPE I, " | |||
| lv_iv_lines | TYPE I, " | |||
| lv_iv_selection_mode | TYPE CHAR01, " | |||
| lv_text2 | TYPE ANY, " | |||
| lt_popup_list_1 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_1, " | |||
| lv_et_selected_rows | TYPE SALV_T_ROW, " | |||
| lv_text3 | TYPE ANY, " | |||
| lt_popup_list_2 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_2, " | |||
| lv_text4 | TYPE ANY, " | |||
| lt_popup_list_3 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_3, " | |||
| lt_popup_list_4 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_4, " | |||
| lv_list_column_headers | TYPE SUSR_POPUP_LIST_CLN_HEADERS, " | |||
| lv_icons | TYPE CHAR01, " SPACE | |||
| lt_popup_list_5 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_5, " | |||
| lv_grid_title | TYPE LVC_TITLE, " | |||
| lt_popup_list_6 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_6, " | |||
| lt_popup_list_7 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_7, " | |||
| lv_use_any_table | TYPE CHAR01, " SPACE | |||
| lt_popup_list_8 | TYPE STANDARD TABLE OF SUSR_POPUP_LIST_8, " | |||
| lv_any_table_headers | TYPE SUSR_T_POPLIST_HEADERS. " |
|   CALL FUNCTION 'SUSR_POPUP_LIST_WITH_TEXT' " |
| EXPORTING | ||
| TEXT1 | = lv_text1 | |
| IV_COLUMN | = lv_iv_column | |
| IV_LINES | = lv_iv_lines | |
| IV_SELECTION_MODE | = lv_iv_selection_mode | |
| TEXT2 | = lv_text2 | |
| TEXT3 | = lv_text3 | |
| TEXT4 | = lv_text4 | |
| LIST_COLUMN_HEADERS | = lv_list_column_headers | |
| ICONS | = lv_icons | |
| GRID_TITLE | = lv_grid_title | |
| USE_ANY_TABLE | = lv_use_any_table | |
| ANY_TABLE_HEADERS | = lv_any_table_headers | |
| IMPORTING | ||
| OK_CODE | = lv_ok_code | |
| ET_SELECTED_ROWS | = lv_et_selected_rows | |
| TABLES | ||
| LIST | = lt_list | |
| ICON_LIST | = lt_icon_list | |
| POPUP_LIST_1 | = lt_popup_list_1 | |
| POPUP_LIST_2 | = lt_popup_list_2 | |
| POPUP_LIST_3 | = lt_popup_list_3 | |
| POPUP_LIST_4 | = lt_popup_list_4 | |
| POPUP_LIST_5 | = lt_popup_list_5 | |
| POPUP_LIST_6 | = lt_popup_list_6 | |
| POPUP_LIST_7 | = lt_popup_list_7 | |
| POPUP_LIST_8 | = lt_popup_list_8 | |
| . " SUSR_POPUP_LIST_WITH_TEXT | ||
ABAP code using 7.40 inline data declarations to call FM SUSR_POPUP_LIST_WITH_TEXT
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_icons) | = ' '. | |||
| DATA(ld_use_any_table) | = ' '. | |||
Search for further information about these or an SAP related objects