SAP CK_RFC_COSTING_PARALLEL Function Module for









CK_RFC_COSTING_PARALLEL is a standard ck rfc costing 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 ck rfc costing parallel FM, simply by entering the name CK_RFC_COSTING_PARALLEL into the relevant SAP transaction such as SE37 or SE38.

Function Group: CK60
Program Name: SAPLCK60
Main Program: SAPLCK60
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CK_RFC_COSTING_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 'CK_RFC_COSTING_PARALLEL'"
EXPORTING
I_DISST = "Low-level code that is costed, incl. low-level code data
I_KALA = "General data on costing run
I_STARTNUMBER = "Starting number for allocation of KALO
I_TCK03 = "
I_TINDX = "

IMPORTING
E_DISST = "Low-level code that was costed, incl. low-level code data
E_RTIME = "
E_TINDX = "

TABLES
T_KVMK = "Portion of materials costed
* T_MSGPROT = "
.



IMPORTING Parameters details for CK_RFC_COSTING_PARALLEL

I_DISST - Low-level code that is costed, incl. low-level code data

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

I_KALA - General data on costing run

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

I_STARTNUMBER - Starting number for allocation of KALO

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

I_TCK03 -

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

I_TINDX -

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

EXPORTING Parameters details for CK_RFC_COSTING_PARALLEL

E_DISST - Low-level code that was costed, incl. low-level code data

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

E_RTIME -

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

E_TINDX -

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

TABLES Parameters details for CK_RFC_COSTING_PARALLEL

T_KVMK - Portion of materials costed

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

T_MSGPROT -

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

Copy and paste ABAP code example for CK_RFC_COSTING_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:
lt_t_kvmk  TYPE STANDARD TABLE OF CKKVMK, "   
lv_e_disst  TYPE CKIKALST, "   
lv_i_disst  TYPE CKIKALST, "   
lv_i_kala  TYPE KALA, "   
lv_e_rtime  TYPE AM61X-RTIME, "   
lt_t_msgprot  TYPE STANDARD TABLE OF CMFMSG, "   
lv_e_tindx  TYPE SY-TABIX, "   
lv_i_startnumber  TYPE SY-INDEX, "   
lv_i_tck03  TYPE TCK03, "   
lv_i_tindx  TYPE SY-TABIX. "   

  CALL FUNCTION 'CK_RFC_COSTING_PARALLEL'  "
    EXPORTING
         I_DISST = lv_i_disst
         I_KALA = lv_i_kala
         I_STARTNUMBER = lv_i_startnumber
         I_TCK03 = lv_i_tck03
         I_TINDX = lv_i_tindx
    IMPORTING
         E_DISST = lv_e_disst
         E_RTIME = lv_e_rtime
         E_TINDX = lv_e_tindx
    TABLES
         T_KVMK = lt_t_kvmk
         T_MSGPROT = lt_t_msgprot
. " CK_RFC_COSTING_PARALLEL




ABAP code using 7.40 inline data declarations to call FM CK_RFC_COSTING_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 RTIME FROM AM61X INTO @DATA(ld_e_rtime).
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_e_tindx).
 
"SELECT single INDEX FROM SY INTO @DATA(ld_i_startnumber).
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_tindx).
 


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!