SAP ABAP Class CL_EAMS_BO_SEARCH_SRV (Service Classe for Search)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM (Application Component) Plant Maintenance
     EAMS_BO_MISC (Package) Miscellaneous for Business Object
Properties
Class CL_EAMS_BO_SEARCH_SRV  
Short Description Service Classe for Search    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAMS_BO_MISC   Miscellaneous for Business Object 
Created 20090402   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_EAMS_BO_SEARCH_SRV has no interface implemented.
Friends
Class CL_EAMS_BO_SEARCH_SRV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DEFAULT_QUERY Constant Public Type reference (TYPE) EAMS_D_SEARCH_QUERY_ID '$!DEFAULT' Identifier for Search Query 20090402
2 GO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_EAMS_BO_SEARCH_SRV Service Classe for Search 20090402
3 MO_SRV Instance attribute Protected Object reference (TYPE REF TO) CL_EAMS_BO_SRV Service class for BO 20090402
4 MT_QUERY_OBJ_BUFFER Static Attribute Protected Type reference (TYPE) GTY_TH_QUERY_OBJ_BUFFER 20090402
5 MV_CURRENT_PAGE Instance attribute Protected Type reference (TYPE) I 20090402
6 MV_LAST_OBJ_CNT Instance attribute Protected Type reference (TYPE) I 20090402
7 MV_PAGE_SIZE Instance attribute Protected Type reference (TYPE) I 20090402
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090402
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090402
3 DERIVE_SEARCH_PARA_FRM_OBJTYPE Instance method Private Method Derive Search Parameters from Object Type 20101011
4 GET_SEARCH_ENGINE_ERROR Instance method Private Method get search engine error 20090408
5 GET_SEARCH_RESULT_FOR_OBJTYPE Instance method Public Method Get Search Result for EAM object types 20101008
6 GET_SINGLE_SEARCH_RESULT Instance method Public Method Get single search result 20090402
7 MAP_SE_RESULT_TO_SPEC_RESULT Static method Public Method 20090422
8 PREPARE_SEARCH_QUERY Instance method Private Method Map Selection Parameters into Select options for Search 20101011
9 S_GET_INSTANCE Static method Public Method Get instance of search service class 20090402
Events
Class CL_EAMS_BO_SEARCH_SRV has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_QUERY_OBJ_BUFFER Protected See coding 20090402
2 GTY_TH_QUERY_OBJ_BUFFER Protected See coding 20090402
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_EAMS_BO_SEARCH_SRV has no parameter.
Method CONSTRUCTOR on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method DERIVE_SEARCH_PARA_FRM_OBJTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20101015
2 Exporting ET_SEARCH_OBJECTS Call by reference Type reference (TYPE) EAMS_T_BO_SEARCH_OBJECTS Parameters for objects to be searched 20101011
3 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20101015
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Object Type 20101011
5 Importing IV_RESULT_STRUC Call by reference Type reference (TYPE) CHAR40 Character field of length 40 20101011

Method DERIVE_SEARCH_PARA_FRM_OBJTYPE on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method GET_SEARCH_ENGINE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20090408
2 Importing IO_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20090408

Method GET_SEARCH_ENGINE_ERROR on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method GET_SEARCH_RESULT_FOR_OBJTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20101008
2 Exporting ET_RESULT Call by reference Type reference (TYPE) STANDARD TABLE 20101008
3 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20101008
4 Exporting EV_NUMBER_OF_HITS Call by reference Type reference (TYPE) I 20101015
5 Exporting EV_TOTAL_HITS Call by reference Type reference (TYPE) I 20101015
6 Importing IS_OPTIONS Call by reference Type reference (TYPE) /PLMB/S_SPI_QUERY_OPTIONS Query options 20101011
7 Importing IT_SEL_PARAM Call by reference Type reference (TYPE) /PLMB/T_SPI_SELECTION_PARAM Selection criteria for Queries on BO attributes 20101011
8 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) /PLMB/SPI_NODE_NAME Object Type 20101008
9 Importing IV_RESULT_STRUC Call by reference Type reference (TYPE) CHAR40 Character field of length 40 20101008

Method GET_SEARCH_RESULT_FOR_OBJTYPE on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method GET_SINGLE_SEARCH_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) /PLMB/T_SPI_MSG Message 20090402
2 Exporting ET_RESULT Call by reference Type reference (TYPE) STANDARD TABLE 20090402
3 Exporting ET_RESULT_DATA Call by reference Object reference (TYPE REF TO) DATA 20090408
4 Exporting ET_RESULT_ITEM Call by reference Type reference (TYPE) EAMS_T_SP_SEARCH_RESULT Table Type - Search Result 20090402
5 Exporting EV_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090402
6 Exporting EV_IS_LAST_PAGE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090402
7 Exporting EV_NUMBER_OF_HITS Call by reference Type reference (TYPE) I 20090402
8 Exporting EV_TOTAL_HITS Call by reference Type reference (TYPE) I 20090402
9 Importing IT_ES_SORT Call by reference Type reference (TYPE) TREXT_SORT_ATTRIBUTES Sort attributes 20090402
10 Importing IT_FIELD_SELOPT Call by reference Type reference (TYPE) EAMS_T_SP_SEARCH_FIELD_SELOPT Select Options for fields 20090402
11 Importing IT_TREX_QUERY Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES Search query 20090402
12 Importing IV_CONNECTOR_ID Call by reference Type reference (TYPE) ESH_E_IF_SEARCH_CONNECTOR_ID Search Connector ID 20090409
13 Importing IV_EAMS_OBJECT_TYPE Call by reference Type reference (TYPE) /PLMB/GOS_OBJECT_TYPE Object Type 20090420
14 Importing IV_ESH_OBJECT_TYPE Call by reference Type reference (TYPE) ESH_E_OM_OBJECT_TYPE Object Type 20090402
15 Importing IV_ESH_TEMPLATE_ID Call by reference Type reference (TYPE) ESH_E_IF_TEMPLATE_ID Search Connector Template ID 20090402
16 Importing IV_FUZZY Call by reference Type reference (TYPE) BOOLE_D using Fuzzy Mode 20090408
17 Importing IV_LOWER_PAGE_LIMIT Call by reference Type reference (TYPE) I 20090402
18 Importing IV_REQUEST Call by reference Type reference (TYPE) ESH_E_IF_REQUEST_TYPE_ID Request Type ID 20090402
19 Importing IV_RESULT_STRUC Call by reference Type reference (TYPE) CHAR40 Character field of length 40 20090402
20 Importing IV_SEARCH_TERM Call by reference Type reference (TYPE) STRING 20090402
21 Importing IV_UPPER_PAGE_LIMIT Call by reference Type reference (TYPE) I 20090402

Method GET_SINGLE_SEARCH_RESULT on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method MAP_SE_RESULT_TO_SPEC_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RESULT_DATA Call by reference Type reference (TYPE) INDEX TABLE object specific result 20090423
2 Importing IT_SE_RESULT Call by reference Type reference (TYPE) EAMS_T_SP_SEARCH_RESULT Table Type - Search Result 20090422
3 Importing IV_EAMS_OBJECT_TYPE Call by reference Type reference (TYPE) /PLMB/GOS_OBJECT_TYPE Object Type 20090422
4 Importing IV_KEY_DESC_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20090422
5 Importing IV_UPPER_LIMIT Call by reference Type reference (TYPE) INT4 2 byte integer (signed) 20090423

Method MAP_SE_RESULT_TO_SPEC_RESULT on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method PREPARE_SEARCH_QUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELD_SELOPT Call by reference Type reference (TYPE) EAMS_T_SP_SEARCH_FIELD_SELOPT Select Options for fields 20101011
2 Importing IT_SEL_PARAM Call by reference Type reference (TYPE) /PLMB/T_SPI_SELECTION_PARAM Selection criteria for Queries on BO attributes 20101011

Method PREPARE_SEARCH_QUERY on class CL_EAMS_BO_SEARCH_SRV has no exception.

Method S_GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_EAMS_BO_SEARCH_SRV search service 20090402

Method S_GET_INSTANCE on class CL_EAMS_BO_SEARCH_SRV has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 605