SAP ABAP Class CL_SWR_API_RETURN_MSG (Gets Success/Error Message of API Calls)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_SWR (Package) Workflow: Internal Implementation for API Layer
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SWR_RETURN_MSG | Messages of API Calls | 20100107 |
Properties
| Class | CL_SWR_API_RETURN_MSG | |
| Short Description | Gets Success/Error Message of API Calls | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWF_SWR | Workflow: Internal Implementation for API Layer |
| Created | 20100107 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SWR_API_RETURN_MSG has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SWR_RETURN_MSG | Messages of API Calls | 20100107 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SWR_API_BASE | 20101026 | Basis Class for APIs |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | SWRTMSGTEXT | List of Text Messages | 20100107 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | SWR_DEST | Workflow: Destination for Remote Calls | 20100129 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20100107 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds Error Message | 20101018 | |
| 2 | Instance method | Public | Method | Adds Error Message to an IFS Exception | 20100830 | |
| 3 | Instance method | Public | Method | Adds an Info Message | 20101019 | |
| 4 | Instance method | Public | Method | Adds Error Message of an Internal Exception | 20101019 | |
| 5 | Instance method | Public | Method | Adds a List with Messages (Internal) | 20101019 | |
| 6 | Instance method | Public | Method | Logs a Communication Problem from RFC | 20100827 | |
| 7 | Instance method | Public | Method | Adds a Success Message | 20100217 | |
| 8 | Instance method | Public | Method | Adds an Error Message (from System Fields) | 20100108 | |
| 9 | Instance method | Public | Method | Adds a List with Messages (WAPI) | 20101019 | |
| 10 | Instance method | Public | Method | Deletes All Messages | 20100107 | |
| 11 | Instance method | Public | Constructor | CONSTRUCTOR | 20100107 | |
| 12 | Instance method | Public | Method | Adds All Messages from IF_SWR_RETURN_MSG | 20100107 | |
| 13 | Instance method | Private | Method | (Internal) Adds a T100 Message | 20101019 | |
| 14 | Instance method | Private | Method | Gets Text for T100 Message | 20110121 |
Events
Class CL_SWR_API_RETURN_MSG has no event.
Types
Class CL_SWR_API_RETURN_MSG has no local type.
Method Signatures
Method ADD_ERROR_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20101018 | ||||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20101018 | |||
| 3 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101018 | |||
| 4 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101018 | |||
| 5 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101018 | |||
| 6 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101018 |
Method ADD_ERROR_MESSAGE on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_IFS_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SWF_IFS_EXCEPTION | 20100830 |
Method ADD_IFS_EXCEPTION on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_INFO_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20101019 | ||||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20101019 | |||
| 3 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101019 | |||
| 4 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101019 | |||
| 5 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101019 | |||
| 6 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20101019 |
Method ADD_INFO_MESSAGE on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_INTERNAL_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SWR_INTERNAL_EXCEPTION | interne Ausnahme | 20101019 |
Method ADD_INTERNAL_EXCEPTION on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_RETURN_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | SWRTMSGTEXT | Liste mit TEXT Nachrichten | 20101019 |
Method ADD_RETURN_MESSAGES on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_RFC_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSG | Call by reference | Type reference (TYPE) | C | 20100827 | ||||
| 2 | I_RFC_DEST | Call by reference | Type reference (TYPE) | C | 20100827 |
Method ADD_RFC_ERROR on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_SUCCESS_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20101018 | ||||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20101018 | ||||
| 3 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20101018 | ||||
| 4 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20101018 | ||||
| 5 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20101018 | ||||
| 6 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20101018 |
Method ADD_SUCCESS_MESSAGE on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_SY_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SYST | Call by reference | Type reference (TYPE) | SYST | Text Nachricht | 20100108 |
Method ADD_SY_MESSAGE on class CL_SWR_API_RETURN_MSG has no exception.
Method ADD_WAPI_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | SWRTMSTRUC | 20101019 |
Method ADD_WAPI_MESSAGES on class CL_SWR_API_RETURN_MSG has no exception.
Method CLEAR Signature
Method CLEAR on class CL_SWR_API_RETURN_MSG has no parameter.
Method CLEAR on class CL_SWR_API_RETURN_MSG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEST_ID | Call by reference | Type reference (TYPE) | SWR_DEST | Workflow: Destination für Remote-Aufrufe | 20100129 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Sprachenschlüssel der aktuellen Textumgebung | 20100107 |
Method CONSTRUCTOR on class CL_SWR_API_RETURN_MSG has no exception.
Method MERGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_RETURN_MSG | Call by reference | Object reference (TYPE REF TO) | IF_SWR_RETURN_MSG | Nachrichten der API Aufrufe | 20100107 |
Method MERGE on class CL_SWR_API_RETURN_MSG has no exception.
Method _ADD_T100_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MESSAGE | Call by reference | Type reference (TYPE) | SWRSMSGT100 | Text Nachricht | 20101019 |
Method _ADD_T100_MESSAGE on class CL_SWR_API_RETURN_MSG has no exception.
Method _GET_MESSAGE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20110121 | |||
| 2 | E_LINE | Call by reference | Type reference (TYPE) | SWR_MSGLIN | Textzeile für eine Nachricht | 20110121 | |||
| 3 | I_MESSAGE | Call by reference | Type reference (TYPE) | SWRSMSGT100 | Text Nachricht | 20110121 |
Method _GET_MESSAGE_TEXT on class CL_SWR_API_RETURN_MSG has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |