SAP Function TREX_RFC_SEARCH_DOCUMENTS - Search

Parameter Reference Type Length Default Optional Text
ATTR_DIST_GLOBAL TREXX_ATTR_DIST_GLOBAL u 20 X Global settings for attribute distribution
COUNT_ONLY TREXX_RFC-FLAG X 1 X X: result documents are only counted
INDEXSERVER_LOCATION TREXX_RFC-LOCATION X 20 X Host:Port
MAX_SNIPPET_WORDS TREXX_RFC-NUMC N 10 X Maximum number of words in snippets
REQUESTED_SEARCH_RESULTS TREXX_RFC-REQUESTED_RESULTS N 3 X 1: Documents 2: Statistical infos, 3: Statistical overview
REQUEST_FLAGS TREXX_RFC-REQUEST_FLAG N 3 X 1: DidYouMean, 2: Snippets 4: TitleSnippets or a bit combina
RESULT_FROM TREXX_RFC-NUMC N 10 X from
RESULT_TO TREXX_RFC-NUMC N 10 X to
STAGING TREXX_RFC-BOOLEAN N 1 X Staging
SWICH_ON_TRACE NUMC2 N 2 X Two digit number
TRACE_COMPONENTS RAW128 X 128 X Data field for RFC with frontend printing (cont.ASCII data)

Parameter Reference Type Length Text
COMPONENT_RUNTIME TREXX_COMPONENT_RUNTIME u 30 Run time of the trex components
INDEX_SIZE TREXX_RFC-NUMC N 10 Index size
LINES_WITH_LB TREXX_LINE_WITH_LB u 130 line with linebreaks
NO_OF_ALL_HITS TREXX_RFC-NUMC N 10 Number of all Hits in Index
NO_OF_HITS TREXX_RFC-NUMC N 10 Number of Hits
RETURN_CODE TREXX_RFC-RETURN_CODE N 5 Return code
RETURN_TEXT TREXX_RFC-RETURN_TEXT X 250 Return text

Parameter Reference Length Optional Text
ADMIN_RESULT_DOCS TREXX_RFC_RETURN_DOC 165 X Export: Administered Result Document
ADMIN_RESULT_DOC_ATTR TREXX_RFC_DOC_ATTRIBUTES 341 X Export: Administered Document attributes
ADMIN_RESULT_DOC_CONTENT TREXX_RFC_DOC_CONTENT 1034 X Export: Administered Document content
ATTR_DIST_DEFINITION TREXX_ATTR_DIST_DEFINITION 221 X Import: Definitions for attribute distribution
ATTR_DIST_OVERVIEW TREXX_ATTR_DIST_OVERVIEW 94 X Export: Attribute distribution overview
ATTR_DIST_RANGES TREXX_ATTR_DIST_RANGE 1110 X Export: Attribute distribution range
ATTR_DIST_VALUES TREXX_ATTR_DIST_VALUE 586 X Export: Attribute distribution value
HIGHLIGHT_ATTRIBUTES TREXX_RFC_REQ_ATTRIBUTES 64 X Import: highlight Attributes
INDEX_LIST TREXX_RFC_INDEXLIST 66 Import: Indexes
QUERY_ENTRY TREXX_RFC_QUERY_ENTRY 387 Import: Query Entries
REQ_ATTRIBUTES TREXX_RFC_REQ_ATTRIBUTES 64 X Import: Requested Attributes
RESULT_DOCS TREXX_RFC_RETURN_DOC 165 X Export: Documents
RESULT_DOC_ATTR TREXX_RFC_DOC_ATTRIBUTES 341 X Export: Document Attributes
RESULT_DOC_CONTENT TREXX_RFC_DOC_CONTENT 1034 X Export: Document Content
SORT_ATTRIBUTES TREXX_RFC_SORT_ATTRIBUTES 65 X Import: Sort Attributes
SUGGESTED_TERMS TREXX_SUGGESTED_TERM 510 X Export: DidYouMean
TERM_ATTR_INFO TREXX_TERM_ATTR_INFO 1129 X term attribute info