SAP ABAP Class CL_SWF_UTL_EXCEPTION_SERVICES (Workflow: Service Class for Exceptions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_UTL (Package) Workflow: Tools
⤷
⤷
Properties
| Class | CL_SWF_UTL_EXCEPTION_SERVICES | |
| Short Description | Workflow: Service Class for Exceptions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWF_UTL | Workflow: Tools |
| Created | 20030815 | 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_UTL_EXCEPTION_SERVICES has no interface implemented.
Friends
Class CL_SWF_UTL_EXCEPTION_SERVICES has no friend class.
Attributes
Class CL_SWF_UTL_EXCEPTION_SERVICES has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Packages any exception in an CX_IFS-Exception | 20050112 | |
| 2 | Static method | Public | Method | Follows PREVIOUS references and gets innermost exception | 20060718 | |
| 3 | Static method | Public | Method | Raises exception of type CX_SWF_IFS_EXCEPTION | 20040107 | |
| 4 | Static method | Public | Method | Raises exception of type CX_SWF_RUN_WIM | 20030815 | |
| 5 | Static method | Public | Method | Raises Exception of Type CX_SWF_RUN_WIM with Variables | 20110525 | |
| 6 | Static method | Public | Method | Raises exception of type CX_SWF_RUN_WIM with SY_MSG... | 20040206 | |
| 7 | Static method | Public | Method | Convert exception hierarchy to message list | 20060613 |
Events
Class CL_SWF_UTL_EXCEPTION_SERVICES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TTY_EXCEPTION_INFO | Public | See coding | 20060613 | tty_exception_info TYPE STANDARD TABLE OF ty_exception_info WITH DEFAULT KEY
|
||
| 2 | TY_ADD_INFO | Public | See coding | 20060613 | BEGIN OF ty_add_info,
textid TYPE sotr_conc,
long_text TYPE string,
END OF ty_add_info
|
||
| 3 | TY_EXCEPTION_INFO | Public | See coding | 20060613 | BEGIN OF ty_exception_info,
text TYPE string,
exc_text TYPE string,
exception TYPE abap_abstypename,
t100_msg TYPE swf_t100ms,
source_pos TYPE ty_source_pos,
add_info TYPE ty_add_info,
END OF ty_exception_info
|
||
| 4 | TY_SOURCE_POS | Public | See coding | 20060613 | BEGIN OF ty_source_pos,
src_program TYPE syrepid,
src_method TYPE syrepid,
source_line TYPE i,
END OF ty_source_pos
|
Method Signatures
Method EXCEPTION_TO_CX_IFS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ANY_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Zu konvertierende Ausnahme | 20050112 | |||
| 2 | CX_IFS_EXCEPTION | Value transfer | Object reference (TYPE REF TO) | CX_SWF_IFS_EXCEPTION | Ausnahme(hierarchie) im CX_SWF_IFS-Format | 20050112 | |||
| 3 | LOG_CONTEXT | Call by reference | Type reference (TYPE) | SWF_LOGCTX | Gewünschter Log-Kontext | 20050112 | |||
| 4 | RETREIVE_SOURCE_POS | Call by reference | Type reference (TYPE) | XFLAG | SPACE | 'X' - Position im Quelltext ermitteln | 20050112 |
Method EXCEPTION_TO_CX_IFS on class CL_SWF_UTL_EXCEPTION_SERVICES has no exception.
Method GET_FIRST_CX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CX_IFS | Call by reference | Object reference (TYPE REF TO) | CX_SWF_IFS_EXCEPTION | Innerste Except. als CX_SWF_IFS_EXCEPTION, ggf. gewrappt | 20060718 | |||
| 2 | EX_CX_ROOT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Innerste Exception als CX_ROOT | 20060718 | |||
| 3 | IM_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Exception, deren PREVIOUS-Zeiger zurückverfolgt werden | 20060718 |
Method GET_FIRST_CX on class CL_SWF_UTL_EXCEPTION_SERVICES has no exception.
Method RAISE_CX_SWF_IFS_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SWF_IFS_EXCEPTION | Workflow Ausnahme | 20040107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040107 |
Method RAISE_CX_SWF_RUN_WIM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SWF_RUN_WIM | 20030815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im WIM | 20030815 |
Method RAISE_CX_SWF_RUN_WIM_VIA_PAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20110525 | ||||
| 2 | IM_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20110525 | ||||
| 3 | IM_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20110525 | ||||
| 4 | IM_MSGV1 | Call by reference | Type reference (TYPE) | C | 20110525 | ||||
| 5 | IM_MSGV2 | Call by reference | Type reference (TYPE) | C | 20110525 | ||||
| 6 | IM_MSGV3 | Call by reference | Type reference (TYPE) | C | 20110525 | ||||
| 7 | IM_MSGV4 | Call by reference | Type reference (TYPE) | C | 20110525 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im WIM | 20110525 |
Method RAISE_CX_SWF_RUN_WIM_VIA_SYST Signature
Method RAISE_CX_SWF_RUN_WIM_VIA_SYST on class CL_SWF_UTL_EXCEPTION_SERVICES has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im WIM | 20040206 |
Method UNWRAP_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | 20060613 | ||||
| 2 | MESSAGE_LIST | Call by reference | Type reference (TYPE) | TTY_EXCEPTION_INFO | 20060613 |
Method UNWRAP_EXCEPTION on class CL_SWF_UTL_EXCEPTION_SERVICES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 640 |