TREX_BC_OPTIMIZE_INDEX 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_BC_OPTIMIZE_INDEX 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: General function: Optimization
INCLUDE TREX_BC_TEST_UTILITY2.
No SAP DATABASE tables are accessed within this REPORT code!
TREX_EXT_OPTIMIZE call function 'TREX_EXT_OPTIMIZE' exporting i_index_id = p_idx i_rfc_destination = p_dest importing e_return_code = l_ret_code e_return_text = l_ret_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.
TREX_BC_OPTIMIZE_INDEX - General function: Optimization TREX_BC_OPTIMIZE_INDEX - General function: Optimization TREX_BC_MULTI_PROCESS_TEST - TREX: parallel processing test. TREX_BC_MULTI_PROCESS_TEST - TREX: parallel processing test. TREX_BC_MULTI_INDEXES - TREX: Multi-index test. TREX_BC_MULTI_INDEXES - TREX: Multi-index test.