MKKP0F_TREE 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 MKKP0F_TREE 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!
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'COBHIE_COMP' CHANGING ct_fieldcat = gd_tree-fcat.
K_GET_COBHIE CALL FUNCTION 'K_GET_COBHIE' EXPORTING is_cobhie_component = ls_cobhie_comp i_readmode = 'T' i_with_orders = space i_with_text = selected TABLES t_cobhie_tree = lt_cobhie_tree CHANGING cobhiepar = gd_hie-par EXCEPTIONS not_found = 1 not_attached = 2 system_failure = 3 no_root = 4 wrong_costobject_type = 5 OTHERS = 6.
K_COST_OBJECT_PROCESS CALL FUNCTION 'K_COST_OBJECT_PROCESS' EXPORTING i_actvt = gd_tree-activity i_screen = selected i_tree_ref = gd_tree-ref i_msg_send = kkp0_c_msg-screen i_ktrtp = ktrtp_hie i_ckphs = ckphs i_with_profile = space i_memory_id = space IMPORTING e_commit = ld_commit e_fcode = ld_fcode TABLES t_fcode_excl = excltab CHANGING r_costobject = ls_costobject EXCEPTIONS input_error = 1 not_found = 2 not_allowed = 3 invalid_name = 4 wrong_ktrtp = 5 no_authority = 6 enqueue_failed = 7 data_error = 8 OTHERS = 9.
K_COST_OBJECT_PROCESS CALL FUNCTION 'K_COST_OBJECT_PROCESS' EXPORTING i_actvt = kkp0_c_actvt-ein i_screen = selected i_tree_ref = gd_tree-ref i_msg_send = kkp0_c_msg-raise i_ktrtp = ktrtp_hie i_ckphs = ckphs i_with_profile = '' "i_with_profile i_memory_id = space IMPORTING e_commit = ld_commit e_fcode = ld_fcode TABLES t_field_cat = gd_hie-fieldcat t_fcode_excl = excltab CHANGING r_costobject = ls_costobject EXCEPTIONS input_error = 1 not_found = 2 not_allowed = 3 invalid_name = 4 wrong_ktrtp = 5 no_authority = 6 enqueue_failed = 7 data_error = 8 OTHERS = 9.
K_COST_OBJECT_ATTACH_ITEMS CALL FUNCTION 'K_COST_OBJECT_ATTACH_ITEMS' EXPORTING i_actvt = gd_tree-activity i_screen = selected i_tree = selected i_msg_send = kkp0_c_msg-raise i_ktrtp = ktrtp_hie i_costobject_filled = ' ' i_costobject_enqueued = ' ' * i_ckphs = ' ' IMPORTING e_commit = ld_commit TABLES * t_item_cat = lt_item_input t_item = lt_item_output CHANGING r_costobject = ls_costobject EXCEPTIONS input_error = 1 not_found = 2 wrong_ktrtp = 3 not_allowed = 4 no_authority = 5 enqueue_failed = 6 data_error = 7 OTHERS = 8.
MAKT_ARRAY_READ CALL FUNCTION 'MAKT_ARRAY_READ' TABLES ipre09 = lt_premat makt_tab = lt_mattext.
CKML_MGV_TEXT_READ CALL FUNCTION 'CKML_MGV_TEXT_READ' EXPORTING i_language = sy-langu CHANGING ct_text_read = lt_proctext.
K_COST_OBJECT_PROCESS CALL FUNCTION 'K_COST_OBJECT_PROCESS' EXPORTING i_actvt = kkp0_c_actvt-anl i_screen = selected i_tree_ref = gd_tree-ref i_msg_send = kkp0_c_msg-raise i_ktrtp = ktrtp_hie i_ckphs = ckphs i_with_profile = flg_profile IMPORTING e_commit = ld_commit e_fcode = ld_fcode TABLES t_field_cat = gd_hie-fieldcat t_fcode_excl = excltab CHANGING r_costobject = obj_data EXCEPTIONS input_error = 1 not_found = 2 not_allowed = 3 invalid_name = 4 wrong_ktrtp = 5 no_authority = 6 enqueue_failed = 7 data_error = 8 OTHERS = 9.
K_COST_OBJECT_GET_FIELD_CAT CALL FUNCTION 'K_COST_OBJECT_GET_FIELD_CAT' EXPORTING i_ktrtp = ktrtp_hie TABLES t_field_cat = gd_hie-fieldcat.
K_COST_OBJECT_PROCESS CALL FUNCTION 'K_COST_OBJECT_PROCESS' EXPORTING i_actvt = kkp0_c_actvt-loe i_screen = selected i_tree_ref = gd_tree-ref i_msg_send = kkp0_c_msg-raise i_ktrtp = ktrtp_hie IMPORTING e_commit = ld_commit CHANGING r_costobject = ls_costobject EXCEPTIONS input_error = 1 not_found = 2 not_allowed = 3 invalid_name = 4 wrong_ktrtp = 5 no_authority = 6 enqueue_failed = 7 data_error = 8 OTHERS = 9.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.