Skip to content

/AWS1/CL_ERNRULECONDITION

An object that defines the ruleCondition and the ruleName to use in a matching workflow.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_rulename TYPE /AWS1/ERNSTRING /AWS1/ERNSTRING

A name for the matching rule.

For example: Rule1

iv_condition TYPE /AWS1/ERNSTRING /AWS1/ERNSTRING

A statement that specifies the conditions for a matching rule.

If your data is accurate, use an Exact matching function: Exact or ExactManyToMany.

If your data has variations in spelling or pronunciation, use a Fuzzy matching function: Cosine, Levenshtein, or Soundex.

Use operators if you want to combine (AND), separate (OR), or group matching functions (...).

For example: (Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)


Queryable Attributes

ruleName

A name for the matching rule.

For example: Rule1

Accessible with the following methods

Method Description
GET_RULENAME() Getter for RULENAME, with configurable default
ASK_RULENAME() Getter for RULENAME w/ exceptions if field has no value
HAS_RULENAME() Determine if RULENAME has a value

condition

A statement that specifies the conditions for a matching rule.

If your data is accurate, use an Exact matching function: Exact or ExactManyToMany.

If your data has variations in spelling or pronunciation, use a Fuzzy matching function: Cosine, Levenshtein, or Soundex.

Use operators if you want to combine (AND), separate (OR), or group matching functions (...).

For example: (Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)

Accessible with the following methods

Method Description
GET_CONDITION() Getter for CONDITION, with configurable default
ASK_CONDITION() Getter for CONDITION w/ exceptions if field has no value
HAS_CONDITION() Determine if CONDITION has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_RULECONDITIONLIST

TYPES TT_RULECONDITIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_ERNRULECONDITION WITH DEFAULT KEY
.