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

TREX_SEARCH_TEMPLATE SAP ABAP Report - Search template







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


Text pool values


Title: Search template


INCLUDES used within this REPORT TREX_SEARCH_TEMPLATE

No INCLUDES are used within this REPORT code!


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_AUTHORITY_CHECK_ADMIN CALL FUNCTION 'TREX_AUTHORITY_CHECK_ADMIN' EXCEPTIONS OTHERS = 1.

TREX_EXT_SEARCH_CELL_TABLE CALL FUNCTION 'TREX_EXT_SEARCH_CELL_TABLE' EXPORTING i_indexes = lt_indexes i_rfc_destination = rfc_dest i_query_entries = lt_query_entries i_req_attributes = lt_req_attributes i_result_from = l_result_from i_result_to = l_result_to i_comp_descr = lt_comp_descr i_count_only = l_count_only i_request_flags = l_request_flags IMPORTING e_return_code = l_return_code e_return_text = l_return_text e_result_table = e_no_of_hits = l_no_of_hits e_no_of_all_hits = l_no_of_all_hits e_index_size = l_index_size e_component_runtime = ls_runtime EXCEPTIONS OTHERS = 1.



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