RCOPCA60F00 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 RCOPCA60F00 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ECPCA_BUKRS_VALUE_REQUEST CALL FUNCTION 'ECPCA_BUKRS_VALUE_REQUEST' EXPORTING i_kokrs = gd_kokrs IMPORTING e_bukrs = tmp_bukrs EXCEPTIONS table_empty = 1 OTHERS = 2.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = gd_kokrs IMPORTING e_tka01 = wa_tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-014.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-016.
RK_BUKRS_OF_KOKRS CALL FUNCTION 'RK_BUKRS_OF_KOKRS' EXPORTING kokrs = gd_kokrs TABLES t_bukrs = allowed_bukrs EXCEPTIONS no_bukrs_found = 1 not_found = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-015.
G_SET_COPY_INTO_TREECONTROL CALL FUNCTION 'G_SET_COPY_INTO_TREECONTROL' EXPORTING i_setid = setid * i_max_hier_level = 1 "note838161 TABLES it_sethier = pt_sethier it_setval = pt_setval et_node = node_table et_item = item_table EXCEPTIONS set_not_found = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-016.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-016.
READ_PROFITCENTER CALL FUNCTION 'READ_PROFITCENTER' EXPORTING datab = min_dat datbi = max_dat prctr = p_prctr kokrs = gd_kokrs bypassing_buffer = 'X' TABLES sel_int = itab_prct1 EXCEPTIONS cepc_not_complete = 1 cepc_not_found = 2 OTHERS = 3.
PROFITCENTER_CHANGE CALL FUNCTION 'PROFITCENTER_CHANGE' EXPORTING prctr_data = wa_prct1 prctr_datax = dummy_prct1x testrun = p_testrun hier_called = 'X' no_ccodes_check = ld_no_ccc IMPORTING return = p_return TABLES companycode_joint_venture = itab_bukrs_jv companycode_joint_venturex = itab_bukrs_jvx.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-015.
G_SET_COPY_INTO_TREECONTROL CALL FUNCTION 'G_SET_COPY_INTO_TREECONTROL' EXPORTING i_setid = n_setid i_hier_offset = hier_offset i_val_offset = val_offset i_top_node_key = p_node_key i_include_top_node = ' ' * i_max_hier_level = 1 "note838161 TABLES it_sethier = new_sethier it_setval = new_setval et_node = new_nodes et_item = new_items EXCEPTIONS set_not_found = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-014.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-014.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-015.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = setid kokrs = gd_kokrs IMPORTING setid = setid EXCEPTIONS OTHERS = 1.
G_SET_GET_SUPERSETS CALL FUNCTION 'G_SET_GET_SUPERSETS' EXPORTING setname = wa_level_0-setname TABLES supersets = level_1.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-016.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-004 textline2 = text-005 titel = text-006 IMPORTING answer = answer.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-001 textline2 = text-002 titel = text-003 IMPORTING answer = answer.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-004 textline2 = text-005 titel = text-006 IMPORTING answer = answer.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-004 textline2 = text-005 titel = text-006 IMPORTING answer = answer.
PROFITCENTER_CHANGE CALL FUNCTION 'PROFITCENTER_CHANGE' EXPORTING prctr_data = ld_prctr_data prctr_datax = ld_prct1x testrun = p_testrun hier_called = 'X' no_ccodes_check = ld_no_ccc inactive_version = 'X' complete = 'X' IMPORTING return = p_return TABLES companycode_joint_venture = itab_bukrs_jv companycode_joint_venturex = itab_bukrs_jvx.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = gd_kokrs popup = kokrs_popup IMPORTING e_kokrs = gd_kokrs.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-013.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-013.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = text-013.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = cepc-khinr kokrs = gd_kokrs IMPORTING setid = setid EXCEPTIONS OTHERS = 1.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING setname = setid use_table_buffer = 'X' EXCEPTIONS set_not_found = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = gd_percentage text = ld_text.
ENQUEUE_EKCEPCE CALL FUNCTION 'ENQUEUE_EKCEPCE' EXPORTING prctr = p_prctr kokrs = gd_kokrs "note 1407510 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_EKCEPCE CALL FUNCTION 'DEQUEUE_EKCEPCE' EXPORTING mode_cepc = 'E' mandt = sy-mandt.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = 'CEPC_BUKRS' varkey = ld_varkey EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-009 textline2 = text-010 titel = text-011 cancel_display = ' ' IMPORTING answer = ld_answer.
PROFITCENTER_SELECT CALL FUNCTION 'PROFITCENTER_SELECT' EXPORTING profit_ctr = p_which_prctr co_area = p_kokrs inactive_version = 'X' TABLES et_cepc_bukrs = lt_cepc_bukrs EXCEPTIONS invalid_input = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-004 textline2 = text-005 titel = text-006 IMPORTING answer = ld_answer.
CO_CMDT_ALL_DATA_ACTIVATE CALL FUNCTION 'CO_CMDT_ALL_DATA_ACTIVATE' EXPORTING * ACT_ALL_INACTIVE = * IN_CO_AREA_ONLY = * ACT_CC = 'X' * ACT_BP = * ACT_PC = ACT_TEST = ' ' * ACT_BATCH = ' ' * NO_COMMIT = ' ' NO_POPUP = 'X' * IMPORTING * ACT_SPLIT = * TABLES * ACT_RETURN = CHANGING act_objects = gt_act_objects.
OBJECT_NUMBER_GET_PC CALL FUNCTION 'OBJECT_NUMBER_GET_PC' EXPORTING prctr = p_prctr kokrs = p_kokrs IMPORTING objnr = ld_objnr.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = p_shortname kokrs = p_kokrs IMPORTING setid = p_setid EXCEPTIONS no_co_area_specified = 1 illegal_setclass = 2.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING setname = p_setid use_table_buffer = 'X' EXCEPTIONS set_not_found = 1 OTHERS = 2.
K_PCA_RESP_AUTHORITY_CHECK CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK' EXPORTING i_kokrs = p_kokrs i_pcgrp = p_shortname i_vorgn = 'STDT' "Master Data i_actvt = p_actvt i_no_dialog_message = 'X' EXCEPTIONS no_authority = 1 data_missing = 2 OTHERS = 3.
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 RCOPCA60F00 or its description.
RCOPCA60F00 - documentation and ABAP source code RCOPCA60CL1 - documentation and ABAP source code RCOPCA60 - Mass Maintenance of Assignment of Profit Centers to Company Codes RCOPCA60 - Mass Maintenance of Assignment of Profit Centers to Company Codes RCOPCA56 - EC-PCA: Copy Cost Centers RCOPCA56 - EC-PCA: Copy Cost Centers