SAP ABAP Class CL_WSD_SES_MATERIAL (Material Search via SES (TREX))
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
SD-MD-MM-CS (Application Component) Additional Material Functions
⤷
WSD_CS_FU (Package) Functionality Enhanced Material Search
⤷
⤷
Properties
| Class | CL_WSD_SES_MATERIAL | |
| Short Description | Material Search via SES (TREX) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | WSD_MESSAGE | |
| Program status | ||
| Category | 0 | |
| Package | WSD_CS_FU | Functionality Enhanced Material Search |
| Created | 20060609 | SAP |
| Last change | 20130531 | 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_WSD_SES_MATERIAL has no interface implemented.
Friends
Class CL_WSD_SES_MATERIAL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WSD_SES_MATERIAL | Material Search via SES (TREX) | 20090617 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | BADI_WSD_MATERIAL_SEARCH | 20071128 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | COM_SEARCH_TT_OBJECT_TYPE_KEY | Table with Object Types | 20060720 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TREXT_QUERY_ENTRIES | Search query | 20060720 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TREXT_ATTRIBUTES | Attributes | 20060720 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | Result from | 20060823 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | Result to | 20060823 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add attribute value entry into the query table | 20060920 | |
| 2 | Instance method | Public | Method | Add bracket operator | 20060925 | |
| 3 | Instance method | Public | Method | Add free text value to the query table | 20060920 | |
| 4 | Instance method | Public | Method | Add operator value to the search query table | 20060920 | |
| 5 | Instance method | Public | Method | Add search attribute name | 20060920 | |
| 6 | Instance method | Public | Method | Clear search query table | 20060920 | |
| 7 | Instance method | Public | Constructor | CONSTRUCTOR | 20060609 | |
| 8 | Static method | Private | Method | Convert result from generic represent. to Mat. specific one | 20060810 | |
| 9 | Instance method | Public | Method | Execute the search | 20060619 | |
| 10 | Instance method | Private | Method | Filter purchasing group search criteria | 20090611 | |
| 11 | Instance method | Private | Method | Filter purchasing org. search criteria | 20090611 | |
| 12 | Instance method | Private | Method | Filter vendor search criteria | 20090504 | |
| 13 | Instance method | Public | Method | Returns available search attributes list for material search | 20060609 | |
| 14 | Static method | Private | Method | Map TREX result to material search structure | 20060814 | |
| 15 | Instance method | Public | Method | Set search query | 20060619 | |
| 16 | Instance method | Public | Method | Set result From and To (to limit number of results returned) | 20060823 | |
| 17 | Instance method | Public | Method | Defines attributes to be used (for free text search too) | 20060619 |
Events
Class CL_WSD_SES_MATERIAL has no event.
Types
Class CL_WSD_SES_MATERIAL has no local type.
Method Signatures
Method ADD_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FUZZY_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | '' | 20060920 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_NAME | Attribute name | 20060920 | |||
| 3 | I_VALUE | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_VALUE | Attribute value | 20060920 |
Method ADD_ATTRIBUTE_VALUE on class CL_WSD_SES_MATERIAL has no exception.
Method ADD_BRACKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_VALUE | Search request row type data element | 20060925 |
Method ADD_BRACKET on class CL_WSD_SES_MATERIAL has no exception.
Method ADD_FREE_TEXT_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FUZZY_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | '' | 20060920 | |||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_VALUE | Attribute value | 20060920 |
Method ADD_FREE_TEXT_VALUE on class CL_WSD_SES_MATERIAL has no exception.
Method ADD_OPERATOR_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_VALUE | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_VALUE | Attribute value | 20060920 |
Method ADD_OPERATOR_VALUE on class CL_WSD_SES_MATERIAL has no exception.
Method ADD_SEARCH_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_NAME | Attribute name | 20060920 |
Method ADD_SEARCH_ATTRIBUTE on class CL_WSD_SES_MATERIAL has no exception.
Method CLEAR_QUERY Signature
Method CLEAR_QUERY on class CL_WSD_SES_MATERIAL has no parameter.
Method CLEAR_QUERY on class CL_WSD_SES_MATERIAL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BO_TYPE | Call by reference | Type reference (TYPE) | COM_SEARCH_TV_OBJECT_TYPE | Type of Business Object | 20061101 | |||
| 2 | I_BUSINESS_OBJECT | Call by reference | Type reference (TYPE) | COM_SEARCH_TV_BUSOBJ | Business Object for Search Engine Service (SES) | 20061101 |
Method CONSTRUCTOR on class CL_WSD_SES_MATERIAL has no exception.
Method CONVERT_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | WSD_MS_RESULT_TTY | Material search results table type | 20061117 | |||
| 2 | IT_INPUT | Call by reference | Type reference (TYPE) | COM_SEARCH_TT_RESULT_ITEM | Search Results List | 20060810 |
Method CONVERT_RESULT on class CL_WSD_SES_MATERIAL has no exception.
Method DO_SEARCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESULT | Call by reference | Type reference (TYPE) | WSD_MS_RESULT_TTY | Search Results List | 20061117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material search exception class for WSD project | 20061130 |
Method FILTER_EKGRP_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RESULT_LIST | Call by reference | Type reference (TYPE) | COM_SEARCH_TT_RESULT_ITEM | Search Results List | 20090611 |
Method FILTER_EKGRP_CRITERIA on class CL_WSD_SES_MATERIAL has no exception.
Method FILTER_EKORG_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RESULT_LIST | Call by reference | Type reference (TYPE) | COM_SEARCH_TT_RESULT_ITEM | Search Results List | 20090611 |
Method FILTER_EKORG_CRITERIA on class CL_WSD_SES_MATERIAL has no exception.
Method FILTER_VENDOR_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RESULT_LIST | Call by reference | Type reference (TYPE) | COM_SEARCH_TT_RESULT_ITEM | Search Results List | 20090504 |
Method FILTER_VENDOR_CRITERIA on class CL_WSD_SES_MATERIAL has no exception.
Method GET_ATTRIBUTES_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_RESULT | Value transfer | Type reference (TYPE) | WSD_ATTRIBUTE_TTY | Attributes list table type | 20060616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20061211 | ||
| 2 | Material search exception class for WSD project | 20060915 |
Method MAP_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MS_RESULT | Call by reference | Type reference (TYPE) | WSD_MS_RESULT_STY | Material search result structure | 20061117 | |||
| 2 | IS_SES_RESULT | Call by reference | Type reference (TYPE) | COM_SEARCH_TS_RESULT_ITEM | Entry in Search Hit List | 20061117 |
Method MAP_RESULT on class CL_WSD_SES_MATERIAL has no exception.
Method SET_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUERY | Call by reference | Type reference (TYPE) | WSD_MS_QUERY_TTY | Material search query table type | 20060619 |
Method SET_QUERY on class CL_WSD_SES_MATERIAL has no exception.
Method SET_RESULT_FROM_TO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FROM | Call by reference | Type reference (TYPE) | I | 20060823 | ||||
| 2 | I_TO | Call by reference | Type reference (TYPE) | I | 20060823 |
Method SET_RESULT_FROM_TO on class CL_WSD_SES_MATERIAL has no exception.
Method SET_SEARCH_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ATTRIBS | Call by reference | Type reference (TYPE) | WSD_ATTRIBUTE_TTY | 20060619 |
Method SET_SEARCH_ATTRIBUTES on class CL_WSD_SES_MATERIAL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |