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 | 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 | Constant | Public | Type reference (TYPE) | EAMS_D_SEARCH_QUERY_ID | '$!DEFAULT' | Identifier for Search Query | 20090402 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_EAMS_BO_SEARCH_SRV | Service Classe for Search | 20090402 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_EAMS_BO_SRV | Service class for BO | 20090402 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | GTY_TH_QUERY_OBJ_BUFFER | 20090402 | ||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | I | 20090402 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | I | 20090402 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | 20090402 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090402 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20090402 | |
| 3 | Instance method | Private | Method | Derive Search Parameters from Object Type | 20101011 | |
| 4 | Instance method | Private | Method | get search engine error | 20090408 | |
| 5 | Instance method | Public | Method | Get Search Result for EAM object types | 20101008 | |
| 6 | Instance method | Public | Method | Get single search result | 20090402 | |
| 7 | Static method | Public | Method | 20090422 | ||
| 8 | Instance method | Private | Method | Map Selection Parameters into Select options for Search | 20101011 | |
| 9 | 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 | ET_MESSAGE | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20101015 | |||
| 2 | ET_SEARCH_OBJECTS | Call by reference | Type reference (TYPE) | EAMS_T_BO_SEARCH_OBJECTS | Parameters for objects to be searched | 20101011 | |||
| 3 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20101015 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | /PLMB/SPI_NODE_NAME | Object Type | 20101011 | |||
| 5 | 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 | CT_MESSAGE | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20090408 | |||
| 2 | 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 | ET_MESSAGE | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20101008 | |||
| 2 | ET_RESULT | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20101008 | ||||
| 3 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20101008 | |||
| 4 | EV_NUMBER_OF_HITS | Call by reference | Type reference (TYPE) | I | 20101015 | ||||
| 5 | EV_TOTAL_HITS | Call by reference | Type reference (TYPE) | I | 20101015 | ||||
| 6 | IS_OPTIONS | Call by reference | Type reference (TYPE) | /PLMB/S_SPI_QUERY_OPTIONS | Query options | 20101011 | |||
| 7 | IT_SEL_PARAM | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_SELECTION_PARAM | Selection criteria for Queries on BO attributes | 20101011 | |||
| 8 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | /PLMB/SPI_NODE_NAME | Object Type | 20101008 | |||
| 9 | 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 | ET_MESSAGE | Call by reference | Type reference (TYPE) | /PLMB/T_SPI_MSG | Message | 20090402 | |||
| 2 | ET_RESULT | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090402 | ||||
| 3 | ET_RESULT_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090408 | ||||
| 4 | ET_RESULT_ITEM | Call by reference | Type reference (TYPE) | EAMS_T_SP_SEARCH_RESULT | Table Type - Search Result | 20090402 | |||
| 5 | EV_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090402 | |||
| 6 | EV_IS_LAST_PAGE | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090402 | |||
| 7 | EV_NUMBER_OF_HITS | Call by reference | Type reference (TYPE) | I | 20090402 | ||||
| 8 | EV_TOTAL_HITS | Call by reference | Type reference (TYPE) | I | 20090402 | ||||
| 9 | IT_ES_SORT | Call by reference | Type reference (TYPE) | TREXT_SORT_ATTRIBUTES | Sort attributes | 20090402 | |||
| 10 | IT_FIELD_SELOPT | Call by reference | Type reference (TYPE) | EAMS_T_SP_SEARCH_FIELD_SELOPT | Select Options for fields | 20090402 | |||
| 11 | IT_TREX_QUERY | Call by reference | Type reference (TYPE) | TREXT_QUERY_ENTRIES | Search query | 20090402 | |||
| 12 | IV_CONNECTOR_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_SEARCH_CONNECTOR_ID | Search Connector ID | 20090409 | |||
| 13 | IV_EAMS_OBJECT_TYPE | Call by reference | Type reference (TYPE) | /PLMB/GOS_OBJECT_TYPE | Object Type | 20090420 | |||
| 14 | IV_ESH_OBJECT_TYPE | Call by reference | Type reference (TYPE) | ESH_E_OM_OBJECT_TYPE | Object Type | 20090402 | |||
| 15 | IV_ESH_TEMPLATE_ID | Call by reference | Type reference (TYPE) | ESH_E_IF_TEMPLATE_ID | Search Connector Template ID | 20090402 | |||
| 16 | IV_FUZZY | Call by reference | Type reference (TYPE) | BOOLE_D | using Fuzzy Mode | 20090408 | |||
| 17 | IV_LOWER_PAGE_LIMIT | Call by reference | Type reference (TYPE) | I | 20090402 | ||||
| 18 | IV_REQUEST | Call by reference | Type reference (TYPE) | ESH_E_IF_REQUEST_TYPE_ID | Request Type ID | 20090402 | |||
| 19 | IV_RESULT_STRUC | Call by reference | Type reference (TYPE) | CHAR40 | Character field of length 40 | 20090402 | |||
| 20 | IV_SEARCH_TERM | Call by reference | Type reference (TYPE) | STRING | 20090402 | ||||
| 21 | 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 | CT_RESULT_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | object specific result | 20090423 | |||
| 2 | IT_SE_RESULT | Call by reference | Type reference (TYPE) | EAMS_T_SP_SEARCH_RESULT | Table Type - Search Result | 20090422 | |||
| 3 | IV_EAMS_OBJECT_TYPE | Call by reference | Type reference (TYPE) | /PLMB/GOS_OBJECT_TYPE | Object Type | 20090422 | |||
| 4 | IV_KEY_DESC_NAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20090422 | |||
| 5 | 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 | ET_FIELD_SELOPT | Call by reference | Type reference (TYPE) | EAMS_T_SP_SEARCH_FIELD_SELOPT | Select Options for fields | 20101011 | |||
| 2 | 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 | 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 |