SAP K_KKB_SPLITTING_DISPLAY Function Module for









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

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



Function K_KKB_SPLITTING_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_SPLITTING_DISPLAY'"
EXPORTING
* I_SICHT = "
* I_OBA_ITEM = "
* I_VARIA = "
* I_CONTAINER = "
* I_CLASSIC_FORCED = "Checkbox
* I_GRID_TITLE = "ALV Control: Title Line Text
* I_USE_LAST_VARIANT = "Character Field of Length 1
I_KOKRS = "
* I_LOSFX = "
* I_NSCHI = "
I_CKI64A = "
* I_KEKO = "
* I_AUFNR = "
I_ELEHK = "
I_ELEHKNS = "

TABLES
* T_KEPH = "
.



IMPORTING Parameters details for K_KKB_SPLITTING_DISPLAY

I_SICHT -

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

I_OBA_ITEM -

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

I_VARIA -

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

I_CONTAINER -

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

I_CLASSIC_FORCED - Checkbox

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

I_GRID_TITLE - ALV Control: Title Line Text

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

I_USE_LAST_VARIANT - Character Field of Length 1

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

I_KOKRS -

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

I_LOSFX -

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

I_NSCHI -

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

I_CKI64A -

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

I_KEKO -

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

I_AUFNR -

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

I_ELEHK -

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

I_ELEHKNS -

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

TABLES Parameters details for K_KKB_SPLITTING_DISPLAY

T_KEPH -

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

Copy and paste ABAP code example for K_KKB_SPLITTING_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_keph  TYPE STANDARD TABLE OF KEPH, "   
lv_i_sicht  TYPE TCKH8-SICHT, "   
lv_i_oba_item  TYPE TCKH8, "   
lv_i_varia  TYPE DISVARIANT-VARIANT, "   
lv_i_container  TYPE CL_GUI_CONTAINER, "   
lv_i_classic_forced  TYPE XFELD, "   
lv_i_grid_title  TYPE LVC_TITLE, "   
lv_i_use_last_variant  TYPE CHAR01, "   
lv_i_kokrs  TYPE TKA01-KOKRS, "   
lv_i_losfx  TYPE KEPH-LOSFX, "   
lv_i_nschi  TYPE KKBE-NSCHI, "   
lv_i_cki64a  TYPE CKI64A, "   
lv_i_keko  TYPE KEKO, "   
lv_i_aufnr  TYPE AUFK-AUFNR, "   
lv_i_elehk  TYPE TCKH3-ELEHK, "   
lv_i_elehkns  TYPE KEKO-ELEHKNS. "   

  CALL FUNCTION 'K_KKB_SPLITTING_DISPLAY'  "
    EXPORTING
         I_SICHT = lv_i_sicht
         I_OBA_ITEM = lv_i_oba_item
         I_VARIA = lv_i_varia
         I_CONTAINER = lv_i_container
         I_CLASSIC_FORCED = lv_i_classic_forced
         I_GRID_TITLE = lv_i_grid_title
         I_USE_LAST_VARIANT = lv_i_use_last_variant
         I_KOKRS = lv_i_kokrs
         I_LOSFX = lv_i_losfx
         I_NSCHI = lv_i_nschi
         I_CKI64A = lv_i_cki64a
         I_KEKO = lv_i_keko
         I_AUFNR = lv_i_aufnr
         I_ELEHK = lv_i_elehk
         I_ELEHKNS = lv_i_elehkns
    TABLES
         T_KEPH = lt_t_keph
. " K_KKB_SPLITTING_DISPLAY




ABAP code using 7.40 inline data declarations to call FM K_KKB_SPLITTING_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 SICHT FROM TCKH8 INTO @DATA(ld_i_sicht).
 
 
"SELECT single VARIANT FROM DISVARIANT INTO @DATA(ld_i_varia).
 
 
 
 
 
"SELECT single KOKRS FROM TKA01 INTO @DATA(ld_i_kokrs).
 
"SELECT single LOSFX FROM KEPH INTO @DATA(ld_i_losfx).
 
"SELECT single NSCHI FROM KKBE INTO @DATA(ld_i_nschi).
 
 
 
"SELECT single AUFNR FROM AUFK INTO @DATA(ld_i_aufnr).
 
"SELECT single ELEHK FROM TCKH3 INTO @DATA(ld_i_elehk).
 
"SELECT single ELEHKNS FROM KEKO INTO @DATA(ld_i_elehkns).
 


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!