TREX_ADMIN_TOOL_F06 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 TREX_ADMIN_TOOL_F06 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: Include TREX_ADMIN_TOOL_F06
INCLUDE TREX_ADMIN_TOOL_F06_GLD.
INCLUDE TREX_ADMIN_TOOL_F06_F02.
INCLUDE TREX_ADMIN_TOOL_F06_F03.
INCLUDE TREX_ADMIN_TOOL_F06_F05.
INCLUDE TREX_ADMIN_TOOL_F06_F04.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = gv_repid_0600 txt2 = sy-subrc txt1 = text-142. "Error in Flush
TREX_EXT_GET_TRACE_FILE_LIST CALL FUNCTION 'TREX_EXT_GET_TRACE_FILE_LIST' EXPORTING i_rfc_destination = g_rfc_destination i_minimum_date = gv_minimum_date IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_file_list = gt_trace_list EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = gv_repid_0600 txt2 = sy-subrc txt1 = text-141.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = gv_repid_0600 txt2 = sy-subrc txt1 = text-142.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_FILE' CHANGING ct_fieldcat = pt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
TREX_EXT_GET_TRACE_FILE CALL FUNCTION 'TREX_EXT_GET_TRACE_FILE' EXPORTING i_rfc_destination = g_rfc_destination i_file_name = gs_trace_list-file_name i_host = gs_trace_list-host i_head_offset = gv_head_offset i_head_length = gv_head_length i_tail_length = gv_tail_length IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_lines = pt_trace_file e_file_size = gv_file_size EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_persentage text = lv_text.
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = itab.
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = itab.
TREX_EXT_PERFORMANCE_TRACE CALL FUNCTION 'TREX_EXT_PERFORMANCE_TRACE' EXPORTING i_rfc_destination = g_rfc_destination i_action = gv_perf_action "0: start, 1:stop, 2:clear, 3:copy, 4:info i_duration = gv_duration i_details = lv_details i_user = lv_user IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_info = ls_perf_info e_binary_data = gv_perf_trace EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = gv_repid_0600 txt2 = sy-subrc txt1 = text-141.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = gv_repid_0600 txt2 = sy-subrc txt1 = text-142.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_PF_INFO' CHANGING ct_fieldcat = pt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
TREX_EXT_GET_TRACE_FILE CALL FUNCTION 'TREX_EXT_GET_TRACE_FILE' EXPORTING i_rfc_destination = g_rfc_destination i_file_name = gs_trace_list-file_name i_host = gs_trace_list-host i_head_offset = gv_head_offset i_head_length = gv_head_length i_tail_length = gv_tail_length IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_lines2 = pt_trace_file e_file_size = gv_file_size EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
POPUP_GET_VALUES_USER_HELP CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP' EXPORTING popup_title = text-501 IMPORTING returncode = returncode TABLES fields = lt_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_question_text default_button = '2' display_cancel_button = 'X' start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = lv_answer.
TREX_EXT_GET_PYTHON_TRACE CALL FUNCTION 'TREX_EXT_GET_PYTHON_TRACE' EXPORTING i_rfc_destination = g_rfc_destination IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_python_trace_config = pt_config EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-repid txt2 = space txt1 = 'The control could not be created.'. "#EC NOTEXT
CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = sy-repid txt2 = space txt1 = 'Error in set_textstream'. "#EC NOTEXT
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_question_text default_button = '2' display_cancel_button = 'X' start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = lv_answer.
TREX_EXT_DELETE_TRACE_FILE CALL FUNCTION 'TREX_EXT_DELETE_TRACE_FILE' EXPORTING i_rfc_destination = g_rfc_destination i_trace_files = lt_files IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_files_return = lt_files_return EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING it_fieldcat = lt_fieldcat[] i_grid_title = lv_grid_title i_screen_start_column = 7 i_screen_start_line = 5 i_screen_end_column = 150 i_screen_end_line = 16 TABLES t_outtab = lt_deletion_info.
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 TREX_ADMIN_TOOL_F06 or its description.
TREX_ADMIN_TOOL_F06 - Include TREX_ADMIN_TOOL_F06 TREX_ADMIN_TOOL_F05_TOP - Include TREX_ADMIN_TOOL_F05_TOP TREX_ADMIN_TOOL_F05_F03 - Include TREX_ADMIN_TOOL_F05_F03 TREX_ADMIN_TOOL_F05_F02 - Include TREX_ADMIN_TOOL_F05_F02 TREX_ADMIN_TOOL_F05_F01 - Include TREX_ADMIN_TOOL_F05_F01 TREX_ADMIN_TOOL_F05_CL01 - Include TREX_ADMIN_TOOL_F05_CL01