SAP K_KKB_KKBCS_BATCH_PROCESSING Function Module for DE-EN-LANG-SWITCH-NO-TRANSLATION
K_KKB_KKBCS_BATCH_PROCESSING is a standard k kkb kkbcs batch processing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DE-EN-LANG-SWITCH-NO-TRANSLATION processing and below is the pattern details for this FM, 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 kkbcs batch processing FM, simply by entering the name K_KKB_KKBCS_BATCH_PROCESSING into the relevant SAP transaction such as SE37 or SE38.
Function Group: KKBC
Program Name: SAPLKKBC
Main Program: SAPLKKBC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function K_KKB_KKBCS_BATCH_PROCESSING 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_KKBCS_BATCH_PROCESSING'"DE-EN-LANG-SWITCH-NO-TRANSLATION.
EXPORTING
* I_PIVOT = "Control Parameters KKBCS
* I_FB = "Name of Function Module
* I_VARHI = "Variable hierarchy code (CO object summarization)
I_KOKRS = "Controlling Area
* I_HIEID = "Hierarchy ID
* I_HIART = "Hierarchy Type
* I_POSIT = "
* I_HIERAUF = '0' "
* I_VARIA = "Layout
* I_TAB = "Table Name
TABLES
* S_KDAUF = "
* S_KDPOS = "
* S_AUFNR = "
* S_POSNR = "
IMPORTING Parameters details for K_KKB_KKBCS_BATCH_PROCESSING
I_PIVOT - Control Parameters KKBCS
Data type: KKB_PIVOTOptional: Yes
Call by Reference: Yes
I_FB - Name of Function Module
Data type: FB_NAMEOptional: Yes
Call by Reference: Yes
I_VARHI - Variable hierarchy code (CO object summarization)
Data type: KKR_VARHIEOptional: Yes
Call by Reference: Yes
I_KOKRS - Controlling Area
Data type: KOKRSOptional: No
Call by Reference: Yes
I_HIEID - Hierarchy ID
Data type: KKR_HIERIDOptional: Yes
Call by Reference: Yes
I_HIART - Hierarchy Type
Data type: KKR_HIEARTOptional: Yes
Call by Reference: Yes
I_POSIT -
Data type:Optional: Yes
Call by Reference: Yes
I_HIERAUF -
Data type:Default: '0'
Optional: Yes
Call by Reference: Yes
I_VARIA - Layout
Data type: SLIS_VARIOptional: Yes
Call by Reference: Yes
I_TAB - Table Name
Data type: TABNAMEOptional: Yes
Call by Reference: Yes
TABLES Parameters details for K_KKB_KKBCS_BATCH_PROCESSING
S_KDAUF -
Data type:Optional: Yes
Call by Reference: Yes
S_KDPOS -
Data type:Optional: Yes
Call by Reference: Yes
S_AUFNR -
Data type:Optional: Yes
Call by Reference: Yes
S_POSNR -
Data type:Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for K_KKB_KKBCS_BATCH_PROCESSING 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_pivot | TYPE KKB_PIVOT, " | |||
lt_s_kdauf | TYPE STANDARD TABLE OF KKB_PIVOT, " | |||
lv_i_fb | TYPE FB_NAME, " | |||
lv_i_varhi | TYPE KKR_VARHIE, " | |||
lt_s_kdpos | TYPE STANDARD TABLE OF KKR_VARHIE, " | |||
lv_i_kokrs | TYPE KOKRS, " | |||
lt_s_aufnr | TYPE STANDARD TABLE OF KOKRS, " | |||
lv_i_hieid | TYPE KKR_HIERID, " | |||
lt_s_posnr | TYPE STANDARD TABLE OF KKR_HIERID, " | |||
lv_i_hiart | TYPE KKR_HIEART, " | |||
lv_i_posit | TYPE KKR_HIEART, " | |||
lv_i_hierauf | TYPE KKR_HIEART, " '0' | |||
lv_i_varia | TYPE SLIS_VARI, " | |||
lv_i_tab | TYPE TABNAME. " |
  CALL FUNCTION 'K_KKB_KKBCS_BATCH_PROCESSING' "DE-EN-LANG-SWITCH-NO-TRANSLATION |
EXPORTING | ||
I_PIVOT | = lv_i_pivot | |
I_FB | = lv_i_fb | |
I_VARHI | = lv_i_varhi | |
I_KOKRS | = lv_i_kokrs | |
I_HIEID | = lv_i_hieid | |
I_HIART | = lv_i_hiart | |
I_POSIT | = lv_i_posit | |
I_HIERAUF | = lv_i_hierauf | |
I_VARIA | = lv_i_varia | |
I_TAB | = lv_i_tab | |
TABLES | ||
S_KDAUF | = lt_s_kdauf | |
S_KDPOS | = lt_s_kdpos | |
S_AUFNR | = lt_s_aufnr | |
S_POSNR | = lt_s_posnr | |
. " K_KKB_KKBCS_BATCH_PROCESSING |
ABAP code using 7.40 inline data declarations to call FM K_KKB_KKBCS_BATCH_PROCESSING
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_hierauf) | = '0'. | |||
Search for further information about these or an SAP related objects