SAP ABAP Class CL_CCMS_APPLOG (CCMS Service Class for application log)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CCM-MON (Application Component) Monitoring
⤷
SMOI (Package) CCMS: Monitoring Architecture
⤷
⤷
Properties
| Class | CL_CCMS_APPLOG | |
| Short Description | CCMS Service Class for application log | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SMOI | CCMS: Monitoring Architecture |
| Created | 20110823 | SAP |
| Last change | 20140121 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_CCMS_APPLOG has no interface implemented.
Friends
Class CL_CCMS_APPLOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TS_INSTANCE | 20130305 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | BALLEVEL | Application Log: Level of detail | 20110823 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20130305 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | BALOGNR | Application log: log number | 20110823 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Message | 20110823 | |
| 2 | Static method | Public | Method | Add Selfmonitoring Message | 20130228 | |
| 3 | Instance method | Private | Constructor | CONSTRUCTOR | 20110823 | |
| 4 | Instance method | Private | Method | New log creation | 20130305 | |
| 5 | Instance method | Public | Method | Lowers the Level of Detail of a Log | 20110823 | |
| 6 | Static method | Public | Method | Get instance of a log | 20130305 | |
| 7 | Instance method | Public | Method | Increases the Level of Detail of a Log | 20110823 | |
| 8 | Instance method | Private | Method | Load existing log | 20130305 | |
| 9 | Instance method | Public | Method | Save log | 20110823 | |
| 10 | Instance method | Public | Method | Sets Level of Detail of a Log | 20110823 | |
| 11 | Instance method | Public | Method | Display Log | 20110823 |
Events
Class CL_CCMS_APPLOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_INSTANCE | Private | See coding | 20130305 | begin of s_instance,
s_key type s_inst_key,
o_instance type ref to cl_ccms_applog,
end of s_instance
|
||
| 2 | S_INST_KEY | Private | See coding | 20130305 | begin of s_inst_key,
subobject type balsubobj,
extnumber type balnrext,
end of s_inst_key
|
||
| 3 | TS_INSTANCE | Private | See coding | 20130305 | ts_instance type sorted table of s_instance
with non-unique key s_key
|
Method Signatures
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_MSG_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | Application Log: Level of Detail | 20110823 | |||
| 2 | IP_MSG_ID | Call by reference | Type reference (TYPE) | SYMSGID | 'SALERT' | Message Class | 20110823 | ||
| 3 | IP_MSG_NO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20110823 | |||
| 4 | IP_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | 'S' | Message Type | 20110823 | ||
| 5 | IP_MSG_V1 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20110823 | |||
| 6 | IP_MSG_V2 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20110823 | |||
| 7 | IP_MSG_V3 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20110823 | |||
| 8 | IP_MSG_V4 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20110823 | |||
| 9 | IP_PROBLEMCLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '4' | Problem class | 20110823 |
Method ADD_MESSAGE on class CL_CCMS_APPLOG has no exception.
Method ADD_SELFMON_MSG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_EXT_NO | Call by reference | Type reference (TYPE) | BALNREXT | External number | 20130305 | |||
| 2 | IP_MSG_ID | Call by reference | Type reference (TYPE) | SYMSGID | 'RT' | Message ID | 20130228 | ||
| 3 | IP_MSG_NO | Call by reference | Type reference (TYPE) | SYMSGNO | '100' | Message number | 20130228 | ||
| 4 | IP_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Message type (color) | 20130305 | ||
| 5 | IP_MSG_V1 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20130228 | |||
| 6 | IP_MSG_V2 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20130228 | |||
| 7 | IP_MSG_V3 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20130228 | |||
| 8 | IP_MSG_V4 | Call by reference | Type reference (TYPE) | CSEQUENCE | Message Variable | 20130228 | |||
| 9 | IP_PROBLEMCLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | '4' | Application log: Message problem class | 20130228 |
Method ADD_SELFMON_MSG on class CL_CCMS_APPLOG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_LOGNUMBER | Call by reference | Type reference (TYPE) | BALOGNR | Application log: log number | 20130305 | |||
| 2 | IS_KEY | Call by reference | Type reference (TYPE) | S_INST_KEY | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for log service | 20130305 |
Method CREATE_NEW_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_KEY | Call by reference | Type reference (TYPE) | S_INST_KEY | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for log service | 20130305 |
Method DECREASE_DETAIL_LEVEL Signature
Method DECREASE_DETAIL_LEVEL on class CL_CCMS_APPLOG has no parameter.
Method DECREASE_DETAIL_LEVEL on class CL_CCMS_APPLOG has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_REUSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Reuse existing instances with the same key | 20130305 | |||
| 2 | IP_EXT_NO | Call by reference | Type reference (TYPE) | BALNREXT | 20130305 | ||||
| 3 | IP_LOGNUMBER | Call by reference | Type reference (TYPE) | BALOGNR | Reload log from DB | 20130305 | |||
| 4 | IP_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | 20130305 | ||||
| 5 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_CCMS_APPLOG | CCMS Service Class for application log | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for log service | 20130305 |
Method INCREASE_DETAIL_LEVEL Signature
Method INCREASE_DETAIL_LEVEL on class CL_CCMS_APPLOG has no parameter.
Method INCREASE_DETAIL_LEVEL on class CL_CCMS_APPLOG has no exception.
Method LOAD_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_LOGNUMBER | Call by reference | Type reference (TYPE) | BALOGNR | Application log: log number | 20130305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for log service | 20130305 |
Method SAVE_LOG Signature
Method SAVE_LOG on class CL_CCMS_APPLOG has no parameter.
Method SAVE_LOG on class CL_CCMS_APPLOG has no exception.
Method SET_DETAIL_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | Application Log: Level of Detail | 20110823 |
Method SET_DETAIL_LEVEL on class CL_CCMS_APPLOG has no exception.
Method SHOW_LOG Signature
Method SHOW_LOG on class CL_CCMS_APPLOG has no parameter.
Method SHOW_LOG on class CL_CCMS_APPLOG has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 732 |