TREX_EXCUTE_COMMAND_REMOTE is a standard Executable ABAP Report 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_EXCUTE_COMMAND_REMOTE 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.
Selection Text: RFC_DEST = D .
Title: Execute a TREX command remote
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TREX_AUTHORITY_CHECK_ADMIN CALL FUNCTION 'TREX_AUTHORITY_CHECK_ADMIN' EXCEPTIONS OTHERS = 1.
TREX_EXT_EXECUTE_PYTHON CALL FUNCTION 'TREX_EXT_EXECUTE_PYTHON' EXPORTING i_indexserver_location = hostport i_rfc_destination = rfc_dest i_command = rcommand_e IMPORTING e_return_code = return_code e_return_text = return_text e_lines = result EXCEPTIONS conversion_error = 1 error = 2 no_authorization = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
TREX_EXCUTE_COMMAND_REMOTE - Execute a TREX command remote TREX_EXCUTE_COMMAND_REMOTE - Execute a TREX command remote TREX_CONNECTION_TESTTOP - Include TREX_ABAP_CUSTOMIZINGTOP TREX_CONNECTION_TESTSSC - Include TREX_ABAP_CUSTOMIZINGSSC TREX_CONNECTION_TESTI01 - Include TREX_ABAP_CUSTOMIZINGI01 TREX_CONNECTION_TESTF02 - Include TREX_ABAP_CUSTOMIZINGF02