SAP K_KKB_FIELDCAT_COMPLETE Function Module for
K_KKB_FIELDCAT_COMPLETE is a standard k kkb fieldcat complete 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 fieldcat complete FM, simply by entering the name K_KKB_FIELDCAT_COMPLETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SKBH
Program Name: SAPLSKBH
Main Program: SAPLSKBH
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function K_KKB_FIELDCAT_COMPLETE 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_FIELDCAT_COMPLETE'".
EXPORTING
I_TABNAME = "
* I_TABNAME_SLAVE = "
* I_ALWAYS = "Character Field Length 1
* I_NO_DDIC_READ = "Character Field Length 1
* I_REFRESH_BUFFER = "Character Field Length 1
* I_LENSAVE = "Character Field Length 1
* I_BUFFER_ACTIVE = "
* I_FCAT_COMPLETE = ABAP_FALSE "
CHANGING
CT_FIELDCAT = "
* CS_LAYOUT = "
* C_INPUT = "Character Field Length 1
IMPORTING Parameters details for K_KKB_FIELDCAT_COMPLETE
I_TABNAME -
Data type: KKBLO_TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_TABNAME_SLAVE -
Data type: KKBLO_TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ALWAYS - Character Field Length 1
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_DDIC_READ - Character Field Length 1
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REFRESH_BUFFER - Character Field Length 1
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LENSAVE - Character Field Length 1
Data type: CHAR1Optional: Yes
Call by Reference: Yes
I_BUFFER_ACTIVE -
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FCAT_COMPLETE -
Data type: SAP_BOOLDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for K_KKB_FIELDCAT_COMPLETE
CT_FIELDCAT -
Data type: KKBLO_T_FIELDCATOptional: No
Call by Reference: No ( called with pass by value option)
CS_LAYOUT -
Data type: KKBLO_LAYOUTOptional: Yes
Call by Reference: No ( called with pass by value option)
C_INPUT - Character Field Length 1
Data type: CHAR01Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for K_KKB_FIELDCAT_COMPLETE 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_i_tabname | TYPE KKBLO_TABNAME, " | |||
lv_ct_fieldcat | TYPE KKBLO_T_FIELDCAT, " | |||
lv_cs_layout | TYPE KKBLO_LAYOUT, " | |||
lv_i_tabname_slave | TYPE KKBLO_TABNAME, " | |||
lv_c_input | TYPE CHAR01, " | |||
lv_i_always | TYPE CHAR1, " | |||
lv_i_no_ddic_read | TYPE CHAR1, " | |||
lv_i_refresh_buffer | TYPE CHAR1, " | |||
lv_i_lensave | TYPE CHAR1, " | |||
lv_i_buffer_active | TYPE CHAR1, " | |||
lv_i_fcat_complete | TYPE SAP_BOOL. " ABAP_FALSE |
  CALL FUNCTION 'K_KKB_FIELDCAT_COMPLETE' " |
EXPORTING | ||
I_TABNAME | = lv_i_tabname | |
I_TABNAME_SLAVE | = lv_i_tabname_slave | |
I_ALWAYS | = lv_i_always | |
I_NO_DDIC_READ | = lv_i_no_ddic_read | |
I_REFRESH_BUFFER | = lv_i_refresh_buffer | |
I_LENSAVE | = lv_i_lensave | |
I_BUFFER_ACTIVE | = lv_i_buffer_active | |
I_FCAT_COMPLETE | = lv_i_fcat_complete | |
CHANGING | ||
CT_FIELDCAT | = lv_ct_fieldcat | |
CS_LAYOUT | = lv_cs_layout | |
C_INPUT | = lv_c_input | |
. " K_KKB_FIELDCAT_COMPLETE |
ABAP code using 7.40 inline data declarations to call FM K_KKB_FIELDCAT_COMPLETE
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_fcat_complete) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects