SAP ABAP Class CL_SWF_RLS_COMPILER (WF: Represents a Logical Condition)
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_COMPILER | |
| Short Description | WF: Represents a Logical Condition | |
| 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 | 20030203 | 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_COMPILER has no interface implemented.
Friends
Class CL_SWF_RLS_COMPILER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | INT4 | Length (in Characters) of a Parsed Token | 20030203 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | INT4 | Maximum Usable Length (in Characters) for Parsed Token | 20030203 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | INT4 | Start Offset (in Characters) of First Parsed Token | 20030203 | |||
| 4 | Constant | Public | Type reference (TYPE) | SYMSGID | 'SWF_RLS_001' | Error Macros: Separate Message Class | 20030331 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | ELEMENT_PRIO_TABLE_TYPE | Operator Priorities | 20030203 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | SWBCONDTAB | Condition in Internal Display Format | 20030203 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SWBHTMLTABLE | Condition in HTML Format | 20030203 | |||
| 8 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | Container Object (Definition + Values) | 20030203 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | STRING | Tooltip, Displayed in HTML | 20030203 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | LANGU | Currently Loaded Language | 20030203 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | STRING | Description of Condition (Language-Specific) | 20030203 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SWF_IFS_EXPRESSION_FACTORY | Instance Management for Workflow Expressions (Released) | 20030203 | |||
| 13 | Instance attribute | Protected | Object reference (TYPE REF TO) | OBJECT | If Set: Coordinates the Expression Evaluation | 20030203 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | XFELD | Existing HTML Contains Error Information | 20030203 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | XFELD | Existing HTML Valid ? | 20030203 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | SWBBOOLEAN | Last Evaluation Result: 'T' True, 'F' False, 'E' Error | 20030203 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | SWBTERROR | List of Diagnosis/Error Messages of Syntax Check | 20030203 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | CHAR32 | Name of Condition (Language-Specific) | 20030203 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | XFELD | 'X' -> Local Container, Owned by ME, ' '-> NOT Owned by ME | 20030203 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | GUID_32 | Technical Shortcut (not Language-Specific) | 20030203 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | LANGU | Last Language Requested | 20030203 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | XFELD | Last Evaluation Result May Be Reused | 20030203 | |||
| 23 | Instance attribute | Protected | Type reference (TYPE) | XFELD | Syntax of Condition Is Correct | 20030203 | |||
| 24 | Static Attribute | Private | Type reference (TYPE) | SWF_T100MS | Error Macro: T-100 Message | 20030331 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | XFELD | 'X' - Do not allow interaction on the HTML | 20030203 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Add Token | 20030326 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20030203 | |
| 3 | Static method | Public | Method | Compiler | 20030203 | |
| 4 | Static method | Private | Method | Compiler for Runtime Version 001 (Release <= 6.40) | 20030326 | |
| 5 | Static method | Private | Method | Compiler for Runtime Version 002 (TEST) | 20030326 | |
| 6 | Static method | Private | Method | Append to Temporary Stack | 20030326 | |
| 7 | Static method | Private | Method | Remove Stack | 20030326 |
Events
Class CL_SWF_RLS_COMPILER has no event.
Types
Class CL_SWF_RLS_COMPILER has no local type.
Method Signatures
Method ADD_0002 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMTYPE | Call by reference | Type reference (TYPE) | SWB_ELMTYP | Elementtyp | 20030326 | |||
| 2 | LINE_ID | Call by reference | Type reference (TYPE) | SWB_LINEID | Aktuelle Zeilennummer | 20030326 | |||
| 3 | LOGOP | Call by reference | Type reference (TYPE) | SWB_LOGOP | Logischer Operator | 20030326 | |||
| 4 | RESULT_STACK | Call by reference | Type reference (TYPE) | ANY | Endgültige Tokenliste | 20030326 | |||
| 5 | STACK_COUNTER | Call by reference | Type reference (TYPE) | INT4 | Zeiger auf aktuelle Stack-Zeile | 20030326 | |||
| 6 | TEMP_STACK | Call by reference | Type reference (TYPE) | ANY | Temporärer Stack | 20030326 | |||
| 7 | TEMP_STACK_LINE | Call by reference | Type reference (TYPE) | ANY | Aktuelle Stapelzeile | 20030326 |
Method ADD_0002 on class CL_SWF_RLS_COMPILER has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SWF_RLS_COMPILER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SWF_RLS_COMPILER has no exception.
Method COMPILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK | Call by reference | Type reference (TYPE) | XFLAG | 'X' | Syntaxcheck für die Bedingung durchführen | 20030313 | ||
| 2 | COMPILED_CONDITION | Call by reference | Type reference (TYPE) | SWBCONDTAB | Kompilierte Bedingung in interner Form | 20030331 | |||
| 3 | CONDITION | Call by reference | Object reference (TYPE REF TO) | CL_SWF_RLS_CONDITION | Bedingung (Interne Darstellung wird geändert!) | 20030203 | |||
| 4 | CONDITION_INTERNAL | Value transfer | Type reference (TYPE) | SWBCONDTAB | Bedingung in interner Form | 20030331 | |||
| 5 | CONTAINER | Value transfer | Type reference (TYPE) | SWFIFSPCNT | Namensraum und Datendefinitionen für die Bedingung | 20030313 | |||
| 6 | VERSION | Call by reference | Type reference (TYPE) | SYSAPRL | '0001' | Laufzeitversion | 20030203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler im Business-Regel-Service | 20030328 |
Method COMPILE_0001 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK | Call by reference | Type reference (TYPE) | XFLAG | 'X' | Syntaxcheck für die Bedingung durchführen | 20030326 | ||
| 2 | COMPILED_CONDITION | Call by reference | Type reference (TYPE) | SWBCONDTAB | Kompilat | 20030328 | |||
| 3 | CONDITION_INTERNAL | Call by reference | Type reference (TYPE) | SWBCONDTAB | Zu kompilierende Bedingung | 20030326 | |||
| 4 | CONTAINER | Call by reference | Type reference (TYPE) | SWFIFSPCNT | Namensraum und Datendefinitionen für die Bedingung | 20030326 | |||
| 5 | EXPRESSION_FACTORY | Call by reference | Object reference (TYPE REF TO) | IF_SWF_IFS_EXPRESSION_FACTORY | Expression object instance buffer | 20030701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Workflow Ausnahme | 20030331 |
Method COMPILE_0002 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK | Call by reference | Type reference (TYPE) | XFLAG | 'X' | Syntaxcheck für die Bedingung durchführen | 20030326 | ||
| 2 | COMPILED_TOKENS | Call by reference | Type reference (TYPE) | SWBCONDTAB | Kompilat | 20030326 | |||
| 3 | CONDITION_INTERNAL | Call by reference | Type reference (TYPE) | SWBCONDTAB | Zu kompilierende Bedingung | 20030326 | |||
| 4 | CONTAINER | Call by reference | Type reference (TYPE) | SWFIFSPCNT | Namensraum und Datendefinitionen für die Bedingung | 20030326 |
Method COMPILE_0002 on class CL_SWF_RLS_COMPILER has no exception.
Method PUSH_0002 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMENT_PRIO | Call by reference | Type reference (TYPE) | ANY | Priorität des aktuellen Operators | 20030326 | |||
| 2 | ELEMTYPE | Call by reference | Type reference (TYPE) | SWB_ELMTYP | Elementtyp | 20030326 | |||
| 3 | LINE_ID | Call by reference | Type reference (TYPE) | SWB_LINEID | Zeilennummer | 20030326 | |||
| 4 | LOGOP | Call by reference | Type reference (TYPE) | SWB_LOGOP | Logischer Operator | 20030326 | |||
| 5 | RESULT_STACK | Call by reference | Type reference (TYPE) | ANY | Endgültige Tokenliste | 20030326 | |||
| 6 | STACK_COUNTER | Call by reference | Type reference (TYPE) | INT4 | Zeiger auf aktuelle Stack-Zeile | 20030326 | |||
| 7 | TEMP_STACK | Call by reference | Type reference (TYPE) | ANY | Stack-Tabelle | 20030326 |
Method PUSH_0002 on class CL_SWF_RLS_COMPILER has no exception.
Method TRANSFER_0002 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMENT_PRIO | Call by reference | Type reference (TYPE) | ANY | Priorität des aktuellen Elements | 20030326 | |||
| 2 | ELEMTYPE | Call by reference | Type reference (TYPE) | SWB_ELMTYP | Elementtyp | 20030326 | |||
| 3 | LINE_ID | Call by reference | Type reference (TYPE) | SWB_LINEID | Zeilennummer | 20030326 | |||
| 4 | LOGOP | Call by reference | Type reference (TYPE) | SWB_LOGOP | Logischer Operator | 20030326 | |||
| 5 | RESULT_STACK | Call by reference | Type reference (TYPE) | ANY | Endgültige Tokenliste | 20030326 | |||
| 6 | STACK_COUNTER | Call by reference | Type reference (TYPE) | INT4 | Zeiger auf aktuelle Stack-Zeile | 20030326 | |||
| 7 | TEMP_STACK | Call by reference | Type reference (TYPE) | ANY | Temporärer Stack | 20030326 |
Method TRANSFER_0002 on class CL_SWF_RLS_COMPILER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 640 |