SAP ABAP Class CL_SWF_RLS_COMPARISON (Evaluation of Relational Expressions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_RLS (Package) Rules - Workflow Rules and Rule Systems
⤷
⤷
Properties
| Class | CL_SWF_RLS_COMPARISON | |
| Short Description | Evaluation of Relational Expressions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWF_RLS | Rules - Workflow Rules and Rule Systems |
| Created | 20010920 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SWF_RLS_COMPARISON has no interface implemented.
Friends
Class CL_SWF_RLS_COMPARISON has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SYMSGID | 'SWF_RLS_001' | Messages, Message Class | 20010926 | ||
| 2 | Constant | Private | Type reference (TYPE) | CHAR30 | 'SWF_RLS_OPERATOR_BUFFER' | Memory ID in Application Server | 20010920 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | SWFROP_TAB | Table with Comparison Operators | 20010920 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | SWF_T100MS | Structure for T100 Message | 20010926 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check Whether Relational Operator Can Be Used on Operand(s) | 20010920 | |
| 2 | Static method | Public | Method | Evaluate Relational Operator | 20010920 | |
| 3 | Static method | Public | Method | Get Information About an Operator | 20011031 | |
| 4 | Static method | Public | Method | Get Instance of an Operator | 20011031 | |
| 5 | Static method | Public | Method | Rebuild Table of Existing Comparison Operators | 20010920 |
Events
Class CL_SWF_RLS_COMPARISON has no event.
Types
Class CL_SWF_RLS_COMPARISON has no local type.
Method Signatures
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPARISON_OPERATOR | Call by reference | Type reference (TYPE) | STRING | Vergleichsoperator | 20010920 | |||
| 2 | LEFT_OPERAND | Call by reference | Object reference (TYPE REF TO) | IF_SWF_EXP_EXPRESSION | Linker Ausdruck | 20010920 | |||
| 3 | MESSAGE_LIST | Call by reference | Type reference (TYPE) | SWF_CX_TAB | Aufgetretene Ausnahme(n) | 20010920 | |||
| 4 | RIGHT_OPERAND | Call by reference | Object reference (TYPE REF TO) | IF_SWF_EXP_EXPRESSION | Rechter Ausdruck | 20010920 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im Ausdrucks-Service | 20010928 | ||
| 2 | Fehler im Vergleichsausdruck | 20010924 | ||
| 3 | Unbekannter Operator | 20011031 |
Method EVALUATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPARISON_OPERATOR | Call by reference | Type reference (TYPE) | STRING | Vergleichsoperator | 20010920 | |||
| 2 | ERROR_MAP | Call by reference | Type reference (TYPE) | SWFRLSCMAP | ' '-default, 'T'-True, 'F'-False (für links, rechts, Oper.) | 20030402 | |||
| 3 | EXCEPTION_RETURN | Call by reference | Object reference (TYPE REF TO) | CX_SWF_RLS_RULE | Falls abgefragt: kein Raise. | 20030402 | |||
| 4 | LEFT_OPERAND | Call by reference | Object reference (TYPE REF TO) | IF_SWF_EXP_EXPRESSION | Linker Ausdruck | 20010920 | |||
| 5 | RESULT | Call by reference | Type reference (TYPE) | SWFDBOOL | Boolscher Wert (Wahrheitswert) mit dreiwertiger Logik | 20010920 | |||
| 6 | RIGHT_OPERAND | Call by reference | Object reference (TYPE REF TO) | IF_SWF_EXP_EXPRESSION | Rechter Ausdruck | 20010920 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im Ausdrucks-Service | 20010920 | ||
| 2 | Fehler im Vergleichsausdruck | 20010924 | ||
| 3 | Auswertung von Vergleichsausdrücken | 20011031 | ||
| 4 | Operand fehlt | 20010925 | ||
| 5 | Operanden inkompatibel zu Operator | 20010925 | ||
| 6 | Fehler im Business-Regel-Service | 20030402 |
Method GET_OPERATOR_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPARISON_OPERATOR | Call by reference | Type reference (TYPE) | STRING | Vergleichsoperator | 20011031 | |||
| 2 | FLAVOUR | Call by reference | Type reference (TYPE) | SWFDBOOL | Wahrheitswert, für Auswahl des Icons | 20011031 | |||
| 3 | LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Sprache, falls Texte gelesen werden sollen | 20011031 | |||
| 4 | OPERATOR_INFO | Call by reference | Type reference (TYPE) | SWFRLSINFO | Informationen über den Operator | 20011031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Vergleichsausdruck | 20011031 | ||
| 2 | Unbekannter Operator | 20011031 |
Method GET_OPERATOR_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPARISON_OPERATOR | Value transfer | Type reference (TYPE) | STRING | Vergleichsoperator | 20011031 | |||
| 2 | OPERATOR_INSTANCE | Value transfer | Type reference (TYPE) | SWFRLSCOMP | Instanz des Vergleichsoperators | 20011031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Vergleichsausdruck | 20011031 |
Method LOAD_COMPOP_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BYPASS_BUFFER | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - Puffer löschen | 20010920 |
Method LOAD_COMPOP_TABLE on class CL_SWF_RLS_COMPARISON has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 620 |