SAP CK_F_COSTING_TRANSFER_CHECK Function Module for
CK_F_COSTING_TRANSFER_CHECK is a standard ck f costing transfer check 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 f costing transfer check FM, simply by entering the name CK_F_COSTING_TRANSFER_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: CK2U
Program Name: SAPLCK2U
Main Program: SAPLCK2U
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CK_F_COSTING_TRANSFER_CHECK 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_F_COSTING_TRANSFER_CHECK'".
EXPORTING
I_UEBID = "Transfer key
I_KADAT = "Costing date from
* I_IGNORE_PART_VRSN = ' ' "
* I_ASL = ' ' "
* I_VBELN = "
* I_POSNR = "
* I_PSPNR = "
* I_IGNORE_VALUATION = ' ' "
* I_BWTAR = "
* I_S_SONDERBE = ' ' "Flag for special procurement
* I_S_NUR_EINSTUFIGE = ' ' "
* I_S_EINSTUFIGE = ' ' "If flag not set, no cost est w/o qty structure
* I_S_KEPH_LESEN = ' ' "Flag for reading tables KEKO and KEPH
I_MATNR = "Material number
I_WERKS = "Plant
* I_SBDKZ = ' ' "Individual requirements indicator
I_F_KEKO_KEY = "Key of transferred KEKO record
IMPORTING
E_F_KEKO = "Structure for KEKO record
E_UEBPER = "Transfer strategy
TABLES
* T_KEPH = "Table for KEPH data
EXCEPTIONS
CALL_INVALID = 1 INCONSISTENCE_MACK4_KEKO = 2 UEBID_IS_INITIAL = 3
IMPORTING Parameters details for CK_F_COSTING_TRANSFER_CHECK
I_UEBID - Transfer key
Data type: TCK24-UEBIDOptional: No
Call by Reference: No ( called with pass by value option)
I_KADAT - Costing date from
Data type: CKI64A-KADATOptional: No
Call by Reference: No ( called with pass by value option)
I_IGNORE_PART_VRSN -
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ASL -
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBELN -
Data type: VBAP-VBELNOptional: Yes
Call by Reference: No ( called with pass by value option)
I_POSNR -
Data type: VBAP-POSNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_PSPNR -
Data type: KEKO-PSPNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_IGNORE_VALUATION -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BWTAR -
Data type: KEKO-BWTAROptional: Yes
Call by Reference: No ( called with pass by value option)
I_S_SONDERBE - Flag for special procurement
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_S_NUR_EINSTUFIGE -
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_S_EINSTUFIGE - If flag not set, no cost est w/o qty structure
Data type: TCK03-EINZELSDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_S_KEPH_LESEN - Flag for reading tables KEKO and KEPH
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MATNR - Material number
Data type: MBEW-MATNROptional: No
Call by Reference: No ( called with pass by value option)
I_WERKS - Plant
Data type: T001W-WERKSOptional: No
Call by Reference: No ( called with pass by value option)
I_SBDKZ - Individual requirements indicator
Data type: MARC-SBDKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_F_KEKO_KEY - Key of transferred KEKO record
Data type: CKIKEKOKEYOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CK_F_COSTING_TRANSFER_CHECK
E_F_KEKO - Structure for KEKO record
Data type: KEKOOptional: No
Call by Reference: No ( called with pass by value option)
E_UEBPER - Transfer strategy
Data type: TCK24-UEBPER1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CK_F_COSTING_TRANSFER_CHECK
T_KEPH - Table for KEPH data
Data type: KEPHOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CALL_INVALID - Invalid function call
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INCONSISTENCE_MACK4_KEKO - Inconsistency between material and costing data
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UEBID_IS_INITIAL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CK_F_COSTING_TRANSFER_CHECK 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_uebid | TYPE TCK24-UEBID, " | |||
| lv_e_f_keko | TYPE KEKO, " | |||
| lv_call_invalid | TYPE KEKO, " | |||
| lv_i_kadat | TYPE CKI64A-KADAT, " | |||
| lv_i_ignore_part_vrsn | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_i_asl | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_i_vbeln | TYPE VBAP-VBELN, " | |||
| lv_i_posnr | TYPE VBAP-POSNR, " | |||
| lv_i_pspnr | TYPE KEKO-PSPNR, " | |||
| lv_i_ignore_valuation | TYPE C, " SPACE | |||
| lv_i_bwtar | TYPE KEKO-BWTAR, " | |||
| lv_e_uebper | TYPE TCK24-UEBPER1, " | |||
| lv_i_s_sonderbe | TYPE C, " ' ' | |||
| lv_inconsistence_mack4_keko | TYPE C, " | |||
| lv_uebid_is_initial | TYPE C, " | |||
| lv_i_s_nur_einstufige | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_i_s_einstufige | TYPE TCK03-EINZELS, " ' ' | |||
| lv_i_s_keph_lesen | TYPE C, " ' ' | |||
| lv_i_matnr | TYPE MBEW-MATNR, " | |||
| lv_i_werks | TYPE T001W-WERKS, " | |||
| lv_i_sbdkz | TYPE MARC-SBDKZ, " SPACE | |||
| lv_i_f_keko_key | TYPE CKIKEKOKEY. " |
|   CALL FUNCTION 'CK_F_COSTING_TRANSFER_CHECK' " |
| EXPORTING | ||
| I_UEBID | = lv_i_uebid | |
| I_KADAT | = lv_i_kadat | |
| I_IGNORE_PART_VRSN | = lv_i_ignore_part_vrsn | |
| I_ASL | = lv_i_asl | |
| I_VBELN | = lv_i_vbeln | |
| I_POSNR | = lv_i_posnr | |
| I_PSPNR | = lv_i_pspnr | |
| I_IGNORE_VALUATION | = lv_i_ignore_valuation | |
| I_BWTAR | = lv_i_bwtar | |
| I_S_SONDERBE | = lv_i_s_sonderbe | |
| I_S_NUR_EINSTUFIGE | = lv_i_s_nur_einstufige | |
| I_S_EINSTUFIGE | = lv_i_s_einstufige | |
| I_S_KEPH_LESEN | = lv_i_s_keph_lesen | |
| I_MATNR | = lv_i_matnr | |
| I_WERKS | = lv_i_werks | |
| I_SBDKZ | = lv_i_sbdkz | |
| I_F_KEKO_KEY | = lv_i_f_keko_key | |
| IMPORTING | ||
| E_F_KEKO | = lv_e_f_keko | |
| E_UEBPER | = lv_e_uebper | |
| TABLES | ||
| T_KEPH | = lt_t_keph | |
| EXCEPTIONS | ||
| CALL_INVALID = 1 | ||
| INCONSISTENCE_MACK4_KEKO = 2 | ||
| UEBID_IS_INITIAL = 3 | ||
| . " CK_F_COSTING_TRANSFER_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM CK_F_COSTING_TRANSFER_CHECK
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 UEBID FROM TCK24 INTO @DATA(ld_i_uebid). | ||||
| "SELECT single KADAT FROM CKI64A INTO @DATA(ld_i_kadat). | ||||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_i_ignore_part_vrsn). | ||||
| DATA(ld_i_ignore_part_vrsn) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_i_asl). | ||||
| DATA(ld_i_asl) | = ' '. | |||
| "SELECT single VBELN FROM VBAP INTO @DATA(ld_i_vbeln). | ||||
| "SELECT single POSNR FROM VBAP INTO @DATA(ld_i_posnr). | ||||
| "SELECT single PSPNR FROM KEKO INTO @DATA(ld_i_pspnr). | ||||
| DATA(ld_i_ignore_valuation) | = ' '. | |||
| "SELECT single BWTAR FROM KEKO INTO @DATA(ld_i_bwtar). | ||||
| "SELECT single UEBPER1 FROM TCK24 INTO @DATA(ld_e_uebper). | ||||
| DATA(ld_i_s_sonderbe) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_i_s_nur_einstufige). | ||||
| DATA(ld_i_s_nur_einstufige) | = ' '. | |||
| "SELECT single EINZELS FROM TCK03 INTO @DATA(ld_i_s_einstufige). | ||||
| DATA(ld_i_s_einstufige) | = ' '. | |||
| DATA(ld_i_s_keph_lesen) | = ' '. | |||
| "SELECT single MATNR FROM MBEW INTO @DATA(ld_i_matnr). | ||||
| "SELECT single WERKS FROM T001W INTO @DATA(ld_i_werks). | ||||
| "SELECT single SBDKZ FROM MARC INTO @DATA(ld_i_sbdkz). | ||||
| DATA(ld_i_sbdkz) | = ' '. | |||
Search for further information about these or an SAP related objects