Menu

SAP Function Module TREX_RFC_SEARCH_DOCUMENTS

Search

Unsere Literaturempfehlung

ABAP Workbench - 100 Tipps & Tricks

Es gibt 100 gute Gründe, warum Sie dieses Buch kaufen sollten. Doch die verraten wir Ihnen hier nicht. Nur so viel: Wenn Sie die ABAP Workbench als Ihr zweites Wohnzimmer begreifen, ist dieses Buch genau das richtige für Sie! Die Mini-Tutorials in diesem Buch unterstützen Sie dabei, Software in ABAP effizienter zu entwickeln. Tipps und Tricks, wie Sie sich bei der Bearbeitung von Quelltext das Leben leichter machen, wie Sie häufig wiederkehrende Programmieraufgaben automatisieren oder umständliches Vorgehen früherer Tage endlich über Bord werfen. Sie werden die ABAP Workbench in einem ganz neuen Licht erleben. Eine klare Sprache, Klick-für-Klick-Anleitungen, Zusammenfassungen und Hervorhebungen sorgen dabei für einen schnellen und unkomplizierten Lernerfolg.

Bei amazon.de ansehen →

The Function Module TREX_RFC_SEARCH_DOCUMENTS (Search) is a standard Function Module in SAP ERP and is part of the function group TREX_RFC_TM within the package STREX.

Technical Information

Function Module TREX_RFC_SEARCH_DOCUMENTS
Short Text Search
Function Group TREX_RFC_TM
Package STREX
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ATTR_DIST_GLOBAL TYPE TREXX_ATTR_DIST_GLOBAL Global settings for attribute distribution
COUNT_ONLY TYPE TREXX_RFC-FLAG X: result documents are only counted
INDEXSERVER_LOCATION TYPE TREXX_RFC-LOCATION Host:Port
MAX_SNIPPET_WORDS TYPE TREXX_RFC-NUMC Maximum number of words in snippets
REQUESTED_SEARCH_RESULTS TYPE TREXX_RFC-REQUESTED_RESULTS 1: Documents 2: Statistical infos, 3: Statistical overview
REQUEST_FLAGS TYPE TREXX_RFC-REQUEST_FLAG 1: DidYouMean, 2: Snippets 4: TitleSnippets or a bit combina
RESULT_FROM TYPE TREXX_RFC-NUMC from
RESULT_TO TYPE TREXX_RFC-NUMC to
STAGING TYPE TREXX_RFC-BOOLEAN Staging

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
COMPONENT_RUNTIME TYPE TREXX_COMPONENT_RUNTIME run time of the trex components
INDEX_SIZE TYPE TREXX_RFC-NUMC Index size
NO_OF_ALL_HITS TYPE TREXX_RFC-NUMC Number of all Hits in Index
NO_OF_HITS TYPE TREXX_RFC-NUMC Number of Hits
RETURN_CODE TYPE TREXX_RFC-RETURN_CODE Return code
RETURN_TEXT TYPE TREXX_RFC-RETURN_TEXT Return text

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADMIN_RESULT_DOCS LIKE TREXX_RFC_RETURN_DOC Export: Administered Result Document
ADMIN_RESULT_DOC_ATTR LIKE TREXX_RFC_DOC_ATTRIBUTES Export: Administered Document attributes
ADMIN_RESULT_DOC_CONTENT LIKE TREXX_RFC_DOC_CONTENT Export: Administered Document content
ATTR_DIST_DEFINITION LIKE TREXX_ATTR_DIST_DEFINITION Import: Definitions for attribute distribution
ATTR_DIST_OVERVIEW LIKE TREXX_ATTR_DIST_OVERVIEW Export: Attribute distribution overview
ATTR_DIST_RANGES LIKE TREXX_ATTR_DIST_RANGE Export: Attribute distribution range
ATTR_DIST_VALUES LIKE TREXX_ATTR_DIST_VALUE Export: Attribute distribution value
COMP_DESCR LIKE TREXX_COMP_DESCR Import: Description of the components
HIGHLIGHT_ATTRIBUTES LIKE TREXX_RFC_REQ_ATTRIBUTES Import: highlight Attributes
INDEX_ALIAS_OPERATIONS LIKE TREXX_INDEX_ALIAS_OPERATION Import: Index Alias Operation
INDEX_LIST LIKE TREXX_RFC_INDEXLIST Import: Indexes
JOIN_CONDITIONS LIKE TREXX_STATIC_JOIN_CONDITION Import: join condition
KEY_FIGURES LIKE TREXX_KEY_FIGURE Import: key figure
QUERY_ENTRY LIKE TREXX_RFC_QUERY_ENTRY Import: Query Entries
REQ_ATTRIBUTES LIKE TREXX_RFC_REQ_ATTRIBUTES Import: Requested Attributes
RESULT_DOCS LIKE TREXX_RFC_RETURN_DOC Export: Documents
RESULT_DOC_ATTR LIKE TREXX_RFC_DOC_ATTRIBUTES Export: Document Attributes
RESULT_DOC_CONTENT LIKE TREXX_RFC_DOC_CONTENT Export: Document Content
SORT_ATTRIBUTES LIKE TREXX_RFC_SORT_ATTRIBUTES Import: Sort Attributes
SUGGESTED_TERMS LIKE TREXX_SUGGESTED_TERM Export: DidYouMean

Exceptions

This function module does not define any Exceptions.