TREX_COMMANDER_F02 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_COMMANDER_F02 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_COMMANDER_F02
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TREX_EXT_GET_FILE CALL FUNCTION 'TREX_EXT_GET_FILE' EXPORTING i_rfc_destination = rfcserv i_file_path = pv_path i_head_offset = pv_head_offset i_head_length = pv_head_length i_host = lv_host i_bin_mode = gv_bin_mode i_size_only = gv_size_only IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_lines = gt_file_content e_lines_bin = gt_bin_content e_file_size = gv_file_size EXCEPTIONS conversion_error = 1 error = 2 no_authorization = 3 OTHERS = 4.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'The control could not be created.'. "#EC NOTEXT
POPUP_TO_INFORM * CALL FUNCTION 'POPUP_TO_INFORM' * EXPORTING * titel = g_repid * txt2 = space * txt1 = 'Error in set_textstream'. "#EC NOTEXT
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'Error in set_textstream'. "#EC NOTEXT
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'Error in get_textstream'. "#EC NOTEXT
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'Error'. "#EC NOTEXT
TREX_EXT_WRITE_FILE CALL FUNCTION 'TREX_EXT_WRITE_FILE' EXPORTING i_rfc_destination = rfcserv i_file_path = pv_file_path i_host = lv_host * I_BIN_MODE = i_lines = pt_file_content * I_LINES_BIN = * I_FILE_SIZE = IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text EXCEPTIONS conversion_error = 1 error = 2 no_authorization = 3 OTHERS = 4.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'Error in get_textstream'. "#EC NOTEXT
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = space txt1 = 'Error'. "#EC NOTEXT
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = lv_text display_cancel_button = 'X' IMPORTING answer = lv_answer.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = lv_text display_cancel_button = 'X' IMPORTING answer = lv_answer.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = 'The control could not be created'. "#EC NOTEXT
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.