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

TREX_AUNIT_MULTI_INDEX_REQUEST SAP ABAP Report - AUnit test for multi-indexCellTable (TREX).







TREX_AUNIT_MULTI_INDEX_REQUEST 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_MULTI_INDEX_REQUEST 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_AUNIT_MULTI_INDEX_REQUEST. "Basic submit
SUBMIT TREX_AUNIT_MULTI_INDEX_REQUEST AND RETURN. "Return to original report after report execution complete
SUBMIT TREX_AUNIT_MULTI_INDEX_REQUEST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: AUnit test for multi-indexCellTable (TREX).


INCLUDES used within this REPORT TREX_AUNIT_MULTI_INDEX_REQUEST

INCLUDE TREX_AUNIT_INDEX_CELL_UTILITY. "#EC INCL_OK
INCLUDE TREX_AUNIT_TEST_BASE . "#EC INCL_OK


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:

TREX_EXT_SERIALIZE_INDEX_CALL CALL FUNCTION 'TREX_EXT_SERIALIZE_INDEX_CALL' EXPORTING i_index_id = l_index_id i_index_table = i_comp_descr = l_comp_descr i_doc_action = l_index_info-action i_auto_optimize = auto_optimize i_as_plain_bxml = as_plain_bxml IMPORTING e_request_string = l_x_request EXCEPTIONS error = 1 OTHERS = 2.

TREX_EXT_SEND_INDEX_REQUESTS CALL FUNCTION 'TREX_EXT_SEND_INDEX_REQUESTS' EXPORTING i_rfc_destination = me->rfcdest i_use_transaction = use_transaction i_treat_as_plain_bxml = treat_as_plain_bxml IMPORTING e_return_code = trex_ret_code e_return_text = trex_ret_text e_status_list = status_list CHANGING chg_request_strings = l_requests EXCEPTIONS error = 1 table_is_empty = 2 OTHERS = 3.

TREX_EXT_OPTIMIZE CALL FUNCTION 'TREX_EXT_OPTIMIZE' EXPORTING i_index_id = l_index_id i_rfc_destination = me->rfcdest IMPORTING e_return_code = l_trex_ret_code e_return_text = l_trex_ret_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_AUNIT_MULTI_INDEX_REQUEST or its description.