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.
Function Module | TREX_EXT_CREATE_INDEX |
Short Text | Create Index |
Function Group | TREX_EXT_ADMINISTRATION |
Package | STREX |
Module Type | Normal Module |
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 |
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 |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
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 |