SAP Function TREX_EXT_SEARCH_EXTERNAL - Search external

Parameter Reference Type Length Default Optional Text
I_INDEXES TREXT_INDEXLIST_EXTERNAL h 84 Indexes
I_INDEXSERVER_LOCATION TREX_RFC-LOCATION C 20 X Indexserver (Host:Port)
I_QUERY_ENTRIES TREXT_QUERY_ENTRIES h 200 Query Entries
I_RESULT_FROM I I 4 1 X from
I_RESULT_TO I I 4 20 X to
I_RFC_DESTINATION TREX_RFC-RFC_DESTINATION C 32 X RFC Destination

Parameter Reference Type Length Text
E_COMPONENT_RUNTIME TREXS_COMPONENT_RUNTIME u 16 Run time of the TREX components
E_NO_OF_ALL_HITS I I 4 Total number of hits in index
E_NO_OF_HITS I I 4 Number of hits returned
E_RESULT_DOCS TREXT_RESULT_DOCS h 104 Result documents
E_RETURN_CODE TREX_RFC-RETURN_CODE I 4 Return code
E_RETURN_TEXT TREX_RFC-RETURN_TEXT C 200 Return text

Exception Text
CONVERSION_ERROR Error during conversion
ERROR Error, see error message