Hierarchy
⤷
⤷
Basic Data
| Data Element | SWF_EXPR |
| Short Description | Workflow Expression |
Data Type
| Category of Dictionary Type | D | Domain |
| Type of Object Referenced | No Information | |
| Domain / Name of Reference Type | SWF_EXPR | |
| Data Type | STRG | Character String of Variable Length |
| Length | 0 | |
| Decimal Places | 0 | |
| Output Length | 0 | |
| 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 | 0 | |
| Medium | 15 | Expression |
| Long | 20 | Workflow Expression |
| Heading | 0 |
Documentation
Definition
A workflow expression describes how a fixed value is to be determined, that is, it corresponds to a URL of a value. An expression satisfies the expression syntax and is located in one of the three following categories:
- Constant
- System field
All components of the system table can be contacted.
- Container expression
A variable (or the component of a variable) in the process context.
Use
All components of the system structure can be contacted using system fields. The name of the component is specified enclosed by percentage symbols ('%').
The most flexible way to address data is by using container expressions. All process relevant data in the workflow environment is stored in a container, which forms the namespace for the entire process and for each of its steps. A container element (variable in the process context) can be contacted using its unique name. If the container element has a structure (for example, a business object or an ABAP structure), its components can also be dereferenced over any number of nesting levels. The syntax for container expressions is as follows: The expression is enclosed in an ampersand ('&'), the dereference symbol is a period ('.').
Example
'A string', 17, '19:25:59', ... The expression itself is a value in a constant.
%DATE% Refers to the current system date (SYST-DATE).
&FORM& Specifies the container element called 'form'.
&FORM.ISSUER& Specifies the component 'issuer' of the 'form' element.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 620 |