SAP ABAP Class CL_SWF_EXP_TEXT_HANDLING (Expressions and Text Replacement)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_EXP (Package) Workflow: Expressions
⤷
⤷
Properties
| Class | CL_SWF_EXP_TEXT_HANDLING | |
| Short Description | Expressions and Text Replacement | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SWF_EXP | Workflow: Expressions |
| Created | 20030625 | SAP |
| Last change | 20130531 | 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_SWF_EXP_TEXT_HANDLING has no interface implemented.
Friends
Class CL_SWF_EXP_TEXT_HANDLING has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SYMSGTY | 20101226 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | XFELD | 20101226 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | SWF_CX_TAB | 20101226 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | XFELD | 20101226 | ||||
| 5 | Instance attribute | Private | See coding | 20101226 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | XFELD | 20101226 | ||||
| 7 | Static Attribute | Private | Type reference (TYPE) | TABLE_OF_SINGLETON | 20101226 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | SYMSGTY | 20101226 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Deletes substring of predefined length and position | 20030625 | |
| 2 | Instance method | Private | Method | 20101226 | ||
| 3 | Static method | Private | Method | Finds all positions of predefined substring | 20030625 | |
| 4 | Instance method | Private | Method | 20101226 | ||
| 5 | Instance method | Private | Method | 20101226 | ||
| 6 | Static method | Private | Method | 20101226 | ||
| 7 | Instance method | Private | Method | 20101226 | ||
| 8 | Instance method | Private | Method | 20101226 | ||
| 9 | Instance method | Private | Method | 20101226 | ||
| 10 | Static method | Public | Method | Replaces expressions with their value in a string | 20030625 | |
| 11 | Instance method | Private | Method | Adapt Error Level | 20030625 |
Events
Class CL_SWF_EXP_TEXT_HANDLING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | SINGLETON | Private | See coding | 20110804 | begin of singleton,
instance type ref to cl_swf_exp_text_handling,
language type sylangu,
end of singleton
|
||
| 2 | TABLE_EXPR_POINTER | Private | See coding | 20101226 | TABLE_EXPR_POINTER type table of expr_pointer
|
||
| 3 | TABLE_OF_SINGLETON | Private | See coding | 20110804 | table_of_singleton type standard table of singleton with key language
|
Method Signatures
Method DELETE_SUBSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT_STRING | Value transfer | Type reference (TYPE) | STRING | String, in dem zu löschen ist | 20030625 | |||
| 2 | LENGTH | Value transfer | Type reference (TYPE) | INT4 | Anzahl zu löschender Zeichen | 20030625 | |||
| 3 | OFFSET | Call by reference | Type reference (TYPE) | INT4 | Offset, ab dem gelöscht werden soll | 20030625 |
Method DELETE_SUBSTRING on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method EVALUATE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | 20101226 | ||||
| 2 | IM_ERROR | Call by reference | Type reference (TYPE) | XFELD | 20101226 | ||||
| 3 | IM_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SWF_IFS_EXCEPTION | 20110117 | ||||
| 4 | IM_EXPRESSION | Call by reference | Object reference (TYPE REF TO) | IF_SWF_EXP_EXPRESSION | 20101226 | ||||
| 5 | RE_VALUE | Value transfer | Type reference (TYPE) | STRING | 20101226 |
Method EVALUATE_EXPRESSION on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method FIND_ALL_OCCURRENCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | INT4 | Anzahl Fundstellen | 20030625 | |||
| 2 | INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Textzeile mit Ausdrücken | 20030625 | |||
| 3 | POSITIONS | Call by reference | Type reference (TYPE) | CHAR_OFFSET_TABLE | Tabelle mit gefundenen Offsetpositionen | 20030625 | |||
| 4 | SEARCH_CHARACTER | Call by reference | Type reference (TYPE) | CHAR1 | Zeichen, für dass Offsetpositionen gesucht werden | 20030625 |
Method FIND_ALL_OCCURRENCES on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method GET_EXCEPTION_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_EXCEPTION_LIST | Value transfer | Type reference (TYPE) | SWF_CX_TAB | 20101226 |
Method GET_EXCEPTION_LIST on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method GET_PARSED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATA | Call by reference | Type reference (TYPE) | INST_EXPR_POINTER | 20101226 | ||||
| 2 | IM_DEF_GUID | Call by reference | Type reference (TYPE) | STRING | 20101226 |
Method GET_PARSED_DATA on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method GET_SINGLETON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TARGET_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | 20110804 | ||||
| 2 | RE_SINGLETON | Value transfer | Object reference (TYPE REF TO) | CL_SWF_EXP_TEXT_HANDLING | 20101226 |
Method GET_SINGLETON on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method GET_WORST_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_WORST_ERROR | Value transfer | Type reference (TYPE) | SYMSGTY | 20101226 |
Method GET_WORST_ERROR on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method REPLACE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_CNT_CONTAINER | 20101226 | ||||
| 2 | IM_INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | 20101226 | ||||
| 3 | IM_PARSED_EXPRESSION | Call by reference | Type reference (TYPE) | TABLE_EXPR_POINTER | 20101226 | ||||
| 4 | RE_STRING | Value transfer | Type reference (TYPE) | STRING | 20101226 |
Method REPLACE_EXPRESSION on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method RESOLVE_INTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_ONLY | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 20101226 | |||
| 2 | COMPLEX_EXPRESSIONS | Call by reference | Type reference (TYPE) | INT4 | Anzahl komplexer Ausdrücke im Text | 20101226 | |||
| 3 | CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_IFS_PARAMETER_CONTAINER | Container (Namensraum für Ausdrucksauswertung) | 20101226 | |||
| 4 | DEBUG_MODE | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - Expressions with errors are NOT replaced by space | 20101226 | ||
| 5 | DEF_GUID | Call by reference | Type reference (TYPE) | STRING | 20101226 | ||||
| 6 | EXPRESSION_FACTORY | Call by reference | Object reference (TYPE REF TO) | CL_SWF_EXP_FACTORY | Erzeugung & Verwaltung von Ausdrücken | 20101226 | |||
| 7 | INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Text mit zu ersetzenden Ausdrücken | 20101226 | |||
| 8 | NUM_EXPRESSIONS | Call by reference | Type reference (TYPE) | INT4 | Anzahl ersetzter Ausdrücke | 20101226 | |||
| 9 | OUTPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Text | 20101226 |
Method RESOLVE_INTERN on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method STRING_EXPRESSIONS_RESOLVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_ONLY | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 20060321 | |||
| 2 | COMPLEX_EXPRESSIONS | Call by reference | Type reference (TYPE) | INT4 | Anzahl komplexer Ausdrücke im Text | 20070426 | |||
| 3 | CONTAINER | Call by reference | Object reference (TYPE REF TO) | IF_SWF_IFS_PARAMETER_CONTAINER | Container (Namensraum für Ausdrucksauswertung) | 20030625 | |||
| 4 | DEBUG_MODE | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - Expressions with errors are NOT replaced by space | 20030625 | ||
| 5 | DEF_GUID | Call by reference | Type reference (TYPE) | STRING | 20101226 | ||||
| 6 | EXCEPTION_LIST | Call by reference | Type reference (TYPE) | SWF_CX_TAB | Aufgetretene Meldungen | 20030625 | |||
| 7 | EXPRESSION_FACTORY | Call by reference | Object reference (TYPE REF TO) | CL_SWF_EXP_FACTORY | Erzeugung & Verwaltung von Ausdrücken | 20051019 | |||
| 8 | IGNORE_ERRORS | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 20060523 | |||
| 9 | IM_TARGET_LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | 20110804 | |||
| 10 | INPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Text mit zu ersetzenden Ausdrücken | 20030625 | |||
| 11 | NUM_EXPRESSIONS | Call by reference | Type reference (TYPE) | INT4 | Anzahl ersetzter Ausdrücke | 20030625 | |||
| 12 | OUTPUT_STRING | Call by reference | Type reference (TYPE) | STRING | Text | 20030625 | |||
| 13 | REMOVE_LEADING_SPACE | Call by reference | Type reference (TYPE) | XFLAG | 'X' | 'X' - führende Spaces in Ausdrücken werden entfernt | 20040505 | ||
| 14 | WORST_ERROR | Call by reference | Type reference (TYPE) | SYST-MSGTY | Gravierendster Meldungstyp | 20030625 |
Method STRING_EXPRESSIONS_RESOLVE on class CL_SWF_EXP_TEXT_HANDLING has no exception.
Method UPDATE_WORST_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPARE_TO_LEVEL | Call by reference | Type reference (TYPE) | SYST-MSGTY | Neu aufgetretener Level | 20030625 |
Method UPDATE_WORST_ERROR on class CL_SWF_EXP_TEXT_HANDLING has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 640 |