Menu

SAP Function Module TREX_RFC_CREATE_INDEX

Create Index

The Function Module TREX_RFC_CREATE_INDEX (Create Index) is a standard Function Module in SAP ERP and is part of the function group TREX_RFC_ADMINISTRATION within the package STREX.

Technical Information

Function Module TREX_RFC_CREATE_INDEX
Short Text Create Index
Function Group TREX_RFC_ADMINISTRATION
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
AUTO_CREATE_LANGUAGES TYPE TREXX_RFC-FLAG Language indexes are created automatically
DESCRIPTION TYPE TREXX_RFC-DESCRIPTION Description
DIRECT_USE TYPE TREXX_RFC-BOOLEAN 0: false, 1: true
DOCS_CHANGE_LANGUAGE TYPE TREXX_RFC-BOOLEAN 0: false, 1: true
DUPLICATE_DETECTION TYPE TREXX_RFC-FLAG Duplicate documents are checked
IMPORT_WRITABLE TYPE TREXX_RFC-BOOLEAN 0: false, 1: true
INDEXSERVER_LOCATION TYPE TREXX_RFC-LOCATION Host and Port of the index server
INDEX_ID TYPE TREXX_RFC-INDEX_ID Index Id
INDEX_TYPE TYPE TREXX_RFC-FLAG Indicator
IS_PUBLIC TYPE TREXX_RFC-FLAG '' 'X': Index is published
IS_SEARCHABLE TYPE TREXX_RFC-FLAG Index can be used for searching
KEEP_CONTENT TYPE TREXX_RFC-FLAG Content is stored on disk
LANGUAGE TYPE TREXX_RFC-LANGUAGE '' Language
LOGICAL_INDEX_TYPE TYPE TREXX_RFC-FLAG Indicator
MEMORY_INDEX TYPE TREXX_RFC-FLAG Memory index
MULTILANG_DOCS TYPE TREXX_RFC-FLAG 'X': documents with same key and different language are allowed
PRECALCULATE_FEATURES TYPE TREXX_RFC-FLAG Document features are calculated and stored on disk
QUEUESERVER_LOCATION TYPE TREXX_RFC-LOCATION Host and Port of the queue server
SIZE_FOR_DELTA_INDEX TYPE TREXX_RFC-NUMC Max no of docs that are kept in the delta index
TEXTMINING_RELEVANT TYPE TREXX_RFC-FLAG '' Text mining relevant
USE_QUEUESERVER TYPE TREXX_RFC-FLAG '' 'X': Queue server is used

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
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
ATTRIBUTE_DEFINITIONS LIKE TREXX_ATTR_DEF Attribut definitions
EXTENSIONS LIKE TREXX_EXTENSIONS Extensions
KEY_ATTRIBUTES LIKE TREXX_RFC_REQ_ATTRIBUTES Key attributes
LANGUAGE_INDEXES LIKE TREXX_INDEXES RAW: IndexId and location
PHYSICAL_INDEXES LIKE TREXX_INDEXES RAW: IndexId and location

Exceptions

This function module does not define any Exceptions.