SAP ABAP Class CL_CRM_SAF_SE_TREX_ABAP (SAF: Default Search Engine)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-GTF-IC-SAF (Application Component) Software Agent Framework
     EI_SAF_SE (Package) SAF - Search Engine Extension Framework
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_CRM_SAF_SE_GENIL SAF: Generic search/index services 20030929
Properties
Class CL_CRM_SAF_SE_TREX_ABAP  
Short Description SAF: Default Search Engine    
Super Class CL_CRM_SAF_SE_GENIL SAF: Generic search/index services 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EI_SAF_SE   SAF - Search Engine Extension Framework 
Created 20030929   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CRM_SAF_SE_TREX_ABAP has no forward declaration.
Interfaces
Class CL_CRM_SAF_SE_TREX_ABAP has no interface implemented.
Friends
Class CL_CRM_SAF_SE_TREX_ABAP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BATCH_SIZE Constant Public Type reference (TYPE) I 1000 20031106
2 GC_MAX_JOBS Constant Public Type reference (TYPE) I 1 20040330
3 GC_OPTIMIZE_SIZE Constant Public Type reference (TYPE) I 20 20031203
4 GC_TREX_ACTION_EXACT Constant Public Type reference (TYPE) STRING 'E' 20030930
5 GC_TREX_ACTION_FUZZY Constant Public Type reference (TYPE) STRING 'F' 20030930
6 GC_TREX_ACTION_LINGUISTIC Constant Public Type reference (TYPE) STRING 'L' 20030930
7 GC_TREX_ATTR_CLUSTER_ID Constant Public Type reference (TYPE) STRING '__SAF_CLUSTER_ID' 20040319
8 GC_TREX_ATTR_CLUSTER_ID_OLD Constant Public Type reference (TYPE) STRING 'clusterattribute' 20040319
9 GC_TREX_ATTR_DESCRIPTION Constant Public Type reference (TYPE) STRING '__SAF_DESCRIPTION' 20031001
10 GC_TREX_ATTR_DESCRIPTION_OLD Constant Public Type reference (TYPE) STRING 'kb_description' 20040319
11 GC_TREX_ATTR_KB_ID Constant Public Type reference (TYPE) STRING '__SAF_KB_ID' 20031001
12 GC_TREX_ATTR_KB_ID_OLD Constant Public Type reference (TYPE) STRING 'kb_id' 20040319
13 GC_TREX_ATTR_KB_NAME Constant Public Type reference (TYPE) STRING '__SAF_KB_NAME' 20031001
14 GC_TREX_ATTR_KB_NAME_OLD Constant Public Type reference (TYPE) STRING 'kbnameattribute' 20040319
15 GC_TREX_CONTENT_AND Constant Public Type reference (TYPE) STRING 'A' 20030930
16 GC_TREX_CONTENT_C Constant Public Type reference (TYPE) STRING 'C' CONTENT 20051010
17 GC_TREX_CONTENT_OR Constant Public Type reference (TYPE) STRING 'O' 20030930
18 GC_TREX_CONTENT_STRING Constant Public Type reference (TYPE) STRING 'S' 20030930
19 GC_TREX_CONTENT_TEXT Constant Public Type reference (TYPE) STRING 'C' 20030930
20 GC_TREX_OP_AND Constant Public Type reference (TYPE) STRING 'AND' 20030930
21 GC_TREX_OP_BT Constant Public Type reference (TYPE) STRING 'BT' 20030930
22 GC_TREX_OP_EQ Constant Public Type reference (TYPE) STRING 'EQ' 20030930
23 GC_TREX_OP_GE Constant Public Type reference (TYPE) STRING 'GE' 20030930
24 GC_TREX_OP_GT Constant Public Type reference (TYPE) STRING 'GT' 20030930
25 GC_TREX_OP_LE Constant Public Type reference (TYPE) STRING 'LE' 20030930
26 GC_TREX_OP_LT Constant Public Type reference (TYPE) STRING 'LT' 20030930
27 GC_TREX_OP_NE Constant Public Type reference (TYPE) STRING 'NE' 20030930
28 GC_TREX_OP_NOT Constant Public Type reference (TYPE) STRING 'NOT' 20030930
29 GC_TREX_OP_OR Constant Public Type reference (TYPE) STRING 'OR' 20030930
30 GC_TREX_ROWTYPE_ATTRIBUTE Constant Public Type reference (TYPE) STRING 'ATTRIBUTE' 20030930
31 GC_TREX_ROWTYPE_CLOSE Constant Public Type reference (TYPE) STRING 'BRACKET_CLOSE' 20030930
32 GC_TREX_ROWTYPE_OPEN Constant Public Type reference (TYPE) STRING 'BRACKET_OPEN' 20030930
33 GC_TREX_ROWTYPE_OPERATOR Constant Public Type reference (TYPE) STRING 'OPERATOR' 20030930
34 GC_TREX_ROWTYPE_TERM Constant Public Type reference (TYPE) STRING 'TERM' 20030930
35 GR_EXIT_INSTANCE Static Attribute Private Object reference (TYPE REF TO) IF_EX_CRM_SAF_SE Business add-in interface IF_EX_CRM_SAF_SE 20030930
36 GR_SECURITY Static Attribute Private Object reference (TYPE REF TO) CL_CRM_SAF_IS_GENIL SAF: Information security service 20030930
37 GV_EXIT_INITIALIZED Static Attribute Private Type reference (TYPE) XFELD Checkbox 20030930
38 GV_KB_MANAGER Static Attribute Public Object reference (TYPE REF TO) CL_CRM_EI_KB_MANAGER SAF: Knowlegde base generation and compilation 20030930
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20031001
2 CONV_ATTR_QUERY_TO_TREX Instance method Public Method Convert SAF attribute query to TREX query 20030930
3 CONV_TEXT_QUERY_TO_TREX Instance method Public Method Convert SAF text query to TREX query 20030930
4 GET_CMP_SETTINGS Instance method Public Method 20040330
5 GET_RFC_DESTINATION Instance method Private Method Get rfc destination 20030930
6 MERGE_BOOLEAN_OPERATION Instance method Private Method Merge two attribute query with a boolean operation 20030930
7 MERGE_BOOLEAN_OPERATION_TREX Instance method Private Method Merge two trex queries with a boolean operation 20040309
8 PARSE_TEXT_QUERY Instance method Public Method Parse SAF text query for separator 20040409
9 PROCESS_KBS Instance method Public Method 20040330
10 STORE_FEATURE_CLUSTER Instance method Private Method 20031004
11 WRITE_APPLICATION_LOG Instance method Private Method Write all found errors into the application log 20090818
Events
Class CL_CRM_SAF_SE_TREX_ABAP has no event.
Types
Class CL_CRM_SAF_SE_TREX_ABAP has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_CRM_SAF_SE_TREX_ABAP has no parameter.
Method CLASS_CONSTRUCTOR on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method CONV_ATTR_QUERY_TO_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SAF_ATTR_QUERY Value transfer Type reference (TYPE) CRMT_SAF_IS_OPERATION_TAB SAF: Tabelle für Boolesche Vorgänge 20030930
2 Returning RT_TREX_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES Suchanfrage 20030930

Method CONV_ATTR_QUERY_TO_TREX on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method CONV_TEXT_QUERY_TO_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SAF_TEXT_QUERY Value transfer Type reference (TYPE) CRMT_SAF_SE_TEXT_QUERY_TAB SAF: Tabellentyp für Textanfrage 20030930
2 Importing IV_FUZZY Value transfer Type reference (TYPE) INT4 8000 Natürliche Zahl 20030930
3 Returning RT_TREX_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES Suchanfrage 20030930

Method CONV_TEXT_QUERY_TO_TREX on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method GET_CMP_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CMP_SETTINGS Call by reference Type reference (TYPE) CRMVDSAF_COMPILE Generierte Tabelle für View CRMVDSAF_COMPILE 20040330
2 Exporting ES_JOB_SETTINGS Call by reference Type reference (TYPE) CRMVDSAF_JOB Generierte Tabelle für View CRMVDSAF_JOB 20040330
3 Importing IV_KB_NAME Call by reference Type reference (TYPE) CRMT_EI_KB_NAME SAF: Name der Wissensdatenbank 20040330
4 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20040330

Method GET_CMP_SETTINGS on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method GET_RFC_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COMPILE_RFC Value transfer Type reference (TYPE) RFCDEST Logische Destination (in Funktionsaufruf definiert) 20031001
2 Exporting EV_SEARCH_RFC Value transfer Type reference (TYPE) RFCDEST Logische Destination (in Funktionsaufruf definiert) 20031001
3 Importing IV_KB_NAME Value transfer Type reference (TYPE) CRMT_EI_KB_NAME SAF: Name der Wissensdatenbank 20030930
4 Importing IV_LANGUAGE Value transfer Type reference (TYPE) SPRAS SY-LANGU Sprachenschlüssel 20030930

Method GET_RFC_DESTINATION on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method MERGE_BOOLEAN_OPERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIRST_QUERY Value transfer Type reference (TYPE) CRMT_SAF_IS_OPERATION_TAB SAF: Tabelle für Boolesche Vorgänge 20030930
2 Importing IT_SECOND_QUERY Value transfer Type reference (TYPE) CRMT_SAF_IS_OPERATION_TAB SAF: Tabelle für Boolesche Vorgänge 20030930
3 Importing IV_OPERATION Value transfer Type reference (TYPE) CRMT_SAF_OPERATION_TYPE IF_CRM_SAF_IS_CONST~GC_AND SAF: Arten Boolescher Vorgänge 20030930
4 Returning RT_MERGED_QUERY Value transfer Type reference (TYPE) CRMT_SAF_IS_OPERATION_TAB SAF: Tabelle für Boolesche Vorgänge 20030930

Method MERGE_BOOLEAN_OPERATION on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method MERGE_BOOLEAN_OPERATION_TREX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIRST_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES SAF: Tabelle für Boolesche Vorgänge 20040309
2 Importing IT_SECOND_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES SAF: Tabelle für Boolesche Vorgänge 20040309
3 Importing IV_OPERATION Value transfer Type reference (TYPE) STRING GC_TREX_OP_AND SAF: Arten Boolescher Vorgänge 20040309
4 Returning RT_MERGED_QUERY Value transfer Type reference (TYPE) TREXT_QUERY_ENTRIES SAF: Tabelle für Boolesche Vorgänge 20040309

Method MERGE_BOOLEAN_OPERATION_TREX on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method PARSE_TEXT_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SAF_TEXT_QUERY Value transfer Type reference (TYPE) CRMT_SAF_SE_TEXT_QUERY_TAB SAF: Tabellentyp für Textanfrage 20040409
2 Importing IV_APP_NAME Value transfer Type reference (TYPE) CRMT_EI_APP_NAME SAF: Anwendungsname 20040409
3 Returning RT_SAF_TEXT_QUERY Value transfer Type reference (TYPE) CRMT_SAF_SE_TEXT_QUERY_TAB Suchanfrage 20040409

Method PARSE_TEXT_QUERY on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method PROCESS_KBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN_CODE Call by reference Type reference (TYPE) CRMT_SAF_SE_CODE_TAB SAF: Tabelle zurückgegebener Codes für Suchmaschinen 20040330
2 Exporting ET_SE_DOCS Call by reference Type reference (TYPE) TREXT_INDEX_DOCS SAF: Tabellentyp für Name-Wert-Paare 20040330
3 Exporting EV_KB_DEL Call by reference Type reference (TYPE) I 20040330
4 Exporting EV_KB_NEW Call by reference Type reference (TYPE) I 20040330
5 Exporting EV_KB_UPD Call by reference Type reference (TYPE) I 20040330
6 Exporting EV_SUCCESS Call by reference Type reference (TYPE) BOOLEAN Boolesche Variable (X=wahr, -=falsch, leer=unbekannt) 20040330
7 Importing IT_ATTR_DEF Call by reference Type reference (TYPE) CRMT_EI_ATTR_DEF_TAB SAF: Tabelle für Attributdefinitionen 20040409
8 Importing IT_KB_BO Call by reference Type reference (TYPE) CRMT_EI_BO_COMMON_TAB SAF: Tabellentyp für CRMT_EI_BO_SDB 20040330
9 Importing IT_KB_HEADER Call by reference Type reference (TYPE) CRMT_EI_KB_HEADER_TAB SAF: Tabellentyp für CRMT_EI_KB_SDB 20040330
10 Importing IV_DELTA Call by reference Type reference (TYPE) BOOLEAN 'X' Boolesche Variable (X=wahr, -=falsch, leer=unbekannt) 20040330
11 Importing IV_INDEX_ID Call by reference Type reference (TYPE) TREX_RFC-INDEX_ID Index Id 20060912
12 Importing IV_KB_INSTANCE Call by reference Object reference (TYPE REF TO) IF_CRM_EI_KB SAF: KB-Bereitstellung, Generierung und Kompilierung 20040330
13 Importing IV_KB_NAME Call by reference Type reference (TYPE) CRMT_EI_KB_NAME SAF: Name der Wissensdatenbank 20040330
14 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20040330
15 Importing IV_RFC_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20060912
16 Importing IV_USE_QUEUESERVER Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060912
17 Exporting LT_DEPENDENT_DEL Call by reference Type reference (TYPE) CRMT_EI_LANG_SDB_TAB SAF: Table Type for Knowldge Base Entity 20090424

Method PROCESS_KBS on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method STORE_FEATURE_CLUSTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SUCCESS Call by reference Type reference (TYPE) BOOLEAN Boolesche Variable (X=wahr, -=falsch, leer=unbekannt) 20031004
2 Importing IT_CLUSTER_ID Call by reference Type reference (TYPE) CRMT_EI_CLUSTER_ID_TAB SAF: Datentyp für Cluster-ID 20031004
3 Importing IV_APP_NAME Call by reference Type reference (TYPE) CRMT_EI_APP_NAME SAF: Anwendungsname 20031004
4 Importing IV_KB_NAME Call by reference Type reference (TYPE) CRMT_EI_KB_NAME SAF: Name der Wissensdatenbank 20031004
5 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Sprachenschlüssel 20031004

Method STORE_FEATURE_CLUSTER on class CL_CRM_SAF_SE_TREX_ABAP has no exception.

Method WRITE_APPLICATION_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMP_TYPE Call by reference Type reference (TYPE) CHAR5 Char 20 20090818
2 Importing IT_RETURN_CODE Call by reference Type reference (TYPE) CRMT_SAF_SE_CODE_TAB SAF: Table of returned codes for search engines 20090818
3 Importing IV_KB_NAME Call by reference Type reference (TYPE) CRMT_EI_KB_NAME Name of Knowledge Base 20090818
4 Importing IV_LANG Call by reference Type reference (TYPE) SPRAS Language Key 20090818

Method WRITE_APPLICATION_LOG on class CL_CRM_SAF_SE_TREX_ABAP has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in