SAP ABAP Class CL_CGPL_APPLICATION_LOG (Project Planning - Application Log Call)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-GPL (Application Component) Generic Project Planning
⤷
CGPL_GENERIC_FUNCTIONS (Package) Project Planning - General Functions
⤷
⤷
Properties
| Class | CL_CGPL_APPLICATION_LOG | |
| Short Description | Project Planning - Application Log Call | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CGPL_GENERIC_FUNCTIONS | Project Planning - General Functions |
| Created | 19991221 | SAP |
| Last change | 20131127 | 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_CGPL_APPLICATION_LOG has no interface implemented.
Friends
Class CL_CGPL_APPLICATION_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | Current Type of Application Log (O, P or F) | 20000217 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_CGPL_APPLICATION_LOG | Instance of Current Application Log | 19991221 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Log handle | 20000216 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | BALOBJ_D | Application Log: Object Name (Application Code) | 20130607 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | 'X' = Ouput Initialized | 20010803 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | IT_APPLICATION_LOGS | IT_APPLICATION_LOGS | 20000217 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TY_MSGIDS | List of Message IDs | 20041116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Class Method: Display Log | 19991221 | |
| 2 | Instance method | Public | Method | Instance Method: Display Log | 20000217 | |
| 3 | Instance method | Public | Constructor | Constructor | 19991221 | |
| 4 | Static method | Public | Method | Reads Unique Instance of Class CL_CGPL_APPLICATION_LOG | 19991221 | |
| 5 | Static method | Public | Method | Class Method: Whether Log Contains Message | 20000303 | |
| 6 | Static method | Public | Method | Class Method: Whether Log Contains Message | 20000302 | |
| 7 | Static method | Public | Method | Class Method: Delete Messages | 20000229 | |
| 8 | Static method | Public | Method | Class Method: Reads All Messages from Log | 20001220 | |
| 9 | Static method | Public | Method | Class Method: Reset Log | 20000216 | |
| 10 | Static method | Public | Method | Class Method: Add Message to Log | 19991221 | |
| 11 | Static method | Public | Method | Class Method: Sets Application Log Type for External Log | 20000329 | |
| 12 | Static method | Public | Method | Class Method: Add Message as Free Text | 20000128 | |
| 13 | Instance method | Public | Method | Instance Method: Add Message to Log | 19991221 | |
| 14 | Instance method | Private | Method | Instance Method: Add Message as Free Text | 20000128 | |
| 15 | Instance method | Private | Method | Instance Method: Delete Messages | 20000229 | |
| 16 | Instance method | Private | Method | Instance Method: Read Messages from Log | 20001220 | |
| 17 | Instance method | Private | Method | Instance Method: Reset Log | 20000216 | |
| 18 | Static method | Public | Method | Class Method: Add Message to Log | 20041116 | |
| 19 | Static method | Public | Method | Instance Method: Sets Application Log Type | 20000217 | |
| 20 | Static method | Public | Method | Instance Method: Sets Message Class for General Messages | 20000308 |
Events
Class CL_CGPL_APPLICATION_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | IT_APPLICATION_LOGS | Private | See coding | IT_APPLICATION_LOGS | 20000217 | it_application_logs type standard table of ty_application_logs
|
|
| 2 | TY_APPLICATION_LOGS | Private | See coding | 20000217 | begin of TY_APPLICATION_LOGS,
instance type ref to cl_cgpl_application_log,
appl_type(1) type C,
end of ty_application_logs
|
||
| 3 | TY_MSGID | Private | See coding | 20041116 | begin of ty_msgid,
application type cgpl_application_type,
msgid type symsgid,
end of ty_msgid
|
||
| 4 | TY_MSGIDS | Private | See coding | 20041116 | ty_msgids type sorted table of ty_msgid
with unique key application
|
Method Signatures
Method APPLICATION_LOG_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000316 | |||
| 2 | IM_NEW_CALL | Call by reference | Type reference (TYPE) | XFELD | KIennzeichen: neue Protokollanzeigen | 20000229 | |||
| 3 | IM_PROFILE | Call by reference | Type reference (TYPE) | BAL_S_PROF | Anwendungs-Log: Aufbereitungs-Profil für Protokollausgabe | 20010402 | |||
| 4 | IM_SUBSCREEN | Call by reference | Type reference (TYPE) | CHAR1 | Kennzeichen Protokollanzeige im Subscreen | 20000217 |
Method APPLICATION_LOG_DISPLAY on class CL_CGPL_APPLICATION_LOG has no exception.
Method APPL_LOG_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SUBSCREEN | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Kennzeichen: Anzeige in Subscreen | 20000217 |
Method APPL_LOG_DISPLAY on class CL_CGPL_APPLICATION_LOG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 19991221 | |||
| 2 | IM_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log Handle | 20000329 |
Method CONSTRUCTOR on class CL_CGPL_APPLICATION_LOG has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_APPL_TYPE | Value transfer | Type reference (TYPE) | CHAR1 | Type des Applikationlog (O:Objekt, P:Gesamt, F: Funktion) | 20000217 | |||
| 2 | IM_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 19991221 | |||
| 3 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_CGPL_APPLICATION_LOG | Return: Singleton Instanz der Klasse CL_CGPL_APPLICATION_LOG | 19991221 |
Method GET_INSTANCE on class CL_CGPL_APPLICATION_LOG has no exception.
Method LOGS_HAS_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_HAS_MESSAGE | Call by reference | Type reference (TYPE) | CHAR1 | Space: Keine 'X' : Sonst | 20000303 |
Method LOGS_HAS_MESSAGE on class CL_CGPL_APPLICATION_LOG has no exception.
Method LOG_HAS_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_HAS_MESSAGE | Call by reference | Type reference (TYPE) | CHAR1 | Space: Keine 'X' : Sonst | 20000302 | |||
| 2 | EX_MAX_SEVERITY | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000314 | |||
| 3 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000302 |
Method LOG_HAS_MESSAGE on class CL_CGPL_APPLICATION_LOG has no exception.
Method MESSAGES_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000316 |
Method MESSAGES_DELETE on class CL_CGPL_APPLICATION_LOG has no exception.
Method MESSAGES_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | CGPL_BAL_T_MSG | Projektplanung Tabellentyp zu BAL_S_MSG | 20001220 | |||
| 2 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20001220 |
Method MESSAGES_GET on class CL_CGPL_APPLICATION_LOG has no exception.
Method MESSAGES_REFRESH Signature
Method MESSAGES_REFRESH on class CL_CGPL_APPLICATION_LOG has no parameter.
Method MESSAGES_REFRESH on class CL_CGPL_APPLICATION_LOG has no exception.
Method MESSAGE_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTEXT | Call by reference | Type reference (TYPE) | BAL_S_CONT | Anwendungs-Log: Kontext | 20020514 | |||
| 2 | IM_LOG_TYPE | Value transfer | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000316 | |||
| 3 | IM_MSGID | Value transfer | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 19991221 | |||
| 4 | IM_MSGNO | Value transfer | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 19991221 | |||
| 5 | IM_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 19991221 | |||
| 6 | IM_MSGV1 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 19991221 | |||
| 7 | IM_MSGV2 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 19991221 | |||
| 8 | IM_MSGV3 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 19991221 | |||
| 9 | IM_MSGV4 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 19991221 |
Method MESSAGE_ADD on class CL_CGPL_APPLICATION_LOG has no exception.
Method MESSAGE_ADD_EXTERNAL_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20000329 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log Typ nicht unterstützt | 20000329 |
Method MESSAGE_ADD_FREE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTEXT | Call by reference | Type reference (TYPE) | BAL_S_CONT | Anwendungs-Log: Kontext | 20020514 | |||
| 2 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000316 | |||
| 3 | IM_MSGTXT | Call by reference | Type reference (TYPE) | C | Meldungsdaten | 20000128 | |||
| 4 | IM_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Nachrichten, Nachrichtentyp | 20000128 | ||
| 5 | IM_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | '4' | Anwendungs-Log: Problemklasse einer Meldung | 20000128 |
Method MESSAGE_ADD_FREE_TEXT on class CL_CGPL_APPLICATION_LOG has no exception.
Method MSG_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_BAL_S_MSG | Call by reference | Type reference (TYPE) | BAL_S_MSG | Anwendungs-Log: Daten einer Meldung | 19991221 |
Method MSG_ADD on class CL_CGPL_APPLICATION_LOG has no exception.
Method MSG_ADD_FREE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CONTEXT | Call by reference | Type reference (TYPE) | BAL_S_CONT | Anwendungs-Log: Kontext | 20020514 | |||
| 2 | IM_MSGTXT | Call by reference | Type reference (TYPE) | C | Meldungsdaten | 20000128 | |||
| 3 | IM_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Nachrichten, Nachrichtentyp | 20000128 | ||
| 4 | IM_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | '4' | Anwendungs-Log: Problemklasse einer Meldung | 20000128 |
Method MSG_ADD_FREE_TEXT on class CL_CGPL_APPLICATION_LOG has no exception.
Method MSG_DELETE Signature
Method MSG_DELETE on class CL_CGPL_APPLICATION_LOG has no parameter.
Method MSG_DELETE on class CL_CGPL_APPLICATION_LOG has no exception.
Method MSG_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MESSAGES | Call by reference | Type reference (TYPE) | CGPL_BAL_T_MSG | Projektplanung Tabellentyp zu BAL_S_MSG | 20001220 |
Method MSG_GET on class CL_CGPL_APPLICATION_LOG has no exception.
Method MSG_REFRESH Signature
Method MSG_REFRESH on class CL_CGPL_APPLICATION_LOG has no parameter.
Method MSG_REFRESH on class CL_CGPL_APPLICATION_LOG has no exception.
Method OBJECT_MESSAGE_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_APPLICATION | Call by reference | Type reference (TYPE) | CGPL_APPLICATION_TYPE | Applikation in der Projektplanung | 20050316 | |||
| 2 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20041116 | |||
| 3 | IM_HIERARCHY_NODE | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20041116 | |||
| 4 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20041116 | |||
| 5 | IM_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichtenklasse | 20041116 | |||
| 6 | IM_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20041116 | |||
| 7 | IM_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20041116 | |||
| 8 | IM_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20041116 | |||
| 9 | IM_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20041116 | |||
| 10 | IM_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20041116 | |||
| 11 | IM_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20041116 |
Method OBJECT_MESSAGE_ADD on class CL_CGPL_APPLICATION_LOG has no exception.
Method SET_LOG_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20000217 | |||
| 2 | IM_LOG_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20000217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log Typ nicht unterstützt | 20000217 |
Method SET_MSGID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 20000308 | |||
| 2 | IV_APPLICATION | Call by reference | Type reference (TYPE) | CGPL_APPLICATION_TYPE | Projektplanung - Applikationen | 20041116 |
Method SET_MSGID on class CL_CGPL_APPLICATION_LOG has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 12A |