SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost Planning(CO-PC-PCP) SAP CO

SAPRCK68 SAP ABAP Report - Costing Run for Material: Release Standard Cost Estimate in Material







SAPRCK68 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPRCK68 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CK68 - Release Costing Run


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAPRCK68. "Basic submit
SUBMIT SAPRCK68 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRCK68 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: KALADAT = Costing Run Date
Selection Text: KALAID = Costing Run
Selection Text: PARALLEL = Parallel Processing
Selection Text: SERVNUM = Maximum No. of Servers/Modes
Title: Costing Run for Material: Release Standard Cost Estimate in Material
Text Symbol: 014 = Routing
Text Symbol: 013 = Alt. BOM
Text Symbol: 012 = BOM Usage
Text Symbol: 011 = BOM
Text Symbol: 010 = Un
Text Symbol: 009 = Cstg Lot Size
Text Symbol: 008 = Version
Text Symbol: 007 = Costed by
Text Symbol: 006 = Valid to
Text Symbol: 005 = Valid from
Text Symbol: 004 = Name
Text Symbol: 003 = Cstg Vrnt
Text Symbol: 002 = Plant
Text Symbol: 001 = Material
Text Symbol: 018 = Messages
Text Symbol: 019 = Rel.
Text Symbol: 020 = Man. Cstg
Text Symbol: 021 = Short Text
Text Symbol: 047 = Procurement Alt.
Text Symbol: 046 = CstgLevels
Text Symbol: 042 = Currency
Text Symbol: 031 = Costing Messages
Text Symbol: 030 = Messages Selected
Text Symbol: 029 = Future Std Price
Text Symbol: 028 = PriceUnit
Text Symbol: 027 = PriceControlInd
Text Symbol: 026 = Std Prc
Text Symbol: 025 = MovAvgPr
Text Symbol: 024 = Error Ind.
Text Symbol: 023 = Un
Text Symbol: 022 = CstgLevels
Text Symbol: 015 = Rtg Type
Text Symbol: 115 = Costing Variant(s)





Text Symbol: 114 = Valuation Date
Text Symbol: 113 = Qty Structure Date
Text Symbol: 112 = To
Text Symbol: 111 = Costing Date From
Text Symbol: 110 = Costing Dates
Text Symbol: 108 = Controlling Area :
Text Symbol: 107 = Name :
Text Symbol: 106 = Status :
Text Symbol: 105 = Created on :
Text Symbol: 104 = Created by :
Text Symbol: 103 = Company Code :
Text Symbol: 102 = Costing Run Date :
Text Symbol: 101 = Costing Run :
Text Symbol: 050 = Val. Type
Text Symbol: 049 = Cycle
Text Symbol: 048 = MC
Text Symbol: S04 = Inactive
Text Symbol: S03 = Waiting
Text Symbol: S02 = Working
Text Symbol: S01 = Error
Text Symbol: 903 = Costing Run: Exit Release
Text Symbol: 901 = Log for Release of Costing Run & & :
Text Symbol: 900 = Do you want to save first?
Text Symbol: 122 = Parallel Processing
Text Symbol: 121 = Of Which Mat. Components
Text Symbol: 120 = Materials :
Text Symbol: 117 = Marked/Released Costing Variant:
Text Symbol: 116 = Costing Variants Selected:
Text Symbol: 017 = Status
Text Symbol: 016 = Alt. Rtg


INCLUDES used within this REPORT SAPRCK68

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CK_F_COSTINGRUN_HEADER_READ * CALL FUNCTION 'CK_F_COSTINGRUN_HEADER_READ' * EXPORTING * KALAID = KALA-KALAID * KALADAT = KALA-KALADAT * IMPORTING * KLVAR = F_TCK03-KLVAR * F_KALA = KALA * KALA_FOUND = S_KALA_FOUND * KALS_FOUND = S_KALD_FOUND * KALF_FOUND = S_KALF_FOUND * KALV_FOUND = S_KALV_FOUND * KALV_ERROR = S_KALV_ERROR * TABLES * T_KALST_EXP = T_DISST * T_KALF_EXP = T_KALF.

CK_F_TCK03_HIERARCHY_READING * CALL FUNCTION 'CK_F_TCK03_HIERARCHY_READING' * EXPORTING * P_KLVAR = F_TCK03-KLVAR * IMPORTING * F_TCK03 = F_TCK03 * F_TCK01 = F_TCK01.

CK_F_K_FVMK_AUTHORITY_CHECK * CALL FUNCTION 'CK_F_K_FVMK_AUTHORITY_CHECK' * EXPORTING * I_BUKRS = KALA-BUKRS * I_ACTVT = '43' * I_VALUATION = F_TCK01-VALUATION.






DATE_TO_PERIOD_CONVERT * CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' * EXPORTING * I_DATE = KALA-KADAT * I_PERIV = PERIV * IMPORTING * E_BUPER = H_BUPER * E_GJAHR = H_GJAHR * EXCEPTIONS * INPUT_FALSE = 01 * T009_NOTFOUND = 02 * T009B_NOTFOUND = 03.

FIRST_DAY_IN_PERIOD_GET * CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' * EXPORTING * I_GJAHR = H_GJAHR * I_PERIV = PERIV * I_POPER = H_BUPER * IMPORTING * E_DATE = T_PPER-VONTG * EXCEPTIONS * OTHERS = 01.

LAST_DAY_IN_PERIOD_GET * CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' * EXPORTING * I_GJAHR = H_GJAHR * I_PERIV = PERIV * I_POPER = H_BUPER * IMPORTING * E_DATE = T_PPER-BISTG * EXCEPTIONS * OTHERS = 01.

CK_F_FVMK_READ * CALL FUNCTION 'CK_F_FVMK_READ' * EXPORTING * P_VALUATION = F_TCK01-VALUATION * P_BUKRS = KALA-BUKRS * P_ZUKPER = H_BUPER * P_ZUKGES = H_GJAHR * IMPORTING * BWVAR = BEWERTUNGSVARIANTE * TVERS = KALKULATIONSVERSION * EXCEPTIONS * OTHERS = 0.

CK37_COSTING_LOG_INIT * CALL FUNCTION 'CK37_COSTING_LOG_INIT' * EXPORTING * OBJECT_ID = K_OBJECT_ID * SMSG_INITIALIZE = Y_X * NO_OTHER_INITIALIZE = SPACE.

ENQUEUE_ECKALA * CALL FUNCTION 'ENQUEUE_ECKALA' * EXPORTING * KALAID = KALA-KALAID * KALADAT = KALA-KALADAT * TVERS = KALA-TVERS * EXCEPTIONS * FOREIGN_LOCK * SYSTEM_FAILURE.

CK_F_TCK28_READING * CALL FUNCTION 'CK_F_TCK28_READING' * EXPORTING * KOKRS = KALA-KOKRS * KALKA = F_TCK03-KALKA * BWVAR = F_TCK03-BWVAR * IMPORTING * CK28 = F_TCK28 * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

RK_BUKRS_OF_KOKRS * CALL FUNCTION 'RK_BUKRS_OF_KOKRS' * EXPORTING * KOKRS = KALA-KOKRS * TABLES * T_BUKRS = T_BUKRS * EXCEPTIONS * NO_BUKRS_FOUND = 1 * NOT_FOUND = 2.

CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * ARBGB = Y_CMF-CK * MSGNR = H_MSGNR * MSGTY = SY-MSGTY * MSGV1 = SY-MSGV1 * MSGV2 = SY-MSGV2 * MSGV3 = SY-MSGV3 * MSGV4 = SY-MSGV4 * OBJECT_DEPENDENT = SPACE.

CK_F_FVMK_READ * CALL FUNCTION 'CK_F_FVMK_READ' * EXPORTING * P_VALUATION = F_TCK01-VALUATION * P_BUKRS = T_BUKRS-BUKRS * P_ZUKPER = H_BUPER * P_ZUKGES = H_GJAHR * IMPORTING * BWVAR = BEWERTUNGSVARIANTE * TVERS = KALKULATIONSVERSION * EXCEPTIONS * OTHERS = 0.

CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * ARBGB = Y_CMF-CK * MSGNR = '293' * MSGTY = Y_CMF-W * MSGV1 = F_TCK03-KLVAR * MSGV2 = T_BUKRS-BUKRS * MSGV3 = KALA-TVERS * MSGV4 = F_BUPER_GJAHR * MSG_ON_SCREEN = SPACE * OBJECT_DEPENDENT = SPACE.

CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * ARBGB = Y_CMF-CK * MSGNR = '134' * MSGTY = Y_CMF-W * MSGV1 = F_TCK03-BWVAR * MSGV2 = FVMK-BWVAR * MSGV3 = T_BUKRS-BUKRS * OBJECT_DEPENDENT = SPACE.

CK_F_COSTINGRUN_OBJECTS_READ * CALL FUNCTION 'CK_F_COSTINGRUN_OBJECTS_READ' * EXPORTING * F_KALA_IMP = KALA * IMPORTING * KALM_FOUND = S_KALM_FOUND * TABLES * T_KALST_CHG = T_DISST * T_KVMK_CHG = T_KVMK.

CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * ARBGB = Y_CMF-CK * MSGNR = '078' * MSGTY = Y_CMF-E * MSG_ON_SCREEN = SPACE * OBJECT_DEPENDENT = SPACE.

CK_F_KEKOKEY_GENERAL_SET * CALL FUNCTION 'CK_F_KEKOKEY_GENERAL_SET' * EXPORTING * KADKY = KALA-KADAT * KADKY_DETERMINE = Y_X * KKZMA = ' ' * KLVAR = KALA-KLVAF * PERIV = PERIV * TVERS = KALA-TVERS.

CK_RFC_RELEASING_PARALLEL * CALL FUNCTION 'CK_RFC_RELEASING_PARALLEL' * EXPORTING * I_BATCH_MODE = SY-BATCH * I_INIT_LOG = ' ' * I_KALA = KALA * I_TCK03 = F_TCK03 * I_KALST = T_DISST * I_KALO_UPDATE = ' ' * IMPORTING * E_KALST = T_DISST * TABLES * T_KVMK = T_KVMK * T_BUKRS = T_BUKRS * EXCEPTIONS * OTHERS = 1.

CM_F_INFO * CALL FUNCTION 'CM_F_INFO' * EXPORTING * ALL = Y_X * IMPORTING * A_MSG_COUNTER_PRO = F_CMFE_INFO-A_COUNTER * E_MSG_COUNTER_PRO = F_CMFE_INFO-E_COUNTER * I_MSG_COUNTER_PRO = F_CMFE_INFO-I_COUNTER * MAX_SEVERITY_PRO = F_CMFE_INFO-MAX_SEVER * MSGTY_PRO = F_CMFE_INFO-MSGTY * MSG_COUNTER_PRO = F_CMFE_INFO-MSG_COUNT * W_MSG_COUNTER_PRO = F_CMFE_INFO-W_COUNTER * OBJECT_IDENT = F_CMFE_INFO-OBJECT_ID.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPRCK68 or its description.