SAP ABAP Class IF_WS_MESSAGE (Handling of Messages with Errors)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_WS_MESSAGE | Handling of Messages with Errors | 20060109 |
Properties
| Class | IF_WS_MESSAGE | |
| Short Description | Handling of Messages with Errors | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20060109 | SAP |
| Last change | 20090618 | 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class IF_WS_MESSAGE has no interface implemented.
Friends
Class IF_WS_MESSAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SAVE_MODE | 'IMMEDIATELY' | Save Now (in Current Process) | 20060809 | ||
| 2 | Constant | Public | Type reference (TYPE) | SAVE_MODE | 'IN_UPDATE_TASK' | Save in Update | 20060809 | ||
| 3 | Constant | Public | Type reference (TYPE) | STATE | 'APPLICATION_ERROR' | Processed with application error; modifiable | 20060426 | ||
| 4 | Constant | Public | Type reference (TYPE) | STATE | 'CANCELLED' | Processed with errors and closed | 20060215 | ||
| 5 | Constant | Public | Type reference (TYPE) | STATE | 'CHANGED_MANUALLY' | Changed Manually | 20060214 | ||
| 6 | Constant | Public | Type reference (TYPE) | STATE | 'FINISHED' | Processed successfully and closed | 20060215 | ||
| 7 | Constant | Public | Type reference (TYPE) | STATE | 'IN_ERROR' | Processed with errors and can be changed | 20060215 | ||
| 8 | Constant | Public | Type reference (TYPE) | STATE | 'NOT_EXISTING' | Not existent | 20060224 | ||
| 9 | Constant | Public | Type reference (TYPE) | STATE | 'RELEASED' | Released for Message Processing | 20060222 | ||
| 10 | Constant | Public | Type reference (TYPE) | STATE | 'SYSTEM_ERROR' | Processed with system error; modifiable | 20060426 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Checks specified or currently set payload | 20060123 | |
| 2 | Instance method | Public | Method | Sends ABAP Data References for Current Payload | 20060802 | |
| 3 | Instance method | Public | Method | Gets Message ID | 20070122 | |
| 4 | Instance method | Public | Method | Gets Payload (First Subnode of SOAP Body) | 20060123 | |
| 5 | Instance method | Public | Method | Gets Persist ID of Message | 20070122 | |
| 6 | Instance method | Public | Method | Gets Status of Message | 20060123 | |
| 7 | Instance method | Public | Method | Gets version of message instance | 20071213 | |
| 8 | Instance method | Public | Method | Reschedules Corresponding Sequence | 20060202 | |
| 9 | Instance method | Public | Method | Direct Start of Corresponding Sequence | 20060202 | |
| 10 | Instance method | Public | Method | Saves Messages | 20060123 | |
| 11 | Instance method | Public | Method | Switches to Change Mode | 20060123 | |
| 12 | Instance method | Public | Method | Writes Payload (First Subnode of SOAP Body) | 20060123 | |
| 13 | Instance method | Public | Method | Switches to Display Mode | 20060123 | |
| 14 | Instance method | Public | Method | Sets Message State | 20060804 | |
| 15 | Instance method | Public | Method | Skips Message and Reschedules Sequence | 20060330 |
Events
Class IF_WS_MESSAGE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ERROR_TEXTS | Public | See coding | List of Error Texts of Nested Error Objects | 20060130 | ERROR_TEXTS type standard table of STRING WITH DEFAULT KEY
|
|
| 2 | SAVE_MODE | Public | Type reference (TYPE) | SRT_WS_MESSAGE_SAVE_MODE | Save Mode for Database Changes | 20060809 | |
| 3 | STATE | Public | Type reference (TYPE) | SRT_WS_MESSAGE_STATE | State of WS Message | 20060123 | |
Method Signatures
Method CHECK_PAYLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ERROR_TEXTS | Value transfer | Type reference (TYPE) | ERROR_TEXTS | Liste der Fehlertexte der geschachtelten Fehlerobjekte | 20060130 | |||
| 2 | XML10_DOCUMENT | Call by reference | Type reference (TYPE) | XSTRING | Payload als XML 1.0 Fragment in UTF-8 Kodierung | 20060209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Payload-Verarbeitung | 20060210 | ||
| 2 | Message existiert nicht | 20060214 |
Method DESERIALIZE_PAYLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_REFERENCES | Value transfer | Type reference (TYPE) | ABAP_TRANS_RESBIND_TAB | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Payload-Verarbeitung | 20060807 | ||
| 2 | systembedingte Fehler bei der WS Message-Verarbeitung | 20060807 | ||
| 3 | Message existiert nicht | 20060809 |
Method GET_MESSAGE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MESSAGE_ID | Value transfer | Type reference (TYPE) | SRTMSGID | Message Id in SOAP Runtime | 20070122 |
Method GET_MESSAGE_ID on class IF_WS_MESSAGE has no exception.
Method GET_PAYLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XML10_DOCUMENT | Value transfer | Type reference (TYPE) | XSTRING | Payload als XML 1.0 Fragment in UTF-8 Kodierung | 20060123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Payload-Verarbeitung | 20060210 | ||
| 2 | Message existiert nicht | 20060209 |
Method GET_PERSIST_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERSIST_ID | Value transfer | Type reference (TYPE) | SXMS_PERSIST_ID | Persist-Id | 20070122 |
Method GET_PERSIST_ID on class IF_WS_MESSAGE has no exception.
Method GET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STATE | Value transfer | Type reference (TYPE) | STATE | Status einer WS Message | 20060123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Message existiert nicht | 20060123 |
Method GET_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VERSION | Value transfer | Type reference (TYPE) | SXMSLSQNBR | Version der Message Instanz | 20071213 |
Method GET_VERSION on class IF_WS_MESSAGE has no exception.
Method RESTART Signature
Method RESTART on class IF_WS_MESSAGE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Missing authorization | 20090116 | ||
| 2 | Ausnahme bei der Sperr-Behandlung | 20060215 | ||
| 3 | Fehler bei RFC-Aufruf | 20060215 | ||
| 4 | Operation im aktuellen Message Status nicht erlaubt | 20060212 | ||
| 5 | Message existiert nicht | 20060212 |
Method RESTART_IMMEDIATELY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NO_RFC | Call by reference | Type reference (TYPE) | BOOLEAN | TSOAP_FALSE | Kennzeichen für Aufruf ohne RFC | 20070126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Missing authorization | 20090116 | ||
| 2 | Ausnahme bei der Sperr-Behandlung | 20060215 | ||
| 3 | Fehler bei RFC-Aufruf | 20060215 | ||
| 4 | Operation im aktuellen Message Status nicht erlaubt | 20060212 | ||
| 5 | Message existiert nicht | 20060212 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SAVE_MODE | Call by reference | Type reference (TYPE) | SAVE_MODE | CO_SAVE_MODE_IN_UPDATE_TASK | Modus zur Sicherung von Änderungen auf der Datenbank | 20060809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Payload-Verarbeitung | 20060214 | ||
| 2 | Fehler in der Verwendung | 20060212 |
Method SET_CHANGE_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MESSAGE_OUTDATED | Value transfer | Type reference (TYPE) | BOOLEAN | gesetzt, falls die Message nachgelesen werden muss | 20060212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme bei der Sperr-Behandlung | 20060123 | ||
| 2 | Operation im aktuellen Message Status nicht erlaubt | 20060212 | ||
| 3 | Message existiert nicht | 20060123 |
Method SET_PAYLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XML10_DOCUMENT | Call by reference | Type reference (TYPE) | XSTRING | Payload als XML 1.0 Fragment in UTF-8 Kodierung | 20060123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Payload-Verarbeitung | 20060210 | ||
| 2 | Fehler in der Verwendung | 20060210 |
Method SET_READ_ONLY_MODE Signature
Method SET_READ_ONLY_MODE on class IF_WS_MESSAGE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Message existiert nicht | 20060123 |
Method SET_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SAVE_MODE | Call by reference | Type reference (TYPE) | SAVE_MODE | CO_SAVE_MODE_IN_UPDATE_TASK | Modus zur Sicherung von Änderungen auf der Datenbank | 20060809 | ||
| 2 | STATE | Call by reference | Type reference (TYPE) | STATE | Status einer WS Message | 20060804 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Verwendung | 20060804 | ||
| 2 | Operation im aktuellen Message Status nicht erlaubt | 20060804 |
Method SKIP_AND_RESTART Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NO_RFC | Call by reference | Type reference (TYPE) | BOOLEAN | TSOAP_FALSE | Kennzeichen für Aufruf ohne RFC | 20070126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme bei der Sperr-Behandlung | 20060330 | ||
| 2 | Fehler bei RFC-Aufruf | 20060330 | ||
| 3 | Operation im aktuellen Message Status nicht erlaubt | 20060330 | ||
| 4 | Message existiert nicht | 20060330 |
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in |