M0C5DF03 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 M0C5DF03 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.
Title: Routines for PA Transfer Structures
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET call function 'K_KOKRS_SET' importing e_kokrs = l_kokrs.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = l_kokrs importing * E_TKA00 = e_tka01 = l_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
RKE_CHANGE_ERKRS call function 'RKE_CHANGE_ERKRS' exporting fcode = 'AZ' i_erkrs = l_erkrs i_pa_type = '1' importing e_erkrs = l_erkrs ok_code = l_ok_code * e_pa_type = exceptions erkrs_inactive = 1 others = 2.
VIEWCLUSTER_SET_EXCL_CUA_FUNCT call function 'VIEWCLUSTER_SET_EXCL_CUA_FUNCT' exporting object = 'PA_SSTRCV1' tables excl_cua_funct = lt_vimexclfun.
VIEWCLUSTER_SET_EXCL_CUA_FUNCT call function 'VIEWCLUSTER_SET_EXCL_CUA_FUNCT' exporting object = 'PA_SSTRCV2' tables excl_cua_funct = lt_vimexclfun.
VIEWCLUSTER_SET_EXCL_CUA_FUNCT call function 'VIEWCLUSTER_SET_EXCL_CUA_FUNCT' exporting object = 'PA_SSTRCV4' tables excl_cua_funct = lt_vimexclfun.
VIEWCLUSTER_SET_EXCL_CUA_FUNCT call function 'VIEWCLUSTER_SET_EXCL_CUA_FUNCT' exporting object = 'PA_SSTRCV3' tables excl_cua_funct = lt_vimexclfun.
RKE_DOMVALUE_TEXT_GET call function 'RKE_DOMVALUE_TEXT_GET' exporting i_doma = c_dom_abkat i_domvalue = lt_pa_sstrcv3-abkat i_langu = sy-langu importing e_ddtext = setinfo-title exceptions domname_not_found = 1 domvalue_not_found = 2 others = 3.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = l_wa-kokrs importing e_tka01 = tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
RKE_READ_ERKRS call function 'RKE_READ_ERKRS' exporting i_erkrs = tka01-erkrs importing e_tkebc = l_tkebc e_subrc = l_subrc exceptions others = 1.
RS_TREE_CONSTRUCT call function 'RS_TREE_CONSTRUCT' tables nodetab = lt_nodes.
RS_TREE_LIST_DISPLAY call function 'RS_TREE_LIST_DISPLAY' exporting status = 'OWN' callback_program = 'SAPM0C5D' callback_user_command = 'PA_SSTRUC_TREE_USER_COMMAND' callback_color_display = 'PA_SSTRUC_COLORMAP'.
RS_TREE_GET_CURRENT_TREE call function 'RS_TREE_GET_CURRENT_TREE' tables nodelist = lt_streenode.
RS_TREE_EXPAND call function 'RS_TREE_EXPAND' exporting node_id = lt_streenode-parent.
RS_TREE_GET_NODE call function 'RS_TREE_GET_NODE' exporting node_id = lt_streenode-parent importing node_info = l_snodetext.
RS_TREE_EXPAND call function 'RS_TREE_EXPAND' exporting node_id = l_snodetext-parent.
RS_TREE_EXPAND call function 'RS_TREE_EXPAND' exporting * all = 'X' node_id = lt_streenode-id.
K_KOKRS_SET call function 'K_KOKRS_SET' exporting popup = '0' importing e_kokrs = l_kokrs exceptions others = 1. "alle Abfangen, dann halt kein Default
call function 'POPUP_GET_VALUES' exporting popup_title = l_kokrs_text importing returncode = l_retcode tables fields = l_sval.
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = erkrs tabname = tabname tables fieldtab = fieldtab exceptions ledger_not_def = 1 ledger_not_found = 2 table_not_found = 3 others = 4.
K_KOKRS_SET call function 'K_KOKRS_SET' * EXPORTING * DISPLAY = ' ' * I_KOKRS = ' ' * POPUP = ' ' importing e_kokrs = l_kokrs e_action = l_action exceptions not_found = 1 others = 2.
K_KOKRS_SET call function 'K_KOKRS_SET' * EXPORTING * DISPLAY = ' ' * I_KOKRS = ' ' * POPUP = ' ' importing e_kokrs = l_kokrs e_action = l_action exceptions not_found = 1 others = 2.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = l_kokrs importing e_tka01 = l_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
COPA_GET_ERK call function 'COPA_GET_ERK' * EXPORTING * MODE = 'P' importing erkrs = l_erkrs ok_code = l_okcode * PA_TYPE = exceptions erkrs_inactive = 1 others = 2.
RKE_CHANGE_ERKRS call function 'RKE_CHANGE_ERKRS' exporting fcode = 'AZ' i_erkrs = l_tka01-erkrs i_pa_type = '1' importing e_erkrs = l_erkrs ok_code = l_okcode * E_PA_TYPE = exceptions erkrs_inactive = 1 others = 2.
K_KOKRS_SET call function 'K_KOKRS_SET' importing e_kokrs = l_kokrs e_action = l_action exceptions not_found = 1 others = 2.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = l_kokrs importing * E_TKA00 = e_tka01 = l_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
RKE_CHANGE_ERKRS call function 'RKE_CHANGE_ERKRS' exporting fcode = 'AZ' i_erkrs = l_erkrs i_pa_type = '1' importing e_erkrs = l_erkrs ok_code = l_ok_code * e_pa_type = exceptions erkrs_inactive = 1 others = 2.
K_KOKRS_SET call function 'K_KOKRS_SET' exporting popup = '1' importing e_kokrs = l_kokrs e_action = l_action.
VIEWCLUSTER_SET_OKCODE call function 'VIEWCLUSTER_SET_OKCODE' exporting ok_code = 'L002'.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = l_kokrs importing * E_TKA00 = e_tka01 = l_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
RKE_CHANGE_ERKRS call function 'RKE_CHANGE_ERKRS' exporting fcode = 'AZ' i_erkrs = l_erkrs i_pa_type = '1' importing e_erkrs = l_erkrs ok_code = l_ok_code * e_pa_type = exceptions erkrs_inactive = 1 others = 2.
RK_AL_GET_VALUES_OF_SETNAME call function 'RK_AL_GET_VALUES_OF_SETNAME' exporting gjahr = l_dummy_gjahr kokrs = i_erzuo-kokrs setclass = i_erzuo-class shortname = i_erzuo-koaset table = 'CCSS' tables set_values = lt_set_values.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' "HW688231 EXPORTING kokrs = i_origin-kokrs IMPORTING E_TKA01 = l_tka01 EXCEPTIONS OTHERS = 1 .
K_CSKA_SET_AUTHORITY_CHECK call function 'K_CSKA_SET_AUTHORITY_CHECK' exporting actvt = '03' ktopl = l_tka01-ktopl "HW688231 exceptions user_not_authorized = 2.
G_SET_ENCRYPT_SETID call function 'G_SET_ENCRYPT_SETID' exporting setclass = gsetc_costelement_setclass shortname = i_origin-setnr kokrs = i_origin-kokrs importing setid = l_setid.
DISPLAY_SET call function 'DISPLAY_SET' exporting setname = l_setid.
CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = i_kstar importing output = x_text.
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = g_erkrs tabname = l_dbname importing subrc = l_subrc tables fieldtab = gt_fieldtab exceptions ledger_not_def = 1 ledger_not_found = 2 table_not_found = 3 others = 4.
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 M0C5DF03 or its description.