PCFONMX4 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 PCFONMX4 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!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = logical_filename operating_system = sy-opsys IMPORTING file_name = filepath EXCEPTIONS file_not_found = 1 OTHERS = 2.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' "#EC * EXPORTING def_filename = my_file def_path = filepath mask = g_mask mode = 'O' * TITLE = ' ' IMPORTING filename = my_file * rc = EXCEPTIONS OTHERS = 1.
HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_structure_name = p_structure_name i_categ_id = l_categ_id it_fieldcat = p_alv_fieldcat is_layout = l_layout EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = p_node_parent "p_node_key i_node_txt = p_node_txt i_categ_id = l_categ_id I_ICON = p_icon_id IMPORTING e_node_key = p_node_key EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile i_s_flat_profile = l_flat_profile.
HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = lv_error_msg-pernr i_msgid = lv_error_msg-msgid i_msgty = lv_error_msg-msgty i_msgno = lv_error_msg-msgno i_msgv1 = lv_error_msg-msgv1 i_msgv2 = lv_error_msg-msgv2 i_msgv3 = lv_error_msg-msgv3 i_msgv4 = lv_error_msg-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = lv_error_msg-msgid i_msgty = lv_error_msg-msgty i_msgno = lv_error_msg-msgno i_msgv1 = lv_error_msg-msgv1 i_msgv2 = lv_error_msg-msgv2 i_msgv3 = lv_error_msg-msgv3 i_msgv4 = lv_error_msg-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = p_node i_row_data = l_header EXCEPTIONS program_error = 1 OTHERS = 2.
HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = p_node i_row_data = ls_foncsv EXCEPTIONS program_error = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = ld_fullpath filetype = 'ASC' write_field_separator = 'X' TABLES data_tab = pt_output[] EXCEPTIONS file_write_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.