Menu

SAP Function Module TREX_EXT_CREATE_INDEX

Create Index

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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

Technical Information

Function Module TREX_EXT_CREATE_INDEX
Short Text Create Index
Function Group TREX_EXT_ADMINISTRATION
Package STREX
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_ANALYZER_TYPE TYPE TREX_RFC-ANALYZER_TYPE '' '': default, 0: fast analyzer, 2: standard analyzer
I_ATTRIBUTE_DEFINITIONS TYPE TREXT_ATTR_DEF Attribut definitions
I_AUTO_CREATE_LANGUAGES TYPE TREX_RFC-FLAG 'X' 'X': Language indexes are created automatically
I_DESCRIPTION TYPE TREX_RFC-DESCRIPTION Description
I_DIRECT_USE TYPE TREX_RFC-BOOLEAN '0' 0: copy data from importPath to default location 1: don't copy, use data direct
I_DOCS_CHANGE_LANGUAGE TYPE TREX_RFC-BOOLEAN '0' 1: deindex doc before reindexing
I_DUPLICATE_DETECTION TYPE TREX_RFC-FLAG '' 'X': Duplicate documents are checked
I_EXTENSIONS TYPE TREXT_EXTENSIONS Extension definition
I_IMPORT_PATH TYPE TREX_RFC-PATH path where index formerly exported
I_IMPORT_WRITABLE TYPE TREX_RFC-BOOLEAN '1' 0: index will be just readable 1: create also write version
I_INDEXSERVER_LOCATION TYPE TREX_RFC-LOCATION Host and Port of the Index Server (Host:Port)
I_INDEX_ID TYPE TREX_RFC-INDEX_ID IndexId: a-z, 0-9, '_', '-'
I_INDEX_TYPE TYPE TREX_RFC-FLAG '0' 0: Physical Index, 1: Logical Index, 2:Temporary index
I_IS_PUBLIC TYPE TREX_RFC-FLAG 'X' 'X': Index is published
I_IS_SEARCHABLE TYPE TREX_RFC-FLAG 'X' 'X': searching is possible in the index
I_KEEP_CONTENT TYPE TREX_RFC-FLAG 'X' 'X': Document content is stored
I_KEY_ATTRIBUTES TYPE TREXT_ATTRIBUTES Key Attributes
I_LANGUAGE TYPE TREX_RFC-LANGUAGE 'EN' Language DE (German), EN (Englisch)
I_LANGUAGE_INDEXES TYPE TREXT_INDEXES Optional: language/logical indexes
I_LOGICAL_INDEX_TYPE TYPE TREX_RFC-FLAG '0' 0: Splitted Index, 1: Language Index, 2: Join Index, 3: Olap Index
I_MEMORY_INDEX TYPE TREX_RFC-FLAG 'X': Index only in memory
I_MULTILANG_DOCS TYPE TREX_RFC-FLAG '' Optional: Docs with same key, but different language allowed
I_PHYSICAL_INDEXES TYPE TREXT_INDEXES Optional: splitted/logical indexes
I_PRECALCULATE_FEATURES TYPE TREX_RFC-FLAG 'X': Document features are calculated and stored
I_QUEUESERVER_LOCATION TYPE TREX_RFC-LOCATION Host and Port of the Queue Server (Host:Port)
I_RFC_DESTINATION TYPE TREX_RFC-RFC_DESTINATION RFC Destination
I_SIZE_FOR_DELTA_INDEX TYPE TREX_RFC-NUMC 0 Optional: Maximum no of documents in delta index
I_TEXTMINING_RELEVANT TYPE TREX_RFC-FLAG 'X' 'X': Textmining Index is created
I_USE_QUEUESERVER TYPE TREX_RFC-FLAG 'X' 'X': QueueServer is used

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_RETURN_CODE TYPE TREX_RFC-RETURN_CODE Return code
E_RETURN_TEXT TYPE TREX_RFC-RETURN_TEXT Return text

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONVERSION_ERROR Error during conversion to UTF-8
ERROR Error, see error message