TREX_RFC_GET_CONTENT 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_RFC_GET_CONTENT 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.
Selection Text: BIN = Add Binary Content
Selection Text: DOCIDS = Add DocIds
Selection Text: INDEX_ID = D .
Selection Text: LANGU = D .
Selection Text: REQFLAG = Request Flag
Selection Text: RFC_DEST = D .
Selection Text: URLS = Add URLs
Selection Text: VALUE = Term for Highlighting
Title: Get HTML content of documents (with highlighting)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TREX_AUTHORITY_CHECK_ADMIN CALL FUNCTION 'TREX_AUTHORITY_CHECK_ADMIN' EXCEPTIONS OTHERS = 1.
TREX_EXT_GET_DOC_CONTENT CALL FUNCTION 'TREX_EXT_GET_DOC_CONTENT' EXPORTING i_index_id = index_id i_request_flag = reqflag i_search_docs = lt_docs i_query_entries = lt_query i_rfc_destination = rfc_dest i_content_request = conreq IMPORTING e_result_docs = lt_return e_return_code = l_return_code e_return_text = l_return_text e_hit_positions = lt_pos EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.
TREX_EXT_SEARCH_DOCUMENTS CALL FUNCTION 'TREX_EXT_SEARCH_DOCUMENTS' EXPORTING i_indexes = lt_indexes i_rfc_destination = rfc_dest i_query_entries = lt_query i_req_attributes = lt_req_attr i_result_to = '3' IMPORTING e_return_code = l_return_code e_return_text = l_return_text e_result_docs = lt_result_docs EXCEPTIONS OTHERS = 1.
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_RFC_GET_CONTENT - Get HTML content of documents (with highlighting) TREX_RFC_GET_CONTENT - Get HTML content of documents (with highlighting) TREX_RFC_GET_CLASS_FEATURES - Get Class Features TREX_RFC_GET_CLASS_FEATURES - Get Class Features TREX_RFC_FILE_TRANSFER - Upload / download a file from a TREX SERVER to a local workstation TREX_RFC_FILE_TRANSFER - Upload / download a file from a TREX SERVER to a local workstation