SAP ABAP Class CL_BSP_MESSAGES (Business Server Pages (BSP) Messages)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BSP (Application Component) Business Server Pages
⤷
SBSP_RUNTIME (Package) Business Server Pages (BSP): Runtime Objects
⤷
⤷
Properties
| Class | CL_BSP_MESSAGES | |
| Short Description | Business Server Pages (BSP) Messages | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SBSP_RUNTIME | Business Server Pages (BSP): Runtime Objects |
| Created | 20010122 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_BSP_MESSAGES has no forward declaration.
Interfaces
Class CL_BSP_MESSAGES has no interface implemented.
Friends
Class CL_BSP_MESSAGES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 2 | Error Level: Error | 20010122 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 1 | Error Level: Fatal Error | 20010122 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 4 | Error Level: Information | 20010122 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 5 | Error Level: Success Message | 20010122 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 3 | Error Level: Warning | 20010122 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | TBSPMSG | Table of Messages | 20010122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Inserts Message | 20010122 | |
| 2 | Instance method | Public | Method | Inserts Message | 20011210 | |
| 3 | Instance method | Public | Method | Creates a Message from an Exception | 20020320 | |
| 4 | Instance method | Public | Method | Inserts Message | 20020321 | |
| 5 | Instance method | Public | Method | Supplies Index of Message for Condition or 0 | 20010122 | |
| 6 | Instance method | Public | Method | Supplies Message of Condition or Empty String | 20010122 | |
| 7 | Instance method | Public | Method | Supplies Error Severity of Condition or 0 | 20010122 | |
| 8 | Instance method | Public | Method | Deletes Message(s) with Specific Conditions | 20020312 | |
| 9 | Instance method | Public | Method | Supplies the Requested Message | 20010122 | |
| 10 | Instance method | Public | Method | Adds the Messages to a Different Messages Instance | 20020320 | |
| 11 | Instance method | Public | Method | Modifies a Message | 20020320 | |
| 12 | Instance method | Public | Method | Supplies Number of Messages | 20010122 | |
| 13 | Instance method | Public | Method | Delete All Messages | 20020312 |
Events
Class CL_BSP_MESSAGES has no event.
Types
Class CL_BSP_MESSAGES has no local type.
Method Signatures
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20010122 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020320 | |||
| 3 | MESSAGE | Call by reference | Type reference (TYPE) | ANY | Meldungstext (XOR otr_alias) | 20010122 | |||
| 4 | OTR_ALIAS | Call by reference | Type reference (TYPE) | STRING | OTR Alias, der die Meldung identifiziert (XOR message) | 20010330 | |||
| 5 | P1 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%1' in Message-Text | 20020320 | |||
| 6 | P2 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%2' in Message-Text | 20020320 | |||
| 7 | P3 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%3' in Message-Text | 20020320 | |||
| 8 | P4 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%4' in Message-Text | 20020320 | |||
| 9 | SEVERITY | Call by reference | Type reference (TYPE) | I | CO_SEVERITY_ERROR | Fehlerstufe | 20010122 |
Method ADD_MESSAGE on class CL_BSP_MESSAGES has no exception.
Method ADD_MESSAGE2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20011210 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020320 | |||
| 3 | MESSAGE | Call by reference | Type reference (TYPE) | ANY | Meldungstext (XOR otr_alias) | 20011210 | |||
| 4 | MESSAGETYPE | Call by reference | Type reference (TYPE) | CHAR1 | 'E' | Messagetyp wie sy-msgty | 20011210 | ||
| 5 | OTR_ALIAS | Call by reference | Type reference (TYPE) | STRING | OTR Alias, der die Meldung identifiziert (XOR message) | 20011210 | |||
| 6 | P1 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%1' in Message-Text | 20020320 | |||
| 7 | P2 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%2' in Message-Text | 20020320 | |||
| 8 | P3 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%3' in Message-Text | 20020320 | |||
| 9 | P4 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%4' in Message-Text | 20020320 |
Method ADD_MESSAGE2 on class CL_BSP_MESSAGES has no exception.
Method ADD_MESSAGE_FROM_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20020320 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020320 | |||
| 3 | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Gefangene Ausnahme | 20020320 | |||
| 4 | SEVERITY | Call by reference | Type reference (TYPE) | I | CO_SEVERITY_ERROR | Fehlerschwere | 20020320 |
Method ADD_MESSAGE_FROM_EXCEPTION on class CL_BSP_MESSAGES has no exception.
Method ADD_MESSAGE_FROM_T100 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20020321 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020321 | |||
| 3 | MSGID | Call by reference | Type reference (TYPE) | SYST-MSGID | 20020321 | ||||
| 4 | MSGNO | Call by reference | Type reference (TYPE) | SYST-MSGNO | Nachrichten, Nachrichtennummer | 20020321 | |||
| 5 | MSGTY | Call by reference | Type reference (TYPE) | SYST-MSGTY | Nachrichten, Nachrichtentyp | 20020321 | |||
| 6 | P1 | Call by reference | Type reference (TYPE) | SYST-MSGV1 | Ersetzt '%1' in Message-Text | 20020321 | |||
| 7 | P2 | Call by reference | Type reference (TYPE) | SYST-MSGV2 | Ersetzt '%2' in Message-Text | 20020321 | |||
| 8 | P3 | Call by reference | Type reference (TYPE) | SYST-MSGV3 | Ersetzt '%3' in Message-Text | 20020321 | |||
| 9 | P4 | Call by reference | Type reference (TYPE) | SYST-MSGV4 | Ersetzt '%4' in Message-Text | 20020321 |
Method ADD_MESSAGE_FROM_T100 on class CL_BSP_MESSAGES has no exception.
Method ASSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20010122 | |||
| 2 | INDEX | Value transfer | Type reference (TYPE) | I | Index oder 0 | 20010122 |
Method ASSERT on class CL_BSP_MESSAGES has no exception.
Method ASSERT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20010122 | |||
| 2 | MESSAGE | Value transfer | Type reference (TYPE) | STRING | Meldung | 20010122 |
Method ASSERT_MESSAGE on class CL_BSP_MESSAGES has no exception.
Method ASSERT_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20010122 | |||
| 2 | SEVERITY | Value transfer | Type reference (TYPE) | I | Fehlerstufe | 20010122 |
Method ASSERT_SEVERITY on class CL_BSP_MESSAGES has no exception.
Method DELETE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Call by reference | Type reference (TYPE) | STRING | Bedingung | 20020312 |
Method DELETE_MESSAGE on class CL_BSP_MESSAGES has no exception.
Method GET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Call by reference | Type reference (TYPE) | STRING | Bedingung | 20010122 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020320 | |||
| 3 | INDEX | Call by reference | Type reference (TYPE) | I | Index des Fehlers | 20010122 | |||
| 4 | MESSAGE | Call by reference | Type reference (TYPE) | STRING | Meldung | 20010122 | |||
| 5 | SEVERITY | Call by reference | Type reference (TYPE) | I | Fehlerstufe | 20010122 |
Method GET_MESSAGE on class CL_BSP_MESSAGES has no exception.
Method MERGE_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Quell-Messages-Instanz | 20020320 |
Method MERGE_MESSAGES on class CL_BSP_MESSAGES has no exception.
Method MODIFY_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONDITION | Value transfer | Type reference (TYPE) | STRING | Bedingung | 20020320 | |||
| 2 | DUMMY | Call by reference | Type reference (TYPE) | STRING | Hilfswert | 20020320 | |||
| 3 | MESSAGE | Call by reference | Type reference (TYPE) | ANY | Meldungstext (XOR otr_alias) | 20020320 | |||
| 4 | OTR_ALIAS | Call by reference | Type reference (TYPE) | STRING | OTR Alias, der die Meldung identifiziert (XOR message) | 20020320 | |||
| 5 | P1 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%1' in Message-Text | 20020320 | |||
| 6 | P2 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%2' in Message-Text | 20020320 | |||
| 7 | P3 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%3' in Message-Text | 20020320 | |||
| 8 | P4 | Call by reference | Type reference (TYPE) | STRING | Ersetzt '%4' in Message-Text | 20020320 | |||
| 9 | SEVERITY | Call by reference | Type reference (TYPE) | I | CO_SEVERITY_ERROR | Fehlerstufe | 20020320 |
Method MODIFY_MESSAGE on class CL_BSP_MESSAGES has no exception.
Method NUM_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNT | Value transfer | Type reference (TYPE) | I | Anzahl Fehler | 20010122 |
Method NUM_MESSAGES on class CL_BSP_MESSAGES has no exception.
Method RESET Signature
Method RESET on class CL_BSP_MESSAGES has no parameter.
Method RESET on class CL_BSP_MESSAGES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 610 |