SAP ABAP Class CL_RSCRM_ERRORHANDLER (Management of Error Messages of a Session)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
CRM (Application Component) Customer Relationship Management
⤷
RSCRM (Package) BW Objects for CRM
⤷
⤷
Properties
| Class | CL_RSCRM_ERRORHANDLER | |
| Short Description | Management of Error Messages of a Session | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSCRM | BW Objects for CRM |
| Created | 20010201 | SAP |
| Last change | 20110908 | 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_RSCRM_ERRORHANDLER has no interface implemented.
Friends
Class CL_RSCRM_ERRORHANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_DIALOGBOX_CONTAINER | Container for Custom Controls in the Screen Area | 20010910 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20010312 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | BAPIRET2_T | Return Table | 20010206 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | BAPIRET2_T | Return Table | 20010206 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | BAPIRET2_T | Local Return Table for Function Calls | 20010206 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BALCNTHNDL | Application Log: Control Display Handle | 20010910 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20010312 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | CHAR01 | Error Status | 20010206 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Transfer of Error Messages to the Class | 20010403 | |
| 2 | Instance method | Public | Method | Transfer of Error Messages to the Class | 20010201 | |
| 3 | Instance method | Public | Method | Transfer of Error Messages to the Class | 20010206 | |
| 4 | Instance method | Public | Method | Append Contents of Temporary Return Table to Error Log | 20010206 | |
| 5 | Instance method | Public | Method | Read Collected Error Messages | 20010206 | |
| 6 | Instance method | Public | Method | Read Collected Error Messages | 20010206 | |
| 7 | Instance method | Public | Method | Delete Error Messages and Reset Status | 20010201 | |
| 8 | Instance method | Public | Method | Schliesst und speichert Log | 20030807 | |
| 9 | Instance method | Public | Method | Create Application Log Handles | 20010312 | |
| 10 | Instance method | Public | Method | Display Error Messages | 20010312 | |
| 11 | Instance method | Public | Method | Hinzufügen einer Message | 20030807 | |
| 12 | Instance method | Private | Event handling method | Deletion of Dialog Box Control | 20010910 | |
| 13 | Instance method | Public | Method | Reset Error Message Storage | 20010201 | |
| 14 | Instance method | Private | Method | Check and Set Status | 20010201 |
Events
Class CL_RSCRM_ERRORHANDLER has no event.
Types
Class CL_RSCRM_ERRORHANDLER has no local type.
Method Signatures
Method ADD_ANY_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGID | Call by reference | Type reference (TYPE) | SY-MSGID | Nachrichten, Nachrichtenklasse | 20010403 | |||
| 2 | MSGNO | Call by reference | Type reference (TYPE) | SY-MSGNO | Nachrichten, Nachrichtennummer | 20010403 | |||
| 3 | MSGTYPE | Call by reference | Type reference (TYPE) | SY-MSGTY | Nachrichten, Nachrichtentyp | 20010403 | |||
| 4 | MSG_V1 | Call by reference | Type reference (TYPE) | ANY | Variable 1 | 20010403 | |||
| 5 | MSG_V2 | Call by reference | Type reference (TYPE) | ANY | Variable 2 | 20010403 | |||
| 6 | MSG_V3 | Call by reference | Type reference (TYPE) | ANY | Variable 3 | 20010403 | |||
| 7 | MSG_V4 | Call by reference | Type reference (TYPE) | ANY | Variable 4 | 20010403 |
Method ADD_ANY_MESSAGE on class CL_RSCRM_ERRORHANDLER has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20010201 |
Method ADD_MESSAGE on class CL_RSCRM_ERRORHANDLER has no exception.
Method ADD_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Rückgabetabelle | 20010206 |
Method ADD_MESSAGES on class CL_RSCRM_ERRORHANDLER has no exception.
Method ADD_MESSAGES_TMP Signature
Method ADD_MESSAGES_TMP on class CL_RSCRM_ERRORHANDLER has no parameter.
Method ADD_MESSAGES_TMP on class CL_RSCRM_ERRORHANDLER has no exception.
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2_T | Rückgabetabelle | 20010206 |
Method GET_MESSAGES on class CL_RSCRM_ERRORHANDLER has no exception.
Method GET_MESSAGES_HISTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2_T | Rückgabetabelle | 20010206 |
Method GET_MESSAGES_HISTORY on class CL_RSCRM_ERRORHANDLER has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_RSCRM_ERRORHANDLER has no parameter.
Method INITIALIZE on class CL_RSCRM_ERRORHANDLER has no exception.
Method LOG_CLOSE Signature
Method LOG_CLOSE on class CL_RSCRM_ERRORHANDLER has no parameter.
Method LOG_CLOSE on class CL_RSCRM_ERRORHANDLER has no exception.
Method LOG_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Anwendungsprotokoll: Externe ID | 20010312 | |||
| 2 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Anwendungsprotokoll: Objektname (Applikationskürzel) | 20010312 | |||
| 3 | I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Anwendungsprotokoll: Teilobjekt | 20010312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Anlegen des Protokolls fehlgeschlagen | 20010312 |
Method LOG_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AMODAL | Call by reference | Type reference (TYPE) | RSCRMBOOL | SPACE | Amodales Dialogfenster anzeigen | 20011122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Protokoll konnte nicht angezeigt werden | 20010312 | ||
| 2 | Protokoll konnte nicht angelegt werden | 20010312 |
Method LOG_WRITE_BAPIRET2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20030807 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20030807 |
Method ON_DIALOGBOX_CLOSE Signature
Method ON_DIALOGBOX_CLOSE on class CL_RSCRM_ERRORHANDLER has no parameter.
Method ON_DIALOGBOX_CLOSE on class CL_RSCRM_ERRORHANDLER has no exception.
Method REFRESH Signature
Method REFRESH on class CL_RSCRM_ERRORHANDLER has no parameter.
Method REFRESH on class CL_RSCRM_ERRORHANDLER has no exception.
Method STATUS_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TYPE | Call by reference | Type reference (TYPE) | BAPIRET2-TYPE | Meldungstyp: S=Erfolg,E=Fehler,W=Warnung,I=Info, A=Abbrechen | 20010201 |
Method STATUS_SET on class CL_RSCRM_ERRORHANDLER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 21C |