SAP K_CCA_TEMPLATE_PARALLEL Function Module for









K_CCA_TEMPLATE_PARALLEL is a standard k cca template parallel 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 cca template parallel FM, simply by entering the name K_CCA_TEMPLATE_PARALLEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: KCTV
Program Name: SAPLKCTV
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function K_CCA_TEMPLATE_PARALLEL 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_CCA_TEMPLATE_PARALLEL'"
EXPORTING
OBART = "
IS_TKA07 = "
KOKRS = "
GJAHR = "
VERSN = "
PER_FROM = "
PER_TO = "
DATAB = "
DATBI = "
IS_TKA09 = "

TABLES
IT_CSKSTPL = "
IT_CSKSV = "
IT_CBPRV = "
* ET_PRIM_COSTS = "
* ET_KEY_FIGURES = "
* ET_MESG = "
.



IMPORTING Parameters details for K_CCA_TEMPLATE_PARALLEL

OBART -

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

IS_TKA07 -

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

KOKRS -

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

GJAHR -

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

VERSN -

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

PER_FROM -

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

PER_TO -

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

DATAB -

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

DATBI -

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

IS_TKA09 -

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

TABLES Parameters details for K_CCA_TEMPLATE_PARALLEL

IT_CSKSTPL -

Data type: KCTVTPL
Optional: No
Call by Reference: Yes

IT_CSKSV -

Data type: CSKSV
Optional: No
Call by Reference: Yes

IT_CBPRV -

Data type: CBPRV
Optional: No
Call by Reference: Yes

ET_PRIM_COSTS -

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

ET_KEY_FIGURES -

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

ET_MESG -

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

Copy and paste ABAP code example for K_CCA_TEMPLATE_PARALLEL 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_obart  TYPE COIOB-OBART, "   
lt_it_cskstpl  TYPE STANDARD TABLE OF KCTVTPL, "   
lv_is_tka07  TYPE TKA07, "   
lv_kokrs  TYPE TKA01-KOKRS, "   
lt_it_csksv  TYPE STANDARD TABLE OF CSKSV, "   
lv_gjahr  TYPE TKA00-GJAHR, "   
lt_it_cbprv  TYPE STANDARD TABLE OF CBPRV, "   
lv_versn  TYPE TKA07-VERSN, "   
lt_et_prim_costs  TYPE STANDARD TABLE OF PCPVALLINE_I, "   
lv_per_from  TYPE PERIODS-BUPER, "   
lt_et_key_figures  TYPE STANDARD TABLE OF SKFVALLINE_I, "   
lv_per_to  TYPE PERIODS-BUPER, "   
lt_et_mesg  TYPE STANDARD TABLE OF MESG, "   
lv_datab  TYPE SY-DATUM, "   
lv_datbi  TYPE SY-DATUM, "   
lv_is_tka09  TYPE TKA09. "   

  CALL FUNCTION 'K_CCA_TEMPLATE_PARALLEL'  "
    EXPORTING
         OBART = lv_obart
         IS_TKA07 = lv_is_tka07
         KOKRS = lv_kokrs
         GJAHR = lv_gjahr
         VERSN = lv_versn
         PER_FROM = lv_per_from
         PER_TO = lv_per_to
         DATAB = lv_datab
         DATBI = lv_datbi
         IS_TKA09 = lv_is_tka09
    TABLES
         IT_CSKSTPL = lt_it_cskstpl
         IT_CSKSV = lt_it_csksv
         IT_CBPRV = lt_it_cbprv
         ET_PRIM_COSTS = lt_et_prim_costs
         ET_KEY_FIGURES = lt_et_key_figures
         ET_MESG = lt_et_mesg
. " K_CCA_TEMPLATE_PARALLEL




ABAP code using 7.40 inline data declarations to call FM K_CCA_TEMPLATE_PARALLEL

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 OBART FROM COIOB INTO @DATA(ld_obart).
 
 
 
"SELECT single KOKRS FROM TKA01 INTO @DATA(ld_kokrs).
 
 
"SELECT single GJAHR FROM TKA00 INTO @DATA(ld_gjahr).
 
 
"SELECT single VERSN FROM TKA07 INTO @DATA(ld_versn).
 
 
"SELECT single BUPER FROM PERIODS INTO @DATA(ld_per_from).
 
 
"SELECT single BUPER FROM PERIODS INTO @DATA(ld_per_to).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datab).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_datbi).
 
 


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!