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

TREX_ADMIN_TOOL_F04 SAP ABAP INCLUDE - Include TREX_ADMIN_TOOL_F04







TREX_ADMIN_TOOL_F04 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_F04 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_ADMIN_TOOL_F04. "Basic submit
SUBMIT TREX_ADMIN_TOOL_F04 AND RETURN. "Return to original report after report execution complete
SUBMIT TREX_ADMIN_TOOL_F04 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_ADMIN_TOOL_F04


INCLUDES used within this REPORT TREX_ADMIN_TOOL_F04

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:

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid_04 txt2 = sy-subrc txt1 = text-141.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid_04 txt2 = sy-subrc txt1 = text-142.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_SERVICE_STATISTIC' CHANGING ct_fieldcat = pt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

TREX_EXT_SHOW_SERVERS_OLD CALL FUNCTION 'TREX_EXT_SHOW_SERVERS_OLD' "N1713393 EXPORTING i_rfc_destination = rfcserv i_server_type = '6' "All Servers i_is_active = '' "All active and inactive Servers IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_server_info = lt_server_info EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

TREX_EXT_SHOW_SERVERS CALL FUNCTION 'TREX_EXT_SHOW_SERVERS' EXPORTING i_rfc_destination = g_rfc_destination i_server_type = '6' "All Servers i_is_active = '' "All active and inactive Servers IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_server_info = lt_server_info EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

TREX_EXT_SERVICE_STATISTICS CALL FUNCTION 'TREX_EXT_SERVICE_STATISTICS' EXPORTING i_rfc_destination = g_rfc_destination i_use_bxml = lv_use_bxml IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_service_statistics = lt_service EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

TREX_EXT_RESET_LANDSCAPE CALL FUNCTION 'TREX_EXT_RESET_LANDSCAPE' EXPORTING i_rfc_destination = g_rfc_destination i_restart_option = 0 i_clear_option = 0 IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_trex_available = lv_available EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = lv_title txt2 = '' txt1 = lv_text.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_text default_button = '1' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = lv_answer.

TREX_EXT_RESET_LANDSCAPE CALL FUNCTION 'TREX_EXT_RESET_LANDSCAPE' EXPORTING i_rfc_destination = g_rfc_destination i_restart_option = restart_option i_clear_option = clear_option IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = lv_title txt2 = '' txt1 = lv_text.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_text default_button = '1' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = lv_answer.

TREX_EXT_RESTART_SERVER CALL FUNCTION 'TREX_EXT_RESTART_SERVER' EXPORTING i_rfc_destination = g_rfc_destination i_server = wa_table_line-location i_pids = wa_table_line-pids i_remote_method = pv_remote_method IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'CONTINUE_OR_CANCEL' TABLES p_exclude = itab.

TREX_EXT_LOAD_HISTORY_CSV CALL FUNCTION 'TREX_EXT_LOAD_HISTORY_CSV' EXPORTING i_rfc_destination = g_rfc_destination IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_lines = lt_history EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_text default_button = '1' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_QUESTION' IMPORTING answer = lv_answer.

TREX_EXT_SIGNAL_DAEMON CALL FUNCTION 'TREX_EXT_SIGNAL_DAEMON' EXPORTING i_rfc_destination = g_rfc_destination i_signal_type = pv_signal_type i_host = lv_host IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.



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