SAP Reports / Programs | Basis Components | TREX | TREX ABAP + JAVA API(BC-TRX-API) SAP BC

TREX_COMMANDER_F02 SAP ABAP INCLUDE - Include TREX_COMMANDER_F02







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT TREX_COMMANDER_F02. "Basic submit
SUBMIT TREX_COMMANDER_F02 AND RETURN. "Return to original report after report execution complete
SUBMIT TREX_COMMANDER_F02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include TREX_COMMANDER_F02


INCLUDES used within this REPORT TREX_COMMANDER_F02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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



Contribute (Add Comments)

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_COMMANDER_F02 or its description.