SAP ABAP Class CL_WF_RULE (Rule (Condition + Possible Results))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWB (Package) Business Workflow: Condition Editor & Start Conditions
⤷
⤷
Properties
| Class | CL_WF_RULE | |
| Short Description | Rule (Condition + Possible Results) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWB | Business Workflow: Condition Editor & Start Conditions |
| Created | 19990915 | 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) |
Interfaces
Class CL_WF_RULE has no interface implemented.
Friends
Class CL_WF_RULE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_WF_CONDITION | Condition | 19990915 | |||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_WF_CONTAINER_WRAPPER | Container (Namespace for Expressions) | 19991001 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | XFELD | Result Expression for 'Expression' Exists | 19990916 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | SWBBOOLEAN | 'Exception' Result Handled Like ... | 19991001 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | OBJECT | Instance Coordinating the Expression Evaluation | 19991001 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | XFELD | Result Expression for 'False' Exists | 19990916 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SWBBOOLEAN | 'False' Result Handled Like ... | 19991001 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | XFELD | This Instance (ME) Owns the Container | 19991001 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | SWA_EXPR | Result Expression for 'EXCEPTION' | 19990916 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | SWA_EXPR | Result Expression for 'FALSE' | 19990916 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | SWA_EXPR | Result Expression for 'TRUE' | 19990916 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | STRING | Rule Description (Language-Specific) | 19991004 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | SWB_CONAME | Rule Name (Language-Specific) | 19991004 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | SWA_UNIQID | Unique Rule ID | 19990930 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | SWA_TECHID | Language-Independent Description of Rule | 19990930 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | XFELD | Result Expression for 'True' Exists | 19990916 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | SWBBOOLEAN | 'True' Result Is Handled like ... | 19991001 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Reset Rule to Initial State | 19991001 | |
| 2 | Instance method | Public | Constructor | Constructor | 19990915 | |
| 3 | Static method | Public | Method | Initialize from External Format (Basis: SWB_COND) | 19990915 | |
| 4 | Instance method | Public | Method | Evaluate Rule (Returns Value of Result Expression) | 19990915 | |
| 5 | Instance method | Public | Method | Evaluate Condition, Returns True/False/Exception | 19990915 | |
| 6 | Instance method | Public | Method | Get Condition | 19990915 | |
| 7 | Instance method | Public | Method | Get Container Object | 19990920 | |
| 8 | Instance method | Public | Method | Get Container Definition | 19991001 | |
| 9 | Instance method | Public | Method | Get Instance Container | 19991001 | |
| 10 | Instance method | Public | Method | Get Result Expression for 'EXCEPTION' | 19990916 | |
| 11 | Instance method | Public | Method | Get Result Expression for 'FALSE' | 19990916 | |
| 12 | Instance method | Public | Method | Evaluate Condition, Returns Unevaluated Result Expression | 19990916 | |
| 13 | Instance method | Public | Method | Read GUID of Rule | 19990930 | |
| 14 | Instance method | Public | Method | Read Technical Shortcut | 19991011 | |
| 15 | Instance method | Public | Method | Get Result Expression for 'TRUE' | 19990916 | |
| 16 | Instance method | Public | Method | Convert Rule to External Format (Without Container) | 19990915 | |
| 17 | Instance method | Public | Method | Set Condition | 19990915 | |
| 18 | Instance method | Public | Method | Get Container Object | 19991001 | |
| 19 | Instance method | Public | Method | Set Result Expression for 'EXCEPTION' | 19990916 | |
| 20 | Instance method | Public | Method | Set Result Expression for 'FALSE' | 19990916 | |
| 21 | Instance method | Public | Method | Set Technical Shortcut | 19991011 | |
| 22 | Instance method | Public | Method | Set Result Expression for 'TRUE' | 19990916 |
Events
Class CL_WF_RULE has no event.
Types
Class CL_WF_RULE has no local type.
Method Signatures
Method CLEAR Signature
Method CLEAR on class CL_WF_RULE has no parameter.
Method CLEAR on class CL_WF_RULE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION_INTERNAL | Call by reference | Type reference (TYPE) | SWBCONDTAB | Bedingung in internem Format | 19990915 | |||
| 2 | CONDITION_REFERENCE | Call by reference | Object reference (TYPE REF TO) | CL_WF_CONDITION | Bedingungsobjekt | 19990920 | |||
| 3 | CONTAINER_DEFINITION | Value transfer | Type reference (TYPE) | SWBCONTTAB | Containerdefinition - Namensraum f. d. Bedingung | 19991001 | |||
| 4 | CONTAINER_REFERENCE | Call by reference | Object reference (TYPE REF TO) | CL_WF_CONTAINER_WRAPPER | Containerobjekt | 19990920 | |||
| 5 | CONTAINER_VALUES | Value transfer | Type reference (TYPE) | SWCONTTAB | Container mit Instanzen für die Auswertung | 19991001 | |||
| 6 | EXPRESSION_SERVER | Call by reference | Object reference (TYPE REF TO) | OBJECT | Instanz, die die Ausdrucksauswertung koordiniert | 19991001 | |||
| 7 | LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Sprache der Regel | 19991004 | |||
| 8 | RESULT_EXPR_EXCEPTION | Call by reference | Type reference (TYPE) | SWA_EXPR | Ergebnisausdruck für Ausgang 'Ausnahme' | 19990915 | |||
| 9 | RESULT_EXPR_FALSE | Call by reference | Type reference (TYPE) | SWA_EXPR | Ergebnisausdruck für Ausgang 'falsch' | 19990915 | |||
| 10 | RESULT_EXPR_TRUE | Call by reference | Type reference (TYPE) | SWA_EXPR | Ergebnisausdruck für Ausgang 'wahr' | 19990915 | |||
| 11 | RULEDESC | Call by reference | Type reference (TYPE) | STRING | Beschreibung der Regel - sprachabhängig | 19991011 | |||
| 12 | RULENAME | Call by reference | Type reference (TYPE) | SWB_CONAME | Name der Regel - sprachabhängig | 19991011 | |||
| 13 | TECH_NAME | Call by reference | Type reference (TYPE) | SWA_TECHID | Bezeichnungskürzel - sprachUNabhängig | 19991011 | |||
| 14 | UNIQUE_RULE_IDENTIFIER | Call by reference | Type reference (TYPE) | SWA_UNIQID | GUID, die das Regelobjekt eindeutig identifiziert | 19990930 |
Method CONSTRUCTOR on class CL_WF_RULE has no exception.
Method DESERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_RULE | Value transfer | Object reference (TYPE REF TO) | CL_WF_RULE | Referenz auf neu instanziierte Regel | 19990930 | |||
| 2 | SERIALIZED_DATA | Value transfer | Type reference (TYPE) | SWBCONDTAB | Mittels SERIALIZE erhaltene Regelbeschreibung | 19990930 |
Method DESERIALIZE on class CL_WF_RULE has no exception.
Method EVALUATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSTANCE_CONTAINER | Call by reference | Type reference (TYPE) | SWCONTTAB | Auswertung der Bedingung + des Ergebnisausdrucks | 19990920 | |||
| 2 | REF_TO_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | Referenz auf Ergebnisdaten | 19990920 | |||
| 3 | VALUE_AS_STRING | Call by reference | Type reference (TYPE) | STRING | Ergebnis aufbereitet für die Ausgabe | 19990920 |
Method EVALUATE on class CL_WF_RULE has no exception.
Method EVALUATE_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION_OUTCOME | Value transfer | Type reference (TYPE) | SWBBOOLEAN | Ergebnis der Bedingung: 'T', 'F', 'E'. | 19990915 | |||
| 2 | CONTAINER_REFERENCE | Call by reference | Object reference (TYPE REF TO) | CL_WF_CONTAINER_WRAPPER | Referenz auf Containerobjekt | 19991001 | |||
| 3 | CONTAINER_VALUES | Call by reference | Type reference (TYPE) | SWCONTTAB | Container mit Instanzdaten für die Auswertung | 19991001 |
Method EVALUATE_CONDITION on class CL_WF_RULE has no exception.
Method GET_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION_INTERN | Value transfer | Type reference (TYPE) | SWBCONDTAB | Bedingung in interner Darstellung | 19990920 |
Method GET_CONDITION on class CL_WF_RULE has no exception.
Method GET_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINER_REFERENCE | Value transfer | Object reference (TYPE REF TO) | CL_WF_CONTAINER_WRAPPER | Referenz auf Containerobjekt | 19990920 |
Method GET_CONTAINER on class CL_WF_RULE has no exception.
Method GET_CONTAINER_DEFINITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINER_DEFINITION | Value transfer | Type reference (TYPE) | SWBCONTTAB | Containerdefinition | 19991001 |
Method GET_CONTAINER_DEFINITION on class CL_WF_RULE has no exception.
Method GET_CONTAINER_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINER_VALUES | Value transfer | Type reference (TYPE) | SWCONTTAB | Instanzcontainer (für Auswertung und Simulation) | 19991001 |
Method GET_CONTAINER_VALUES on class CL_WF_RULE has no exception.
Method GET_EXCEPTION_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Value transfer | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ausgang 'Ausnahme' ausgewertet wird | 19990916 |
Method GET_EXCEPTION_EXPRESSION on class CL_WF_RULE has no exception.
Method GET_FALSE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Value transfer | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ausgang 'falsch' ausgewertet wird | 19990916 |
Method GET_FALSE_EXPRESSION on class CL_WF_RULE has no exception.
Method GET_RESULT_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Value transfer | Type reference (TYPE) | SWA_EXPR | Ergebnisausdruck der Regel (nicht ausgewertet!) | 19990920 |
Method GET_RESULT_EXPRESSION on class CL_WF_RULE has no exception.
Method GET_RULE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RULE_ID | Value transfer | Type reference (TYPE) | SWA_UNIQID | GUID, die diese Regel eindeutig identifiziert | 19991012 |
Method GET_RULE_ID on class CL_WF_RULE has no exception.
Method GET_TECH_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TECH_NAME | Value transfer | Type reference (TYPE) | SWA_TECHID | Technisches Kürzel der Regel | 19991011 |
Method GET_TECH_NAME on class CL_WF_RULE has no exception.
Method GET_TRUE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Value transfer | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ausgang 'wahr' ausgewertet wird | 19990916 |
Method GET_TRUE_EXPRESSION on class CL_WF_RULE has no exception.
Method SERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SERIALIZED_DATA | Value transfer | Type reference (TYPE) | SWBCONDTAB | Die serialisierte Regel auf Basis von SWB_COND | 19990930 |
Method SERIALIZE on class CL_WF_RULE has no exception.
Method SET_CONDITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION_INTERNAL | Call by reference | Type reference (TYPE) | SWBCONDTAB | Bedingung in interner Darstellung | 19990920 |
Method SET_CONDITION on class CL_WF_RULE has no exception.
Method SET_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTAINER_REFERENCE | Value transfer | Object reference (TYPE REF TO) | CL_WF_CONTAINER_WRAPPER | Referenz auf Containerobjekt | 19991001 |
Method SET_CONTAINER on class CL_WF_RULE has no exception.
Method SET_EXCEPTION_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Call by reference | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ergebnis 'Ausnahme' ausgewertet wird | 19990916 |
Method SET_EXCEPTION_EXPRESSION on class CL_WF_RULE has no exception.
Method SET_FALSE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Call by reference | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ergebnis 'falsch' ausgewertet wird | 19990916 |
Method SET_FALSE_EXPRESSION on class CL_WF_RULE has no exception.
Method SET_TECH_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TECH_NAME | Call by reference | Type reference (TYPE) | SWA_TECHID | Technischer Name der Regel | 19991012 |
Method SET_TECH_NAME on class CL_WF_RULE has no exception.
Method SET_TRUE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXPRESSION | Call by reference | Type reference (TYPE) | SWA_EXPR | Ausdruck, der bei Ergebnis 'wahr' ausgewertet wird | 19990916 |
Method SET_TRUE_EXPRESSION on class CL_WF_RULE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in |