Hierarchy
⤷ BC-SRV-SEN (Application Component) ABAP Search Engine for ERP Solution Database
⤷ SRTV (Package) Natural Language Text Retrieval: Core functions
Basic Data
Data Element | SRTVCBACTC |
Short Description | Text Retrieval: Callback for Actuality Check |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | FUNCNAME | |
Data Type | CHAR | Character String |
Length | 30 | |
Decimal Places | 0 | |
Output Length | 30 | |
Value Table | TFDIR |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | LIB | |
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | Actuality |
Medium | 15 | Actuality Check |
Long | 20 | Actuality Check CB |
Heading | 30 | Actuality Check Callback |
Documentation
Definition
Name of the actuality check callback used when the index is compiled.
Use
The application calling the Search Engine's compilation function (function module SRTV_CALL_CORPUS_COMPILER) uses this callback to decide what actions to take.
The interface of the callback function is described in the following parameters:
- IMPORT
- VALUE(ID_CORPUSID) TYPE SRTVCORPID
- VALUE(ID_LAST_COMP_DATE) TYPE SRTVCRDATE
- VALUE(ID_LAST_COMP_TIME) TYPE SRTVCRTIME
- EXPORT
- REFERENCE(ED_COMPILEMODE) TYPE SRTV_COMPILEMODE
- EXCEPTIONS
- CANCEL_COMPILATION
The search engine returns the index name and the time stamp of the last compilation action (compilation, updating, deletion) performed on the index. By means of the export parameter ED_COMPILEMODE the application decides what action is to be performed by the index compilation function. The export parameter can have three values. For each of these values, there is a constant in the type pool SRTV. These constants are as follows:
- srtv_compile
The index is purged (if it exists) and subsequently (re)constructed using the passed documents.
- srtv_delete
Some documents are deleted (more accurately, the information referring to these documents) from the index.
- srtv_add
Some documents are compiled and added to the index. This action can be used to periodically update the index to include new and added (in conjunction with prior deletion) documents.
Dependencies
The list of documents to be processed and their texts are passed to the search engine by the read document callback.
The types used on the interfaces of the callback functions are defined in the ABAP Dictionary or in type pools SRTV and SRTV1.
Examples
History
Last changed by/on | SAP | 20020827 |
SAP Release Created in |