TREX_AUNIT_DBCON_AUTO_CORRECT 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_AUNIT_DBCON_AUTO_CORRECT 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: AUnit test for automatic DBSL correction (TREX).
INCLUDE TREX_AUNIT_TEST_BASE . "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' TABLES list = syslist EXCEPTIONS OTHERS = 1.
TREX_DBSL_CONNECTION_TEST CALL FUNCTION 'TREX_DBSL_CONNECTION_TEST' DESTINATION rfc_dest EXPORTING index_id = me->index->id rfc_destination = me->facade->rfcdest EXCEPTIONS system_failure = 1 MESSAGE l_rfc_mess communication_failure = 2 MESSAGE l_rfc_mess error = 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_AUNIT_DBCON_AUTO_CORRECT - AUnit test for automatic DBSL correction (TREX). TREX_AUNIT_DBCON_AUTO_CORRECT - AUnit test for automatic DBSL correction (TREX). TREX_AUNIT_CREATE_INDEX - TREX Integration Test for CREATE_INDEX TREX_AUNIT_CREATE_INDEX - TREX Integration Test for CREATE_INDEX TREX_AUNIT_CREATE_CRAWL - AUnit for CREATE_CRAWL and GET_CRAWL_INFORMATION (cruiser2) TREX_AUNIT_CREATE_CRAWL - AUnit for CREATE_CRAWL and GET_CRAWL_INFORMATION (cruiser2)