SAP K_KKB_LIST_LAYOUT_INFO_GET Function Module for Layout information for current list returned to caller
K_KKB_LIST_LAYOUT_INFO_GET is a standard k kkb list layout info get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Layout information for current list returned to caller 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 k kkb list layout info get FM, simply by entering the name K_KKB_LIST_LAYOUT_INFO_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: KKBL
Program Name: SAPLKKBL
Main Program: SAPLKKBL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_KKB_LIST_LAYOUT_INFO_GET 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 'K_KKB_LIST_LAYOUT_INFO_GET'"Layout information for current list returned to caller.
IMPORTING
ES_LAYOUT = "
E_WIDTH = "
E_LISTTYPE = "
ET_FIELDCAT = "
ET_SORT = "
ET_FILTER = "
ET_FILTERED_ENTRIES = "
ET_FILTERED_ENTRIES_ITEM = "
ES_LIST_SCROLL = "
E_TABNAME = "
E_TABNAME_SLAVE = "
TABLES
* ET_OUTTAB = "
* ET_COLLECT07 = "
* ET_COLLECT08 = "
* ET_COLLECT09 = "
* ET_OUTTAB_SLAVE = "
* ET_COLLECT00 = "
* ET_COLLECT01 = "
* ET_COLLECT02 = "
* ET_COLLECT03 = "
* ET_COLLECT04 = "
* ET_COLLECT05 = "
* ET_COLLECT06 = "
EXCEPTIONS
NO_INFOS = 1
EXPORTING Parameters details for K_KKB_LIST_LAYOUT_INFO_GET
ES_LAYOUT -
Data type: KKBLO_LAYOUTOptional: No
Call by Reference: No ( called with pass by value option)
E_WIDTH -
Data type: INT4Optional: No
Call by Reference: No ( called with pass by value option)
E_LISTTYPE -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
ET_FIELDCAT -
Data type: KKBLO_T_FIELDCATOptional: No
Call by Reference: No ( called with pass by value option)
ET_SORT -
Data type: KKBLO_T_SORTINFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTER -
Data type: KKBLO_T_FILTEROptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTERED_ENTRIES -
Data type: KKBLO_T_SFINFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTERED_ENTRIES_ITEM -
Data type: KKBLO_T_SFINFOOptional: No
Call by Reference: No ( called with pass by value option)
ES_LIST_SCROLL -
Data type: KKBLO_LIST_SCROLLOptional: No
Call by Reference: No ( called with pass by value option)
E_TABNAME -
Data type: KKBLO_TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_TABNAME_SLAVE -
Data type: KKBLO_TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for K_KKB_LIST_LAYOUT_INFO_GET
ET_OUTTAB -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT07 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT08 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT09 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_OUTTAB_SLAVE -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT00 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT01 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT02 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT03 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT04 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT05 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_COLLECT06 -
Data type: TABLEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_INFOS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_KKB_LIST_LAYOUT_INFO_GET 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_no_infos | TYPE STRING, " | |||
| lv_es_layout | TYPE KKBLO_LAYOUT, " | |||
| lt_et_outtab | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_e_width | TYPE INT4, " | |||
| lt_et_collect07 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_e_listtype | TYPE C, " | |||
| lt_et_collect08 | TYPE STANDARD TABLE OF TABLE, " | |||
| lt_et_collect09 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_et_fieldcat | TYPE KKBLO_T_FIELDCAT, " | |||
| lt_et_outtab_slave | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_et_sort | TYPE KKBLO_T_SORTINFO, " | |||
| lt_et_collect00 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_et_filter | TYPE KKBLO_T_FILTER, " | |||
| lt_et_collect01 | TYPE STANDARD TABLE OF TABLE, " | |||
| lt_et_collect02 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_et_filtered_entries | TYPE KKBLO_T_SFINFO, " | |||
| lt_et_collect03 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_et_filtered_entries_item | TYPE KKBLO_T_SFINFO, " | |||
| lt_et_collect04 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_es_list_scroll | TYPE KKBLO_LIST_SCROLL, " | |||
| lv_e_tabname | TYPE KKBLO_TABNAME, " | |||
| lt_et_collect05 | TYPE STANDARD TABLE OF TABLE, " | |||
| lt_et_collect06 | TYPE STANDARD TABLE OF TABLE, " | |||
| lv_e_tabname_slave | TYPE KKBLO_TABNAME. " |
|   CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_GET' "Layout information for current list returned to caller |
| IMPORTING | ||
| ES_LAYOUT | = lv_es_layout | |
| E_WIDTH | = lv_e_width | |
| E_LISTTYPE | = lv_e_listtype | |
| ET_FIELDCAT | = lv_et_fieldcat | |
| ET_SORT | = lv_et_sort | |
| ET_FILTER | = lv_et_filter | |
| ET_FILTERED_ENTRIES | = lv_et_filtered_entries | |
| ET_FILTERED_ENTRIES_ITEM | = lv_et_filtered_entries_item | |
| ES_LIST_SCROLL | = lv_es_list_scroll | |
| E_TABNAME | = lv_e_tabname | |
| E_TABNAME_SLAVE | = lv_e_tabname_slave | |
| TABLES | ||
| ET_OUTTAB | = lt_et_outtab | |
| ET_COLLECT07 | = lt_et_collect07 | |
| ET_COLLECT08 | = lt_et_collect08 | |
| ET_COLLECT09 | = lt_et_collect09 | |
| ET_OUTTAB_SLAVE | = lt_et_outtab_slave | |
| ET_COLLECT00 | = lt_et_collect00 | |
| ET_COLLECT01 | = lt_et_collect01 | |
| ET_COLLECT02 | = lt_et_collect02 | |
| ET_COLLECT03 | = lt_et_collect03 | |
| ET_COLLECT04 | = lt_et_collect04 | |
| ET_COLLECT05 | = lt_et_collect05 | |
| ET_COLLECT06 | = lt_et_collect06 | |
| EXCEPTIONS | ||
| NO_INFOS = 1 | ||
| . " K_KKB_LIST_LAYOUT_INFO_GET | ||
ABAP code using 7.40 inline data declarations to call FM K_KKB_LIST_LAYOUT_INFO_GET
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