Hierarchy

⤷

⤷

Basic Data
Data Element | RECASHMETHTYPE |
Short Description | Type of Search Method |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | RECASHMETHTYPE | |
Data Type | CHAR | Character String |
Length | 1 | |
Decimal Places | 0 | |
Output Length | 1 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | MethodType |
Medium | 15 | Method Type |
Long | 20 | Search Method Type |
Heading | 10 | MethodType |
Documentation
Definition
The search method type specifies how the search values are found. The method types are:
- - Single Value Method, Values Are in VICASHFVALUES-SHMETHDIFF
No additional programming is required for type "SPACE" methods. The values for the search strategy are entered in table VICASHFVALUES, field SHMETHDIFF (either for entire system or user-specific).
- 1 - Search Strategy + Possibly Object Data => (Program) Values
For type 1 methods, you have to implement a method that retrieves the values. Here it is possible to evaluate the context. That is, it is possible to access the object data of the object being accessed.
Example:
You want the search strategy for land registries to deliver all land registries of the given land register district. The method to be implemented for retrieving the search values transfers the particular land register as an object reference. The system is able to determine the land register from this. Using the land register district, the system then searches in the partner data to see if there is a land registry in this district (comparison of address and role data), and returns the land registries it finds.
This makes maintaining the land registries for the land register district unnecessary. - 2 - Search Strategy => VICASHFVALUES-SMETHDIFF => (Program) Values
For type 2 methods, the user or system administrator has to maintain the differentiation criterion in table VICASHFVALUES for each search strategy. Then you have to implement a method that uses this differentiation criterion to retrieve the concrete search value.
Example:
For a search strategy that is supposed to retrieve a partner, the user enters the role that this partner must have in table VICASHFVALUES. The method to be implemented returns all partners for this role. - 3 - Object Data => (Program) SMETHDIFF => (VICASHFVALUES) Values
Type 3 methods are a combination of types 1 and 2:
Using a program, a differentiation criterion is determined from the object data. The user then enters the possible values for this differentiation criterion in table VICASHFVALUES.
Example:
Unlike the previous example, you do not want the possible land register districts to be determined from the postal code. Instead, you want the partner numbers that come under consideration for each district to be entered in table VICASHFVALUES. In this case, you implement a method that (from the object data (of the land register)) returns the key that is used to read table VICASHFVALUES.
Use
Dependencies
Example
History
Last changed by/on | SAP | 20050409 |
SAP Release Created in | 600 |