TREX_RFC_ADMIN 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_RFC_ADMIN 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: Clear Index, Delete Index, List Indexes
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_CLEAR_INDEX CALL FUNCTION 'TREX_EXT_CLEAR_INDEX' EXPORTING i_index_id = index_id i_language = langu i_indexserver_location = is_loc i_rfc_destination = rfc_dest i_clear_definitions = 'X' IMPORTING e_return_code = return_code e_return_text = return_text EXCEPTIONS OTHERS = 1.
TREX_EXT_DELETE_INDEX CALL FUNCTION 'TREX_EXT_DELETE_INDEX' EXPORTING i_index_id = index_id i_language = langu i_indexserver_location = is_loc i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text EXCEPTIONS OTHERS = 1.
TREX_EXT_LIST_INDEXES CALL FUNCTION 'TREX_EXT_LIST_INDEXES' EXPORTING i_indexserver_location = is_loc i_rfc_destination = rfc_dest i_namespace = namesp IMPORTING e_return_code = return_code e_return_text = return_text e_return_index_list = lt_indexes EXCEPTIONS OTHERS = 1.
TREX_EXT_GET_SERVER_STATUS CALL FUNCTION 'TREX_EXT_GET_SERVER_STATUS' EXPORTING i_indexserver_location = is_loc i_rfc_destination = rfc_dest IMPORTING e_status_info = lt_status e_return_code = return_code e_return_text = return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_DEFINE_ATTRIBUTE CALL FUNCTION 'TREX_EXT_DEFINE_ATTRIBUTE' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_indexserver_location = is_loc i_attribute_definitions = lt_attr_def IMPORTING e_return_code = return_code e_return_text = return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_GET_TREX_VERSION_INFO CALL FUNCTION 'TREX_EXT_GET_TREX_VERSION_INFO' EXPORTING i_indexserver_location = is_loc i_rfc_destination = rfc_dest IMPORTING e_trex_version_info = lt_version e_return_code = return_code e_return_text = return_text EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.