SAP ABAP Interface IF_WS_MESSAGE (Handling of Messages with Errors)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-WS-ABA-RT (Application Component) WebServices ABAP Runtime
⤷
SOAP_WS_MESSAGE (Package) Access to WS Message
⤷
⤷
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
| Interface | IF_WS_MESSAGE | |
| Short Description | Handling of Messages with Errors |
General Data
| Package | SOAP_WS_MESSAGE | Access to WS Message |
| Created | 20060109 | SAP |
| Last changed | 20090618 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
| 2 | IF_WS_MESSAGE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
| 3 | TSOAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Interface IF_WS_MESSAGE has no interface.
Friends
Interface IF_WS_MESSAGE has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_SAVE_MODE_IMMEDIATELY | Constant | Public | Type reference (TYPE) | SAVE_MODE | 'IMMEDIATELY' | Save Now (in Current Process) | 20060809 | |
| 2 | CO_SAVE_MODE_IN_UPDATE_TASK | Constant | Public | Type reference (TYPE) | SAVE_MODE | 'IN_UPDATE_TASK' | Save in Update | 20060809 | |
| 3 | CO_STATE_APPL_ERROR | Constant | Public | Type reference (TYPE) | STATE | 'APPLICATION_ERROR' | Processed with application error; modifiable | 20060426 | |
| 4 | CO_STATE_CANCELLED | Constant | Public | Type reference (TYPE) | STATE | 'CANCELLED' | Processed with errors and closed | 20060215 | |
| 5 | CO_STATE_CHANGED_MANUALLY | Constant | Public | Type reference (TYPE) | STATE | 'CHANGED_MANUALLY' | Changed Manually | 20060214 | |
| 6 | CO_STATE_FINISHED | Constant | Public | Type reference (TYPE) | STATE | 'FINISHED' | Processed successfully and closed | 20060215 | |
| 7 | CO_STATE_IN_ERROR | Constant | Public | Type reference (TYPE) | STATE | 'IN_ERROR' | Processed with errors and can be changed | 20060215 | |
| 8 | CO_STATE_NOT_EXISTING | Constant | Public | Type reference (TYPE) | STATE | 'NOT_EXISTING' | Not existent | 20060224 | |
| 9 | CO_STATE_RELEASED | Constant | Public | Type reference (TYPE) | STATE | 'RELEASED' | Released for Message Processing | 20060222 | |
| 10 | CO_STATE_SYSTEM_ERROR | 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
Interface 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 Interface 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 Interface 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 Interface IF_WS_MESSAGE has no exception.
Method RESTART Signature
Method RESTART on Interface 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 Interface 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 | 710 |