SAP K_KKB_SELECTIONS_DISPLAY Function Module for









K_KKB_SELECTIONS_DISPLAY is a standard k kkb selections 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 selections display FM, simply by entering the name K_KKB_SELECTIONS_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function K_KKB_SELECTIONS_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_SELECTIONS_DISPLAY'"
EXPORTING
* WITHOUT_SIGN = 'X' "
* WITHOUT_OPTION = 'X' "
* WITHOUT_TYPE = 'X' "
* STARTROW = 1 "
* STARTCOL = 1 "
* IMINLENGTH = "
ISETAB = "
* ITITLE = "
* INOPRINT = ' ' "

TABLES
* IHEADER = "

EXCEPTIONS
NO_SELECTIONS = 1
.



IMPORTING Parameters details for K_KKB_SELECTIONS_DISPLAY

WITHOUT_SIGN -

Data type: TKKB1-FEH
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WITHOUT_OPTION -

Data type: TKKB1-FEH
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WITHOUT_TYPE -

Data type: TKKB1-FEH
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

STARTROW -

Data type: SY-CUROW
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

STARTCOL -

Data type: SY-CUCOL
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

IMINLENGTH -

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

ISETAB -

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

ITITLE -

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

INOPRINT -

Data type: TKKB1-HIE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for K_KKB_SELECTIONS_DISPLAY

IHEADER -

Data type: KKB01_XHEADER
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_SELECTIONS -

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

Copy and paste ABAP code example for K_KKB_SELECTIONS_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_iheader  TYPE STANDARD TABLE OF KKB01_XHEADER, "   
lv_without_sign  TYPE TKKB1-FEH, "   'X'
lv_no_selections  TYPE TKKB1, "   
lv_without_option  TYPE TKKB1-FEH, "   'X'
lv_without_type  TYPE TKKB1-FEH, "   'X'
lv_startrow  TYPE SY-CUROW, "   1
lv_startcol  TYPE SY-CUCOL, "   1
lv_iminlength  TYPE SY-TABIX, "   
lv_isetab  TYPE KKB02_SELDIS, "   
lv_ititle  TYPE KKB02_SELDIS, "   
lv_inoprint  TYPE TKKB1-HIE. "   SPACE

  CALL FUNCTION 'K_KKB_SELECTIONS_DISPLAY'  "
    EXPORTING
         WITHOUT_SIGN = lv_without_sign
         WITHOUT_OPTION = lv_without_option
         WITHOUT_TYPE = lv_without_type
         STARTROW = lv_startrow
         STARTCOL = lv_startcol
         IMINLENGTH = lv_iminlength
         ISETAB = lv_isetab
         ITITLE = lv_ititle
         INOPRINT = lv_inoprint
    TABLES
         IHEADER = lt_iheader
    EXCEPTIONS
        NO_SELECTIONS = 1
. " K_KKB_SELECTIONS_DISPLAY




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

 
"SELECT single FEH FROM TKKB1 INTO @DATA(ld_without_sign).
DATA(ld_without_sign) = 'X'.
 
 
"SELECT single FEH FROM TKKB1 INTO @DATA(ld_without_option).
DATA(ld_without_option) = 'X'.
 
"SELECT single FEH FROM TKKB1 INTO @DATA(ld_without_type).
DATA(ld_without_type) = 'X'.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_startrow).
DATA(ld_startrow) = 1.
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_startcol).
DATA(ld_startcol) = 1.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_iminlength).
 
 
 
"SELECT single HIE FROM TKKB1 INTO @DATA(ld_inoprint).
DATA(ld_inoprint) = ' '.
 


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!