SAP MINI_TABLE_FOR_DISPLAY Function Module for
MINI_TABLE_FOR_DISPLAY is a standard mini table for display 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 mini table for display FM, simply by entering the name MINI_TABLE_FOR_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: SLVC_WAO
Program Name: SAPLSLVC_WAO
Main Program: SAPLSLVC_WAO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MINI_TABLE_FOR_DISPLAY 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 'MINI_TABLE_FOR_DISPLAY'".
EXPORTING
IT_FIELDCAT = "
* IT_SORT = "
* IS_LAYOUT = "
* IS_LAYOUT2 = "
* I_LIST_TITLE = "
TABLES
* IT_FCAT_HLINK = "
* IT_HLINKS = "
IT_DATA = "
* IT_COLLECT00 = "
* ET_LVC_INFO = "
* ET_LVC_DATA = "
EXCEPTIONS
FIELDCAT_NOT_COMPLETE = 1
IMPORTING Parameters details for MINI_TABLE_FOR_DISPLAY
IT_FIELDCAT -
Data type: KKBLO_T_FIELDCATOptional: No
Call by Reference: Yes
IT_SORT -
Data type: KKBLO_T_SORTINFOOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_LAYOUT -
Data type: KKBLO_LAYOUTOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_LAYOUT2 -
Data type: LVC_S_LAY2_WAOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LIST_TITLE -
Data type: WAOMA_LVC_TITLEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MINI_TABLE_FOR_DISPLAY
IT_FCAT_HLINK -
Data type: LVC_S_FC2_WAOOptional: Yes
Call by Reference: Yes
IT_HLINKS -
Data type: LVC_S_HYPE_WAOOptional: Yes
Call by Reference: Yes
IT_DATA -
Data type:Optional: No
Call by Reference: Yes
IT_COLLECT00 -
Data type:Optional: Yes
Call by Reference: Yes
ET_LVC_INFO -
Data type: LVC_S_INFO_WAOOptional: Yes
Call by Reference: Yes
ET_LVC_DATA -
Data type: LVC_S_DATA_WAOOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
FIELDCAT_NOT_COMPLETE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for MINI_TABLE_FOR_DISPLAY 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_it_fieldcat | TYPE KKBLO_T_FIELDCAT, " | |||
| lt_it_fcat_hlink | TYPE STANDARD TABLE OF LVC_S_FC2_WAO, " | |||
| lv_fieldcat_not_complete | TYPE LVC_S_FC2_WAO, " | |||
| lv_it_sort | TYPE KKBLO_T_SORTINFO, " | |||
| lt_it_hlinks | TYPE STANDARD TABLE OF LVC_S_HYPE_WAO, " | |||
| lt_it_data | TYPE STANDARD TABLE OF LVC_S_HYPE_WAO, " | |||
| lv_is_layout | TYPE KKBLO_LAYOUT, " | |||
| lv_is_layout2 | TYPE LVC_S_LAY2_WAO, " | |||
| lt_it_collect00 | TYPE STANDARD TABLE OF LVC_S_LAY2_WAO, " | |||
| lt_et_lvc_info | TYPE STANDARD TABLE OF LVC_S_INFO_WAO, " | |||
| lv_i_list_title | TYPE WAOMA_LVC_TITLE, " | |||
| lt_et_lvc_data | TYPE STANDARD TABLE OF LVC_S_DATA_WAO. " |
|   CALL FUNCTION 'MINI_TABLE_FOR_DISPLAY' " |
| EXPORTING | ||
| IT_FIELDCAT | = lv_it_fieldcat | |
| IT_SORT | = lv_it_sort | |
| IS_LAYOUT | = lv_is_layout | |
| IS_LAYOUT2 | = lv_is_layout2 | |
| I_LIST_TITLE | = lv_i_list_title | |
| TABLES | ||
| IT_FCAT_HLINK | = lt_it_fcat_hlink | |
| IT_HLINKS | = lt_it_hlinks | |
| IT_DATA | = lt_it_data | |
| IT_COLLECT00 | = lt_it_collect00 | |
| ET_LVC_INFO | = lt_et_ltc_info | |
| ET_LVC_DATA | = lt_et_ltc_data | |
| EXCEPTIONS | ||
| FIELDCAT_NOT_COMPLETE = 1 | ||
| . " MINI_TABLE_FOR_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM MINI_TABLE_FOR_DISPLAY
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.Search for further information about these or an SAP related objects