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

MC64HCYC SAP ABAP INCLUDE - Process_structure, new, with cycle search







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


Text pool values


Title: Process_structure, new, with cycle search


INCLUDES used within this REPORT MC64HCYC

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:

CKKVMK_QUANTITY_STRUCTURE_GET call function 'CKKVMK_QUANTITY_STRUCTURE_GET' exporting strunr = h_strunr tables t_kalst = t_disst t_kvmk = t_kvmk.

ECM_FREIGABE_SETZEN call function 'ECM_FREIGABE_SETZEN' exporting freig_kalkulation = 'X'.

CK_F_TABLES_ALL_REFRESH call function 'CK_F_TABLES_ALL_REFRESH'.

CKDI_GET_LOGICAL_TCODE CALL FUNCTION 'CKDI_GET_LOGICAL_TCODE' IMPORTING TCODE = K_LOG_TCODE.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-009 * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = text * TEXT_BUTTON_1 = 'Ja'(010) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(011) * ICON_BUTTON_2 = ' ' DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' START_COLUMN = 25 START_ROW = 6 * POPUP_TYPE = IMPORTING ANSWER = k_answer * TABLES EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CKCY_FILL_PACKETS call function 'CKCY_FILL_PACKETS' exporting f_kalst = t_disst max_packet_size = y_vb_menge importing t_packets = t_packets t_kalnr_tabix = t_kalnr_tabix tables t_kvmk = t_kvmk.

CKKONV_CURRENT_CYCLE call function 'CKKONV_CURRENT_CYCLE' exporting mode = 'N' t_kalnr = f_packet-t_kalnr t_kalnr_tabix = t_kalnr_tabix tables t_kvmk = t_kvmk.

CKKONV_CURRENT_CYCLE call function 'CKKONV_CURRENT_CYCLE' exporting mode = 'R'.

CKML_T12_BUFFER_CLEAR CALL FUNCTION 'CKML_T12_BUFFER_CLEAR'.

CKKONV_ITERATION_COUNTER_RESET call function 'CKKONV_ITERATION_COUNTER_RESET'.

CKKONV_ITERATION_COUNTER_INCR call function 'CKKONV_ITERATION_COUNTER_INCR'.

CKKONV_RESET_DELTA_AMOUNT call function 'CKKONV_RESET_DELTA_AMOUNT'.

CKKONV_ITERATION_COUNTER_RESET call function 'CKKONV_ITERATION_COUNTER_RESET'.

CKDI_LOAD_T_KEKO call function 'CKDI_LOAD_T_KEKO' tables t_keko_imp = t_keko.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '723' msgty = 'W' msgv1 = f_packet-cycle exceptions others = 3.

CKKONV_ITERATION_COUNTER_INCR call function 'CKKONV_ITERATION_COUNTER_INCR'.

CKDI_LOAD_T_KEKO call function 'CKDI_LOAD_T_KEKO' tables t_keko_imp = t_keko.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '740' msgty = 'E' msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks msgv3 = f_packet-cycle object_dependent = 'X' exceptions mesage_type_not_valid = 1 no_sy_message = 2 others = 3.

CK10_PCPOBJECT_MODIFY





call function 'CK10_PCPOBJECT_MODIFY' exporting if_kekokey = f_kekokey if_keko = t_keko exceptions others = 3.

CM_F_INFO * CALL FUNCTION 'CM_F_INFO' "E40ROB * EXPORTING "E40ROB * ALL = 'X' "E40ROB * IMPORTING "E40ROB * E_MSG_COUNTER_PRO = K_E_MSG_COUNTER "E40ROB * W_MSG_COUNTER_PRO = K_W_MSG_COUNTER. "E40ROB

CM_F_MESSAGE ** call function 'CM_F_MESSAGE' ** exporting ** ...

K_WERKS_OF_BUKRS_FIND CALL FUNCTION 'K_WERKS_OF_BUKRS_FIND' EXPORTING bukrs = kala-bukrs tables itab_001w = lt_t001w EXCEPTIONS OTHERS = 1.

DEQUEUE_ECKEKOW CALL FUNCTION 'DEQUEUE_ECKEKOW' exporting mandt = sy-mandt bzobj = '0' * KALNR = ' ' "E40WDX kalka = t_tck03-kalka kadky = k_kadky tvers = kala-tvers bwvar = t_tck03-bwvar kkzma = ' ' werks = lt_t001w-werks x_kkzma = 'X' _scope = '3' _synchron = ' '.

DEQUEUE_ECKEKOB call function 'DEQUEUE_ECKEKOB' exporting mandt = sy-mandt bzobj = '0' * KALNR = ' ' "E40WDX kalka = t_tck03-kalka kadky = k_kadky tvers = kala-tvers bwvar = t_tck03-bwvar kkzma = ' ' bukrs = kala-bukrs x_kkzma = 'X' _scope = '3' _synchron = ' '.

CKKVMK_QUANTITY_STRUCTURE_PUT call function 'CKKVMK_QUANTITY_STRUCTURE_PUT' exporting strunr = h_strunr tables t_kalst = t_disst t_kvmk = t_kvmk.

MESSAGES_STOP call function 'MESSAGES_STOP' exceptions others = 1.

CK_F_KEKO_KALNR_SET call function 'CK_F_KEKO_KALNR_SET' exporting kalnr = t_kvmk-kalnr kvmk = t_kvmk. "note 670946

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = k_fortschritt text = k_text.

PRICING_REFRESH call function 'PRICING_REFRESH' tables tkomk = t_komk tkomv = t_komv exceptions others = 1.

MM_REFRESH_PARTNERS call function 'MM_REFRESH_PARTNERS'. "note 487086

CO_BT_DATA_RESET call function 'CO_BT_DATA_RESET'.

CO_BT_ZAEHLTAB_REFRESH call function 'CO_BT_ZAEHLTAB_REFRESH'.

CK_F_TABLES_ALL_REFRESH call function 'CK_F_TABLES_ALL_REFRESH'.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '271' msgty = 'E' msgv1 = kala-kalaid msgv2 = kala-kadat object_dependent = 'X'.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck dispo = t_kvmk-dispo ekgrp = t_kvmk-ekgrp labor = t_kvmk-labor msgnr = '151' msgty = 'E' msgv1 = t_kvmk-matnr msgv2 = t_kvmk-werks object_dependent = 'X'.

CO_BT_DATA_RESET call function 'CO_BT_DATA_RESET'.

CO_BT_ZAEHLTAB_REFRESH call function 'CO_BT_ZAEHLTAB_REFRESH'.

CK_F_TABLES_ALL_REFRESH call function 'CK_F_TABLES_ALL_REFRESH'.




CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '730' msgty = 'I' "CHG note 939475 msgv1 = f_packet-cycle exceptions others = 3.

CKKONV_GET_DELTA_AMOUNT call function 'CKKONV_GET_DELTA_AMOUNT' importing delta_sum = k_delta_sum MAX_DELTA_ABS = K_MAX_DELTA_ABS delta_abs_sum = k_delta_abs_sum sum_was_called = k_sum_was_called.

CKKONV_RESET_DELTA_AMOUNT call function 'CKKONV_RESET_DELTA_AMOUNT'.

CKKONV_CHECK_INHOMOGENEITY call function 'CKKONV_CHECK_INHOMOGENEITY' exporting f_packet = f_packet exceptions homogeneous = 1.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '739' msgty = 'W' msgv1 = f_packet-cycle exceptions others = 3.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '868' msgty = 'W' msgv1 = f_packet-cycle exceptions others = 3.

CM_F_GET_USER_DEFINED_MSGTY call function 'CM_F_GET_USER_DEFINED_MSGTY' exporting im_msgid = 'CK' im_msgno = '870' changing ch_msgty = sy-msgty exceptions not_a_message = 1.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '870' msgty = 'W' msgv1 = f_packet-cycle msgv2 = k_text msgv3 = t_keko-fwaer_kpf exceptions others = 3.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '723' msgty = 'W' msgv1 = f_packet-cycle exceptions others = 3.

CM_F_MESSAGE call function 'CM_F_MESSAGE' exporting arbgb = y_ck msgnr = '723' msgty = 'W' msgv1 = f_packet-cycle exceptions others = 3.

CK_F_GET_KLVAR_FOR_PRODUCTCOST call function 'CK_F_GET_KLVAR_FOR_PRODUCTCOST' importing klvar_exp = k_klvar.

CK_F_KEKOKEY_GET call function 'CK_F_KEKOKEY_GET' exporting klvar = k_klvar importing kekokey = f_kekokey_loc.

CK_F_KALKTAB_DISPLAY call function 'CK_F_KALKTAB_DISPLAY' exporting f_keko_key = f_kekokey_loc tables t_kis1_exp = t_kis1 exceptions t_index_not_found = 1 others = 2.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = 'A' changing cs_variant = current_variant exceptions not_found = 2.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = sy-cprog i_structure_name = 'KIS1' i_save = 'A' is_variant = current_variant importing es_exit_caused_by_user = k_exit_by_user tables t_outtab = t_kis1 exceptions program_error = 1 others = 2.



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