SAP K_KKB_HIER_SEQU_LIST_DISPLAY Function Module for









K_KKB_HIER_SEQU_LIST_DISPLAY is a standard k kkb hier sequ list 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 k kkb hier sequ list display FM, simply by entering the name K_KKB_HIER_SEQU_LIST_DISPLAY 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_HIER_SEQU_LIST_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 'K_KKB_HIER_SEQU_LIST_DISPLAY'"
EXPORTING
* I_BYPASSING_BUFFER = "Character Field Length 1
* I_CALLBACK_PF_STATUS_SET = "Set EXIT rountine to status
* I_CALLBACK_LAYOUT_SAVE = "not yet supported
* I_CALLBACK_FIELDCAT_SAVE = "EXIT routine for field catalog storage
* I_CALLBACK_GROUPLEVEL_CHANGE = "
* I_CALLBACK_BEFORE_LINE_OUTPUT = "
* I_CALLBACK_AFTER_LINE_OUTPUT = "
* I_CALLBACK_FOREIGN_TOP_OF_PAGE = "
* I_CALLBACK_FOREIGN_END_OF_PAGE = "
* I_CALLBACK_LIST_MODIFY = "
* I_CALLBACK_TOP_OF_COVERPAGE = "
* I_BUFFER_ACTIVE = "Character Field Length 1
* I_CALLBACK_END_OF_COVERPAGE = "
* I_CALLBACK_ITEM_DATA_EXPAND = "
* I_CALLBACK_HEADER_TRANSPORT = "
* I_CALLBACK_REPREP_SEL_MODIFY = "
I_TABNAME_MASTER = "Name of table to be displayed (header)
I_TABNAME_SLAVE = "Name of table to be displayed (items)
* I_OO_ALV = "Single-Character Flag
IS_KEYINFO = "Foreign key dependency for master-slave table
* IS_LAYOUT = "List layout specifications
IT_FIELDCAT = "Field catalog with field descriptions
* I_INTERFACE_CHECK = "Character Field Length 1
* I_FCTYPE = 'R' "Field catalog type (M)odify (R)eplace
* IT_EXCLUDING = "Excluding FCodes in standard user interface
* IT_SPECIAL_GROUPS = "Grouping fields for column selection
* IT_SORT = "Sort criteria for first list display
* IT_FILTER = "
* IT_EVENT_EXIT = "
* IS_SEL_HIDE = "Selection information modification
* IS_REPREP_ID = "
* I_SCREEN_START_COLUMN = 0 "Coordinates for list in dialog box
* I_SCREEN_START_LINE = 0 "Coordinates for list in dialog box
* I_EXPORT = "Character Field Length 1
* I_SCREEN_END_COLUMN = 0 "Coordinates for list in dialog box
* I_SCREEN_END_LINE = 0 "Coordinates for list in dialog box
* IR_SALV_ADAPTER = "
* IT_EXCEPT_QINFO = "
* I_SUPPRESS_EMPTY_DATA = ABAP_FALSE "
I_CALLBACK_PROGRAM = "EXIT program
* I_CALLBACK_USER_COMMAND = "EXIT routine to command treatment
* I_CALLBACK_TOP_OF_PAGE = "EXIT routine for TOP-OF-PAGE display
* I_CALLBACK_TOP_OF_LIST = "
* I_CALLBACK_END_OF_LIST = "EXIT routine after the actual list display

IMPORTING
E_EXIT_CAUSED_BY_CALLER = "Single-Character Flag
ES_EXIT_CAUSED_BY_USER = "

TABLES
T_OUTTAB_MASTER = "Table with data to be displayed (header)
T_OUTTAB_SLAVE = "Table with data to be displayed (items)
.



IMPORTING Parameters details for K_KKB_HIER_SEQU_LIST_DISPLAY

I_BYPASSING_BUFFER - Character Field Length 1

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

I_CALLBACK_PF_STATUS_SET - Set EXIT rountine to status

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

I_CALLBACK_LAYOUT_SAVE - not yet supported

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

I_CALLBACK_FIELDCAT_SAVE - EXIT routine for field catalog storage

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

I_CALLBACK_GROUPLEVEL_CHANGE -

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

I_CALLBACK_BEFORE_LINE_OUTPUT -

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

I_CALLBACK_AFTER_LINE_OUTPUT -

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

I_CALLBACK_FOREIGN_TOP_OF_PAGE -

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

I_CALLBACK_FOREIGN_END_OF_PAGE -

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

I_CALLBACK_LIST_MODIFY -

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

I_CALLBACK_TOP_OF_COVERPAGE -

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

I_BUFFER_ACTIVE - Character Field Length 1

Data type:
Optional: Yes
Call by Reference: Yes

I_CALLBACK_END_OF_COVERPAGE -

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

I_CALLBACK_ITEM_DATA_EXPAND -

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

I_CALLBACK_HEADER_TRANSPORT -

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

I_CALLBACK_REPREP_SEL_MODIFY -

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

I_TABNAME_MASTER - Name of table to be displayed (header)

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

I_TABNAME_SLAVE - Name of table to be displayed (items)

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

I_OO_ALV - Single-Character Flag

Data type:
Optional: Yes
Call by Reference: Yes

IS_KEYINFO - Foreign key dependency for master-slave table

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

IS_LAYOUT - List layout specifications

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

IT_FIELDCAT - Field catalog with field descriptions

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

I_INTERFACE_CHECK - Character Field Length 1

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

I_FCTYPE - Field catalog type (M)odify (R)eplace

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

IT_EXCLUDING - Excluding FCodes in standard user interface

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

IT_SPECIAL_GROUPS - Grouping fields for column selection

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

IT_SORT - Sort criteria for first list display

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

IT_FILTER -

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

IT_EVENT_EXIT -

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

IS_SEL_HIDE - Selection information modification

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

IS_REPREP_ID -

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

I_SCREEN_START_COLUMN - Coordinates for list in dialog box

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

I_SCREEN_START_LINE - Coordinates for list in dialog box

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

I_EXPORT - Character Field Length 1

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

I_SCREEN_END_COLUMN - Coordinates for list in dialog box

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

I_SCREEN_END_LINE - Coordinates for list in dialog box

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

IR_SALV_ADAPTER -

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

IT_EXCEPT_QINFO -

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

I_SUPPRESS_EMPTY_DATA -

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

I_CALLBACK_PROGRAM - EXIT program

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

I_CALLBACK_USER_COMMAND - EXIT routine to command treatment

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

I_CALLBACK_TOP_OF_PAGE - EXIT routine for TOP-OF-PAGE display

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

I_CALLBACK_TOP_OF_LIST -

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

I_CALLBACK_END_OF_LIST - EXIT routine after the actual list display

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

EXPORTING Parameters details for K_KKB_HIER_SEQU_LIST_DISPLAY

E_EXIT_CAUSED_BY_CALLER - Single-Character Flag

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

ES_EXIT_CAUSED_BY_USER -

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

TABLES Parameters details for K_KKB_HIER_SEQU_LIST_DISPLAY

T_OUTTAB_MASTER - Table with data to be displayed (header)

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

T_OUTTAB_SLAVE - Table with data to be displayed (items)

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

Copy and paste ABAP code example for K_KKB_HIER_SEQU_LIST_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:
lt_t_outtab_master  TYPE STANDARD TABLE OF STRING, "   
lv_i_bypassing_buffer  TYPE CHAR01, "   
lv_e_exit_caused_by_caller  TYPE CHAR1, "   
lv_i_callback_pf_status_set  TYPE CHAR1, "   
lv_i_callback_layout_save  TYPE CHAR1, "   
lv_i_callback_fieldcat_save  TYPE CHAR1, "   
lv_i_callback_grouplevel_change  TYPE CHAR1, "   
lv_i_callback_before_line_output  TYPE CHAR1, "   
lv_i_callback_after_line_output  TYPE CHAR1, "   
lv_i_callback_foreign_top_of_page  TYPE CHAR1, "   
lv_i_callback_foreign_end_of_page  TYPE CHAR1, "   
lv_i_callback_list_modify  TYPE CHAR1, "   
lv_i_callback_top_of_coverpage  TYPE CHAR1, "   
lt_t_outtab_slave  TYPE STANDARD TABLE OF CHAR1, "   
lv_i_buffer_active  TYPE CHAR1, "   
lv_es_exit_caused_by_user  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_callback_end_of_coverpage  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_callback_item_data_expand  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_callback_header_transport  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_callback_reprep_sel_modify  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_tabname_master  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_tabname_slave  TYPE KKBLO_EXIT_BY_USER, "   
lv_i_oo_alv  TYPE KKBLO_EXIT_BY_USER, "   
lv_is_keyinfo  TYPE KKBLO_KEYINFO, "   
lv_is_layout  TYPE KKBLO_LAYOUT, "   
lv_it_fieldcat  TYPE KKBLO_T_FIELDCAT, "   
lv_i_interface_check  TYPE KKBLO_T_FIELDCAT, "   
lv_i_fctype  TYPE KKBLO_T_FIELDCAT, "   'R'
lv_it_excluding  TYPE KKBLO_T_EXTAB, "   
lv_it_special_groups  TYPE KKBLO_T_SP_GROUP, "   
lv_it_sort  TYPE KKBLO_T_SORTINFO, "   
lv_it_filter  TYPE KKBLO_T_FILTER, "   
lv_it_event_exit  TYPE KKBLO_T_EVENT_EXIT, "   
lv_is_sel_hide  TYPE KKBLO_SEL_HIDE, "   
lv_is_reprep_id  TYPE KKBLO_REPREP_ID, "   
lv_i_screen_start_column  TYPE KKBLO_REPREP_ID, "   0
lv_i_screen_start_line  TYPE KKBLO_REPREP_ID, "   0
lv_i_export  TYPE KKBLO_REPREP_ID, "   
lv_i_screen_end_column  TYPE KKBLO_REPREP_ID, "   0
lv_i_screen_end_line  TYPE KKBLO_REPREP_ID, "   0
lv_ir_salv_adapter  TYPE IF_SALV_ADAPTER, "   
lv_it_except_qinfo  TYPE KKBLO_T_QINFO, "   
lv_i_suppress_empty_data  TYPE SAP_BOOL, "   ABAP_FALSE
lv_i_callback_program  TYPE SY-REPID, "   
lv_i_callback_user_command  TYPE SY, "   
lv_i_callback_top_of_page  TYPE SY, "   
lv_i_callback_top_of_list  TYPE SY, "   
lv_i_callback_end_of_list  TYPE SY. "   

  CALL FUNCTION 'K_KKB_HIER_SEQU_LIST_DISPLAY'  "
    EXPORTING
         I_BYPASSING_BUFFER = lv_i_bypassing_buffer
         I_CALLBACK_PF_STATUS_SET = lv_i_callback_pf_status_set
         I_CALLBACK_LAYOUT_SAVE = lv_i_callback_layout_save
         I_CALLBACK_FIELDCAT_SAVE = lv_i_callback_fieldcat_save
         I_CALLBACK_GROUPLEVEL_CHANGE = lv_i_callback_grouplevel_change
         I_CALLBACK_BEFORE_LINE_OUTPUT = lv_i_callback_before_line_output
         I_CALLBACK_AFTER_LINE_OUTPUT = lv_i_callback_after_line_output
         I_CALLBACK_FOREIGN_TOP_OF_PAGE = lv_i_callback_foreign_top_of_page
         I_CALLBACK_FOREIGN_END_OF_PAGE = lv_i_callback_foreign_end_of_page
         I_CALLBACK_LIST_MODIFY = lv_i_callback_list_modify
         I_CALLBACK_TOP_OF_COVERPAGE = lv_i_callback_top_of_coverpage
         I_BUFFER_ACTIVE = lv_i_buffer_active
         I_CALLBACK_END_OF_COVERPAGE = lv_i_callback_end_of_coverpage
         I_CALLBACK_ITEM_DATA_EXPAND = lv_i_callback_item_data_expand
         I_CALLBACK_HEADER_TRANSPORT = lv_i_callback_header_transport
         I_CALLBACK_REPREP_SEL_MODIFY = lv_i_callback_reprep_sel_modify
         I_TABNAME_MASTER = lv_i_tabname_master
         I_TABNAME_SLAVE = lv_i_tabname_slave
         I_OO_ALV = lv_i_oo_alv
         IS_KEYINFO = lv_is_keyinfo
         IS_LAYOUT = lv_is_layout
         IT_FIELDCAT = lv_it_fieldcat
         I_INTERFACE_CHECK = lv_i_interface_check
         I_FCTYPE = lv_i_fctype
         IT_EXCLUDING = lv_it_excluding
         IT_SPECIAL_GROUPS = lv_it_special_groups
         IT_SORT = lv_it_sort
         IT_FILTER = lv_it_filter
         IT_EVENT_EXIT = lv_it_event_exit
         IS_SEL_HIDE = lv_is_sel_hide
         IS_REPREP_ID = lv_is_reprep_id
         I_SCREEN_START_COLUMN = lv_i_screen_start_column
         I_SCREEN_START_LINE = lv_i_screen_start_line
         I_EXPORT = lv_i_export
         I_SCREEN_END_COLUMN = lv_i_screen_end_column
         I_SCREEN_END_LINE = lv_i_screen_end_line
         IR_SALV_ADAPTER = lv_ir_salv_adapter
         IT_EXCEPT_QINFO = lv_it_except_qinfo
         I_SUPPRESS_EMPTY_DATA = lv_i_suppress_empty_data
         I_CALLBACK_PROGRAM = lv_i_callback_program
         I_CALLBACK_USER_COMMAND = lv_i_callback_user_command
         I_CALLBACK_TOP_OF_PAGE = lv_i_callback_top_of_page
         I_CALLBACK_TOP_OF_LIST = lv_i_callback_top_of_list
         I_CALLBACK_END_OF_LIST = lv_i_callback_end_of_list
    IMPORTING
         E_EXIT_CAUSED_BY_CALLER = lv_e_exit_caused_by_caller
         ES_EXIT_CAUSED_BY_USER = lv_es_exit_caused_by_user
    TABLES
         T_OUTTAB_MASTER = lt_t_outtab_master
         T_OUTTAB_SLAVE = lt_t_outtab_slave
. " K_KKB_HIER_SEQU_LIST_DISPLAY




ABAP code using 7.40 inline data declarations to call FM K_KKB_HIER_SEQU_LIST_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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_fctype) = 'R'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_suppress_empty_data) = ABAP_FALSE.
 
"SELECT single REPID FROM SY INTO @DATA(ld_i_callback_program).
 
 
 
 
 


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!