SAP Reports / Programs

SAPRCK60 SAP ABAP Report - Costing Run for Material: Preselection of Plant Materials







SAPRCK60 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 SAPRCK60 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

CK60 - Preselection for Material/Plant


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 SAPRCK60. "Basic submit
SUBMIT SAPRCK60 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRCK60 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: PROTDR = Print Log
Selection Text: NOUEB = Always Recost Material
Selection Text: KALAID = Costing Run
Selection Text: KALADAT = Costing Run Date
Selection Text: CONFMAT = Select Configured Matls Only
Selection Text: BACKGR = D Background Processing
Title: Costing Run for Material: Preselection of Plant Materials
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: 051 = Plnt
Text Symbol: 050 = Val. Type
Text Symbol: 049 = Cycle
Text Symbol: 048 = MC
Text Symbol: 047 = Procurement Alt.
Text Symbol: 046 = CstgLevels
Text Symbol: 045 = Prod.Version
Text Symbol: 044 = Process
Text Symbol: 043 = Dummy
Text Symbol: 042 = Currency
Text Symbol: 041 = Costed on
Text Symbol: 106 = Status :
Text Symbol: 107 = Name :
Text Symbol: 108 = Controlling Area :
Text Symbol: 110 = Costing Dates
Text Symbol: 111 = Costing Date From
Text Symbol: 112 = to
Text Symbol: 113 = Qty Structure Date
Text Symbol: 114 = Valuation Date
Text Symbol: 115 = Costing Variant(s)
Text Symbol: 116 = Costing Variants Selected:
Text Symbol: 120 = Materials :
Text Symbol: 121 = Of Which Mat. Components
Text Symbol: 200 = Processing Opts
Text Symbol: 800 = Database
Text Symbol: 900 = Do you want to save first?





Text Symbol: 901 = Log for Costing Run & & :
Text Symbol: 903 = Costing Run: Exit Preselection
Text Symbol: 001 = Material
Text Symbol: 002 = Plant
Text Symbol: 003 = Cstg Vrnt
Text Symbol: 004 = Name
Text Symbol: 005 = Valid from
Text Symbol: 006 = Valid to
Text Symbol: 007 = Costed by
Text Symbol: 008 = Version
Text Symbol: 009 = Cstg Lot Size
Text Symbol: 010 = UM
Text Symbol: 011 = BOM
Text Symbol: 012 = BOM Usage
Text Symbol: 013 = Alt. BOM
Text Symbol: 014 = Routing
Text Symbol: 015 = Rtg Type
Text Symbol: 016 = Alt. Rtg
Text Symbol: 017 = Status
Text Symbol: 018 = Messages
Text Symbol: 019 = Rel.
Text Symbol: 020 = Man. Cstg
Text Symbol: 021 = Short Text
Text Symbol: 022 = LowLvlCode
Text Symbol: 023 = UM
Text Symbol: 024 = Error Ind.
Text Symbol: 025 = MovAvgPr
Text Symbol: 026 = Std Price
Text Symbol: 027 = PriceControlInd
Text Symbol: 028 = PriceUnit
Text Symbol: 029 = Future Std Price
Text Symbol: 030 = Messages Selected
Text Symbol: 031 = Costing Messages
Text Symbol: 032 = ProdCstg
Text Symbol: 033 = ValCtrl
Text Symbol: 034 = Qty Str Date
Text Symbol: 035 = Vltn Date
Text Symbol: 036 = Req. Date
Text Symbol: 037 = C





Text Symbol: 038 = Configured Material
Text Symbol: 039 = SpecProc
Text Symbol: 040 = SpecProcPlnt


INCLUDES used within this REPORT SAPRCK60

INCLUDE RCK60TOP.


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_PROCESS_SET_REPORTTITLE CALL FUNCTION 'CK_PROCESS_SET_REPORTTITLE' EXPORTING I_KALASTEP = y_step_se i_cockp = p_cockp.

CKSM_FILL_SELKRIT call function 'CKSM_FILL_SELKRIT'.

CKSM_MONI_INIT_AND_COMMIT call function 'CKSM_MONI_INIT_AND_COMMIT' exporting tcode = 'CK60' kala_imp = kala witem_imp = wf_witem wlist_imp = wf_wlist. "note 381238

CK37_COSTING_LOG_INIT call function 'CK37_COSTING_LOG_INIT' exporting object_id = k_object_id smsg_initialize = y_x.

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.

CKSA_INITIALIZE call function 'CKSA_INITIALIZE' exporting globaldata = f_globaldata no_post = clear_nopost select_configured_mat = s_config_material select_normal_mat = s_normal_material ignore_uebid_for_top_mat = kala-noueb.

CK_F_ORG_ELEMENTS_PLANT call function 'CK_F_ORG_ELEMENTS_PLANT' exporting werk = mackw-werks importing organisationselemente = f_org_einheit exceptions bukrs_not_found = 01 bwkey_not_found = 02 kokrs_not_found = 03 plant_not_found = 04.

RK_KOKRS_FIND call function 'RK_KOKRS_FIND' exporting bukrs = kala-bukrs importing kokrs = kala-kokrs.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKCC' MSGNR = '046' MSGTY = 'I' EXCEPTIONS MESAGE_TYPE_NOT_VALID = 1 NO_SY_MESSAGE = 2 OTHERS = 3.

CK_F_COSTINGRUN_MATCON_FILL CALL FUNCTION 'CK_F_COSTINGRUN_MATCON_FILL' EXPORTING KALAID = KLIDCOPY KALADAT = KLDTCOPY TABLES T_MATCON = T_MATPLANT.

CKU5_KALAMATCON_READ CALL FUNCTION 'CKU5_KALAMATCON_READ' EXPORTING MATCONID = matcon TABLES T_MATCON = T_MATPLANT.

CK_F_ORG_ELEMENTS_PLANT call function 'CK_F_ORG_ELEMENTS_PLANT' exporting werk = t_mackw-werks importing organisationselemente = f_org_einheit exceptions bukrs_not_found = 01 bwkey_not_found = 02 kokrs_not_found = 03 plant_not_found = 04.

RK_KOKRS_FIND call function 'RK_KOKRS_FIND' exporting bukrs = kala-bukrs importing kokrs = kala-kokrs.

CK37_COSTING_LOG_SET_OBJECT call function 'CK37_COSTING_LOG_SET_OBJECT' exporting dispo = t_mackw-dispo ekgrp = t_mackw-ekgrp fevor = t_mackw-fevor labor = t_mackw-labor werks = t_mackw-werks matnr = t_mackw-matnr.

CKSA_MAT_SELECT_FOR_COSTING call function 'CKSA_MAT_SELECT_FOR_COSTING' exporting matnr = t_mackw-matnr werks = t_mackw-werks mack3_imp = mack3 * MSG_ON_SCREEN = ' ' no_costing_view_create = 'X' * OTHER_LOTSIZE = 0 ignore_costing_wo_quant_struct = ' '.

CKSA_COSTINGLEVELS_CREATE



call function 'CKSA_COSTINGLEVELS_CREATE' exporting structure_explosion = ' ' importing cycle_found = s_cycle_found tables t_kvmk_exp = t_kvmk t_kalst_exp = t_disst.

DEQUEUE_ECKALA call function 'DEQUEUE_ECKALA' "P30K100653 exporting "P30K100653 kalaid = kala-kalaid "P30K100653 kaladat = kala-kaladat "P30K100653 tvers = kala-tvers "P30K100653 exceptions "P30K100653 others = 1. "P30K100653

CM_F_INFO call function 'CM_F_INFO' exporting all = 'X' importing msg_counter_pro = f_cmfe_info-msg_count object_ident = f_cmfe_info-object_id.

CM_F_DISPLAY_LOG call function 'CM_F_DISPLAY_LOG' exporting ocs_activ = s_cmfe-ocs_aktiv headline = h_headline skip_info_screen = y_x.

CM_F_PROTOCOL_PRINT call function 'CM_F_PROTOCOL_PRINT' exporting aplid = y_cmf-id_ck headline = h_headline with_info = y_x.

FIN_FSSC_SR_AUTO_CK40N CALL FUNCTION 'FIN_FSSC_SR_AUTO_CK40N' EXPORTING IV_KALAID = kalaid IV_KALADAT = kaladat IV_KALASTEP = 'SE'.



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 SAPRCK60 or its description.