SAP ALV_INTERFACE_CHECK Function Module for









ALV_INTERFACE_CHECK is a standard alv interface check 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 alv interface check FM, simply by entering the name ALV_INTERFACE_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function ALV_INTERFACE_CHECK 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 'ALV_INTERFACE_CHECK'"
EXPORTING
* I_CALLBACK_PROGRAM = "EXIT program
* 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_CALLBACK_END_OF_COVERPAGE = "
* I_CALLBACK_ITEM_DATA_EXPAND = "
* I_CALLBACK_HEADER_TRANSPORT = "
* I_CALLBACK_USER_COMMAND = "EXIT routine for command handling
* I_TABNAME_MASTER = "
* I_TABNAME_SLAVE = "
* IS_KEYINFO = "
* IS_LAYOUT = "List Layout Specifications
* IT_FIELDCAT = "Field Catalog with Field Descriptions
* 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 = "
* I_CALLBACK_TOP_OF_PAGE = "EXIT routine for TOP-OF-PAGE display
* IT_EVENT_EXIT = "
* IS_SEL_HIDE = "Selection information modification
* I_SCREEN_START_COLUMN = 0 "Coordinates for list in dialog box
* I_SCREEN_START_LINE = 0 "Coordinates for list in dialog box
* I_SCREEN_END_COLUMN = 0 "Coordinates for list in dialog box
* I_SCREEN_END_LINE = 0 "Coordinates for list in dialog box
* I_LISTTYPE = "Single-Character Flag
* IT_EXCEPT_QINFO = "
* IR_SALV_ADAPTER = "
* I_CALLBACK_TOP_OF_LIST = "
* I_CALLBACK_END_OF_LIST = "EXIT routine after the actual list display
* I_CALLBACK_END_OF_PAGE = "
* I_CALLBACK_PF_STATUS_SET = "Set EXIT routine to status
* I_CALLBACK_LAYOUT_SAVE = "not yet supported
* I_CALLBACK_FIELDCAT_SAVE = "EXIT routine for field catalog storage

TABLES
* T_OUTTAB_MASTER = "
* T_OUTTAB_SLAVE = "

EXCEPTIONS
X_MESSAGE = 1
.



IMPORTING Parameters details for ALV_INTERFACE_CHECK

I_CALLBACK_PROGRAM - EXIT program

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

I_CALLBACK_GROUPLEVEL_CHANGE -

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

I_CALLBACK_BEFORE_LINE_OUTPUT -

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

I_CALLBACK_AFTER_LINE_OUTPUT -

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

I_CALLBACK_FOREIGN_TOP_OF_PAGE -

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

I_CALLBACK_FOREIGN_END_OF_PAGE -

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

I_CALLBACK_LIST_MODIFY -

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

I_CALLBACK_TOP_OF_COVERPAGE -

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

I_CALLBACK_END_OF_COVERPAGE -

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

I_CALLBACK_ITEM_DATA_EXPAND -

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

I_CALLBACK_HEADER_TRANSPORT -

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

I_CALLBACK_USER_COMMAND - EXIT routine for command handling

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

I_TABNAME_MASTER -

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

I_TABNAME_SLAVE -

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

IS_KEYINFO -

Data type: KKBLO_KEYINFO
Optional: Yes
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: Yes
Call by Reference: No ( called with pass by value option)

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

Data type: CHAR1
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)

I_CALLBACK_TOP_OF_PAGE - EXIT routine for TOP-OF-PAGE display

Data type: KKBLO_FORMNAME
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)

I_SCREEN_START_COLUMN - Coordinates for list in dialog box

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

I_SCREEN_START_LINE - Coordinates for list in dialog box

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

I_SCREEN_END_COLUMN - Coordinates for list in dialog box

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

I_SCREEN_END_LINE - Coordinates for list in dialog box

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

I_LISTTYPE - Single-Character Flag

Data type: CHAR1
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)

IR_SALV_ADAPTER -

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

I_CALLBACK_TOP_OF_LIST -

Data type: KKBLO_FORMNAME
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: KKBLO_FORMNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CALLBACK_END_OF_PAGE -

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

I_CALLBACK_PF_STATUS_SET - Set EXIT routine to status

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

I_CALLBACK_LAYOUT_SAVE - not yet supported

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

I_CALLBACK_FIELDCAT_SAVE - EXIT routine for field catalog storage

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

TABLES Parameters details for ALV_INTERFACE_CHECK

T_OUTTAB_MASTER -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

T_OUTTAB_SLAVE -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

X_MESSAGE -

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

Copy and paste ABAP code example for ALV_INTERFACE_CHECK 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_x_message  TYPE STRING, "   
lt_t_outtab_master  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_i_callback_program  TYPE SYREPID, "   
lv_i_callback_grouplevel_change  TYPE KKBLO_FORMNAME, "   
lv_i_callback_before_line_output  TYPE KKBLO_FORMNAME, "   
lv_i_callback_after_line_output  TYPE KKBLO_FORMNAME, "   
lv_i_callback_foreign_top_of_page  TYPE KKBLO_FORMNAME, "   
lv_i_callback_foreign_end_of_page  TYPE KKBLO_FORMNAME, "   
lv_i_callback_list_modify  TYPE KKBLO_FORMNAME, "   
lv_i_callback_top_of_coverpage  TYPE KKBLO_FORMNAME, "   
lv_i_callback_end_of_coverpage  TYPE KKBLO_FORMNAME, "   
lv_i_callback_item_data_expand  TYPE KKBLO_FORMNAME, "   
lv_i_callback_header_transport  TYPE KKBLO_FORMNAME, "   
lt_t_outtab_slave  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_i_callback_user_command  TYPE KKBLO_FORMNAME, "   
lv_i_tabname_master  TYPE KKBLO_TABNAME, "   
lv_i_tabname_slave  TYPE KKBLO_TABNAME, "   
lv_is_keyinfo  TYPE KKBLO_KEYINFO, "   
lv_is_layout  TYPE KKBLO_LAYOUT, "   
lv_it_fieldcat  TYPE KKBLO_T_FIELDCAT, "   
lv_i_fctype  TYPE CHAR1, "   '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_i_callback_top_of_page  TYPE KKBLO_FORMNAME, "   
lv_it_event_exit  TYPE KKBLO_T_EVENT_EXIT, "   
lv_is_sel_hide  TYPE KKBLO_SEL_HIDE, "   
lv_i_screen_start_column  TYPE I, "   0
lv_i_screen_start_line  TYPE I, "   0
lv_i_screen_end_column  TYPE I, "   0
lv_i_screen_end_line  TYPE I, "   0
lv_i_listtype  TYPE CHAR1, "   
lv_it_except_qinfo  TYPE KKBLO_T_QINFO, "   
lv_ir_salv_adapter  TYPE IF_SALV_ADAPTER, "   
lv_i_callback_top_of_list  TYPE KKBLO_FORMNAME, "   
lv_i_callback_end_of_list  TYPE KKBLO_FORMNAME, "   
lv_i_callback_end_of_page  TYPE KKBLO_FORMNAME, "   
lv_i_callback_pf_status_set  TYPE KKBLO_FORMNAME, "   
lv_i_callback_layout_save  TYPE KKBLO_FORMNAME, "   
lv_i_callback_fieldcat_save  TYPE KKBLO_FORMNAME. "   

  CALL FUNCTION 'ALV_INTERFACE_CHECK'  "
    EXPORTING
         I_CALLBACK_PROGRAM = lv_i_callback_program
         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_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_USER_COMMAND = lv_i_callback_user_command
         I_TABNAME_MASTER = lv_i_tabname_master
         I_TABNAME_SLAVE = lv_i_tabname_slave
         IS_KEYINFO = lv_is_keyinfo
         IS_LAYOUT = lv_is_layout
         IT_FIELDCAT = lv_it_fieldcat
         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
         I_CALLBACK_TOP_OF_PAGE = lv_i_callback_top_of_page
         IT_EVENT_EXIT = lv_it_event_exit
         IS_SEL_HIDE = lv_is_sel_hide
         I_SCREEN_START_COLUMN = lv_i_screen_start_column
         I_SCREEN_START_LINE = lv_i_screen_start_line
         I_SCREEN_END_COLUMN = lv_i_screen_end_column
         I_SCREEN_END_LINE = lv_i_screen_end_line
         I_LISTTYPE = lv_i_listtype
         IT_EXCEPT_QINFO = lv_it_except_qinfo
         IR_SALV_ADAPTER = lv_ir_salv_adapter
         I_CALLBACK_TOP_OF_LIST = lv_i_callback_top_of_list
         I_CALLBACK_END_OF_LIST = lv_i_callback_end_of_list
         I_CALLBACK_END_OF_PAGE = lv_i_callback_end_of_page
         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
    TABLES
         T_OUTTAB_MASTER = lt_t_outtab_master
         T_OUTTAB_SLAVE = lt_t_outtab_slave
    EXCEPTIONS
        X_MESSAGE = 1
. " ALV_INTERFACE_CHECK




ABAP code using 7.40 inline data declarations to call FM ALV_INTERFACE_CHECK

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'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!