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

MC64MF0S SAP ABAP INCLUDE - BOM Explosion for Costing: Form Routines with S







MC64MF0S is a standard ABAP INCLUDE 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 MC64MF0S into the relevant SAP transactions such as SE38 or SE80


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 MC64MF0S. "Basic submit
SUBMIT MC64MF0S AND RETURN. "Return to original report after report execution complete
SUBMIT MC64MF0S VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: BOM Explosion for Costing: Form Routines with S


INCLUDES used within this REPORT MC64MF0S

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_PRODUCTCOSTING call function 'CK_F_PRODUCTCOSTING' importing multilevelkmat = s_mkmat.

CK_F_SET_KLVAR_FOR_PRODUCTCOST call function 'CK_F_SET_KLVAR_FOR_PRODUCTCOST' exporting p_klvar = t_tck03-klvar exceptions others = 0.

CK_F_TCK03_HIERARCHY_READING call function 'CK_F_TCK03_HIERARCHY_READING' exporting p_klvar = t_tck03-klvar importing f_tck01 = f_tck01 exceptions others = 0.

CK_F_DATA_GET_SD_KOPF call function 'CK_F_DATA_GET_SD_KOPF' importing sdbom_exp = s_sd_bom_selection.

CM_F_SET_OBJECT * CALL FUNCTION 'CM_F_SET_OBJECT' * EXPORTING * dispo = t_kvmk-dispo * ekgrp = t_kvmk-ekgrp * fevor = t_kvmk-vagrp * labor = t_kvmk-labor * object = cmiobjck * object_id = y_cmf-id_ck * werks = t_kvmk-werks.

CK37_COSTING_LOG_SET_OBJECT call function 'CK37_COSTING_LOG_SET_OBJECT' exporting dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp fevor = t_kvmk-vagrp labor = t_kvmk-labor werks = t_kvmk-werks matnr = t_kvmk-matnr kalnr_bal = t_kvmk-kalnr_ba procurement_alt = t_kvmk-baltkz type = t_kvmk-type.

CK_F_ORG_ELEMENTS_PLANT call function 'CK_F_ORG_ELEMENTS_PLANT' exporting werk = t_kvmk-werks importing organisationselemente = f_org_elements_plant_head.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck msgnr = '621' msgty = y_cmf-e msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = t_kvmk-disst object_dependent = y_x exceptions others = 1.

CK_F_COSTINGRUN_DISST_TO_KALST call function 'CK_F_COSTINGRUN_DISST_TO_KALST' tables t_kalst_chg = t_disst t_kvmk_chg = t_kvmk.

CK_F_GET_KLVAR_FOR_PRODUCTCOST call function 'CK_F_GET_KLVAR_FOR_PRODUCTCOST' importing klvar_exp = kalkulationsvariante.

CK_F_TCK03_HIERARCHY_READING call function 'CK_F_TCK03_HIERARCHY_READING' exporting p_klvar = kalkulationsvariante p_werks = t_kvmk-werks importing f_tck19 = f_tck19.

CK31_PRODUCTION_VERSION_READ call function 'CK31_PRODUCTION_VERSION_READ' exporting matnr = t_kvmk-matnr werks = t_kvmk-werks verid = t_kvmk-verid importing mkal_exp = f_mkal.

CK31_PRODUCTION_VERSION_READ call function 'CK31_PRODUCTION_VERSION_READ' exporting matnr = f_bom_explosion-matnr werks = f_bom_explosion-werks verid = f_bom_explosion-verid importing mkal_exp = f_mkal.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck msgnr = '761' msgty = y_cmf-i msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = f_mkal-verid msgv4 = f_mkal-matko object_dependent = y_x exceptions mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck msgnr = '854' msgty = y_cmf-w msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = f_mkal-verid object_dependent = y_x exceptions mesage_type_not_valid = 01 no_sy_message = 02.

CS_BOM_EXPL_MAT_V2 call function 'CS_BOM_EXPL_MAT_V2' exporting ftrel = ' ' "eingeschr. mehrst. - Au

CKDI_GET_WBS_NO * call function 'CKDI_GET_WBS_NO' * importing * pspnr_exp = pspnr.

CS_BOM_EXPL_PSP_V1 call function 'CS_BOM_EXPL_PSP_V1' exporting ftrel = ' ' "eingeschr. mehrst. - Au

CS_BOM_EXPL_KND_V1





call function 'CS_BOM_EXPL_KND_V1' exporting ftrel = ' ' "eingeschr. mehrst. - Au

CK36_STPOX_PREPARE call function 'CK36_STPOX_PREPARE' tables t_stpox = t_stpol.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp labor = t_kvmk-labor msgnr = '305' msgty = y_cmf-w msgv1 = f_bom_explosion-matnr msgv2 = t_kvmk-werks msgv3 = f_cstmat-stlan msgv4 = f_cstmat-stlal msg_on_screen = space object_dependent = y_x vagrp = t_kvmk-vagrp exceptions others = 1.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp labor = t_kvmk-labor msgnr = '853' msgty = y_cmf-w msgv1 = f_bom_explosion-verid msgv2 = f_cstmat-verid msgv3 = f_bom_explosion-matnr msgv4 = t_kvmk-werks object_dependent = y_x vagrp = t_kvmk-vagrp exceptions others = 1.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp labor = t_kvmk-labor msgnr = '780' msgty = 'I' msgv1 = f_bom_explosion-matnr msgv2 = t_kvmk-werks msg_on_screen = space object_dependent = y_x vagrp = t_kvmk-vagrp exceptions others = 1.

K_UNITCOSTING_READ call function 'K_UNITCOSTING_READ' exporting fel_bwvar = f_ref_kekokey-bwvar fel_bzobj = f_ref_kekokey-bzobj fel_kadky = f_ref_kekokey-kadky fel_kalka = f_ref_kekokey-kalka fel_kalnr = f_ref_kekokey-kalnr fel_kkzma = f_ref_kekokey-kkzma fel_lednr = '00' fel_spras = sy-langu fel_tvers = f_ref_kekokey-tvers tables fel_tab_kis1 = t_kis1 exceptions fel_not_found = 01.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck msgnr = '698' msgty = y_cmf-w msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = f_tck31-refid object_dependent = y_x exceptions mesage_type_not_valid = 01 no_sy_message = 02.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_cmf-ck dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp labor = t_kvmk-labor msgnr = '345' msgty = y_cmf-e msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = sobeswerk object_dependent = y_x vagrp = t_kvmk-vagrp werks = h_sobeswerk exceptions others = 1.

CK_F_GET_KLVAR_FOR_PRODUCTCOST call function 'CK_F_GET_KLVAR_FOR_PRODUCTCOST' importing klvar_exp = kalkulationsvariante.

CK_F_TCK03_HIERARCHY_READING call function 'CK_F_TCK03_HIERARCHY_READING' exporting p_klvar = kalkulationsvariante p_werks = t_kvmk-werks importing f_tck19 = f_tck19.

UNIT_CONVERSION_SIMPLE call function 'UNIT_CONVERSION_SIMPLE' "P30K083278 exporting "P30K083278 input = t_kvmk-losau "P30K083278 no_type_check = 'X' "P30K083278 round_sign = '+' "P30K083278 unit_in = t_kvmk-meins "P30K083278 unit_out = t_kvmk-meins "P30K083278 importing "P30K083278 output = t_kvmk-losau. "P30K083278



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