SAP Reports / Programs

TREX_AUNIT_QS_ADMIN SAP ABAP Report - TREX: AUnit test cases for function group TREX_EXT_QS_ADMIN.







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


Text pool values


Title: TREX: AUnit test cases for function group TREX_EXT_QS_ADMIN.


INCLUDES used within this REPORT TREX_AUNIT_QS_ADMIN

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_CREATE_INDEX CALL FUNCTION 'TREX_EXT_CREATE_INDEX' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_language = ip_language i_auto_create_languages = ip_auto_create_languages i_description = ip_description i_use_queueserver = ip_use_queueserver IMPORTING e_return_code = return_code e_return_text = return_text * exceptions * others = 1.

TREX_EXT_INDEX CALL FUNCTION 'TREX_EXT_INDEX' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_use_queueserver = ip_use_queueserver i_index_document_list = lt_document_list IMPORTING * e_return_error_doc = lt_error_doc e_return_code = return_code e_return_text = return_text * exceptions * conversion_error = 1 * error = 2 * others = 3.

TREX_EXT_DELETE_INDEX CALL FUNCTION 'TREX_EXT_DELETE_INDEX' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text.

TREX_EXT_GET_QUEUES CALL FUNCTION 'TREX_EXT_GET_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_state_return = e_queue_state_return.

TREX_EXT_GET_DOCUMENTS_IN_QS CALL FUNCTION 'TREX_EXT_GET_DOCUMENTS_IN_QS' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_retry_count = i_retry_count i_doc_key = i_doc_key i_queue_entry_choice = i_queue_entry_choice i_doc_state = i_doc_state IMPORTING e_return_code = return_code e_return_text = return_text e_return_index_doc = e_return_index_doc.

TREX_EXT_GET_ENTRIES CALL FUNCTION 'TREX_EXT_GET_ENTRIES' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_retry_count = i_retry_count i_doc_key = i_doc_key i_queue_entry_choice = i_queue_entry_choice i_doc_state = i_doc_state i_max_results = i_max_results IMPORTING e_return_code = return_code e_return_text = return_text e_entries_return = e_entries_return.

TREX_EXT_GET_QUEUE_PARAMETERS CALL FUNCTION 'TREX_EXT_GET_QUEUE_PARAMETERS' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_parameters = e_queue_parameters.

TREX_EXT_ACTIVATE_QUEUES CALL FUNCTION 'TREX_EXT_ACTIVATE_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_CLEAR_QUEUES CALL FUNCTION 'TREX_EXT_CLEAR_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_CREATE_QUEUE CALL FUNCTION 'TREX_EXT_CREATE_QUEUE' "#EC FB_OLDED EXPORTING i_queue_parameters = i_queue_parameters i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text.

TREX_EXT_DELETE_QUEUES CALL FUNCTION 'TREX_EXT_DELETE_QUEUES' "#EC FB_OLDED EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_GET_QUEUES CALL FUNCTION 'TREX_EXT_GET_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text.

TREX_EXT_DELETE_ENTRIES CALL FUNCTION 'TREX_EXT_DELETE_ENTRIES' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_retry_count = i_retry_count i_doc_key = i_doc_key i_queue_entry_choice = i_queue_entry_choice i_doc_state = i_doc_state IMPORTING e_return_code = return_code e_return_text = return_text e_queue_doc_return = e_queue_doc_return.

TREX_EXT_GET_ENTRIES CALL FUNCTION 'TREX_EXT_GET_ENTRIES' EXPORTING i_index_id = index_id i_rfc_destination = rfc_dest i_retry_count = i_retry_count i_doc_key = i_doc_key i_queue_entry_choice = i_queue_entry_choice i_doc_state = i_doc_state i_max_results = i_max_results IMPORTING e_return_code = return_code e_return_text = return_text e_entries_return = e_entries_return.

TREX_EXT_FLUSH_QUEUES CALL FUNCTION 'TREX_EXT_FLUSH_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_RESET_FAILED_ENTRIES CALL FUNCTION 'TREX_EXT_RESET_FAILED_ENTRIES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest i_failed_type = i_failed_type IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_SET_QUEUE_PARAMETERS CALL FUNCTION 'TREX_EXT_SET_QUEUE_PARAMETERS' EXPORTING i_rfc_destination = rfc_dest i_queue_parameters = i_queue_parameters IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_SET_QUEUE_PARAMETERS CALL FUNCTION 'TREX_EXT_SET_QUEUE_PARAMETERS' EXPORTING i_rfc_destination = rfc_dest i_queue_parameters = i_queue_parameters IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.

TREX_EXT_SUSPEND_QUEUES





CALL FUNCTION 'TREX_EXT_SUSPEND_QUEUES' EXPORTING i_indexes = i_indexes i_rfc_destination = rfc_dest IMPORTING e_return_code = return_code e_return_text = return_text e_queue_return = e_queue_return.



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_QS_ADMIN or its description.