Hierarchy

⤷

⤷

Basic Data
Data Element | SIC_FM_FIELD_COMPARATOR |
Short Description | Field Comparator |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | SEOCLSNAME | |
Data Type | CHAR | Character String |
Length | 30 | |
Decimal Places | 0 | |
Output Length | 30 | |
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 | Comparator |
Medium | 16 | Field Comparator |
Long | 20 | Field Comparator |
Heading | 30 | Field Comparator |
Documentation
Definition
Class that actually performs the field comparison.
Any class that implements interface IF_SIC_FM_FIELD_COMPARATOR can be entered here. By default there are the following classes:
- CL_SIC_FM_FIELD_COMP_EQUAL
This class performs a comparison for field value equality. If the field values are the same, the return value is 1, otherwise it is 0.
- CL_SIC_FM_FIELD_COMP_LEVSHT
This class performs an approximative string comparison according to the Levenshtein algorithm. The Levenshtein distance of the two strings is converted to a similarity value.
- CL_SIC_FM_FIELD_COMP_2_GRAM
This class performs an approximative string comparison according to the digram algorithm. The similarity between two strings is evaluated by the number of common digrams. The result is converted to a simliarity value.
- CL_SIC_FM_FIELD_COMP_3_GRAM:
This class works analogously to class CL_SIC_FM_FIELD_COMP_2_GRAM, but uses trigrams.
You can create further classes to implement other comparison algorithms. These classes are also available for the field comparison.
Use
Dependencies
Example
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |