SAP ABAP Class /AIN/CL_APP_LOG (AIN Application log)
Hierarchy
☛
AIN (Software Component) AIN 710: Add-On Installation
⤷
AIE-AII (Application Component) Infrastructure
⤷
/AIN/DM (Package) Auto-ID Data Management
⤷
⤷
Properties
| Class | /AIN/CL_APP_LOG | |
| Short Description | AIN Application log | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | /AIN/DM | Auto-ID Data Management |
| Created | 20040427 | SAP |
| Last change | 20141109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /AIN/CL_APP_LOG has no forward declaration.
Interfaces
Class /AIN/CL_APP_LOG has no interface implemented.
Friends
Class /AIN/CL_APP_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | BALOBJ_D | '/AIN/' | Application log: Object name (Application code) | 20040427 | ||
| 2 | Constant | Protected | Type reference (TYPE) | BALSUBOBJ | 'MESSAGEPROC' | Application Log: Subobject | 20040427 | ||
| 3 | Constant | Protected | Type reference (TYPE) | BOOLE_D | 'X' | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20040427 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | TTY_CCMS_BUF | store ccms attribute for each message | 20070213 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | BALCNTCUM | Application Log: Cumulated message count | 20070213 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20070213 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20040427 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | BALLEVEL | Application Log: Level of detail | 20040427 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | /AIN/DM_LOG_LEVEL | Application log level | 20050512 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | /AIN/DM_MSG_TYPE_ID | Message Type ID | 20050923 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | BOOLE_D | Save log entries | 20051027 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | STRING | 20060707 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add message to log | 20040427 | |
| 2 | Instance method | Public | Method | Add message to CCMS | 20040910 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20040427 | |
| 4 | Static method | Public | Method | Create application log for AIN | 20040427 | |
| 5 | Instance method | Public | Method | Get log from memory for current log handle | 20040930 | |
| 6 | Instance method | Public | Method | Get current log header | 20050512 | |
| 7 | Instance method | Public | Method | Add message/last MESSAGE/bapirettab to log (with context) | 20060707 | |
| 8 | Instance method | Public | Method | Save log to the database and refresh global appl. log table | 20040427 | |
| 9 | Instance method | Public | Method | Change current log header | 20050512 |
Events
Class /AIN/CL_APP_LOG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | STY_CCMS_BUF | Private | See coding | 20070213 | BEGIN OF sty_ccms_buf,
msg_count TYPE balcntcum,
attribute TYPE almtcusgen-mtnameshrt,
END OF sty_ccms_buf
|
||
| 2 | TTY_CCMS_BUF | Private | See coding | 20070213 | TTY_CCMS_BUF type sorted table of sty_ccms_buf
with non-unique key msg_count
|
Method Signatures
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CCMS_ATTRIBUTE | Call by reference | Type reference (TYPE) | ALMTCUSGEN-MTNAMESHRT | Alert: Short Name of Monitoring Type | 20070214 | |||
| 2 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20040427 | ||||
| 3 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20040427 | ||||
| 4 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20040427 | ||||
| 5 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20040427 | ||||
| 6 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20040427 | ||||
| 7 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20040427 | ||||
| 8 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20040427 | ||||
| 9 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20040823 | |||
| 10 | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | 20040427 |
Method ADD_MESSAGE on class /AIN/CL_APP_LOG has no exception.
Method ADD_MESSAGE_CCMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ALWAYS_LOG_CCMS | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20070214 | |||
| 2 | I_CCMS_ATTRIBUTE | Call by reference | Type reference (TYPE) | ALMTCUSGEN-MTNAMESHRT | Alert: Short Name of Monitoring Type | 20070214 | |||
| 3 | I_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20040910 | ||||
| 4 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20040910 | ||||
| 5 | I_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20040910 | ||||
| 6 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20040910 | ||||
| 7 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20040910 | ||||
| 8 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20040910 | ||||
| 9 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20040910 | ||||
| 10 | I_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20040910 | |||
| 11 | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | 20040910 |
Method ADD_MESSAGE_CCMS on class /AIN/CL_APP_LOG has no exception.
Method CONSTRUCTOR 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 | Application Log: External ID | 20040427 | |||
| 2 | I_MSG_TYPE_ID | Call by reference | Type reference (TYPE) | /AIN/DM_MSG_TYPE_ID | Message Type ID | 20050519 | |||
| 3 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ | Application log: objects | 20060707 | |||
| 4 | I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20040427 |
Method CONSTRUCTOR on class /AIN/CL_APP_LOG has no exception.
Method CREATE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_APP_LOG | Value transfer | Object reference (TYPE REF TO) | /AIN/CL_APP_LOG | AIN Application log | 20040427 | |||
| 2 | I_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20040519 | |||
| 3 | I_MSG_TYPE_ID | Call by reference | Type reference (TYPE) | /AIN/DM_MSG_TYPE_ID | Message Type ID | 20050519 | |||
| 4 | I_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ | Application log: objects | 20060707 | |||
| 5 | I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20040623 |
Method CREATE_LOG on class /AIN/CL_APP_LOG has no exception.
Method GET_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG_DATA | Call by reference | Type reference (TYPE) | /AIN/DM_T_BAL_S_MSG | Table type for Application Log Message Data | 20040930 |
Method GET_LOG on class /AIN/CL_APP_LOG has no exception.
Method GET_LOG_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_LOG_HEADER | Call by reference | Type reference (TYPE) | BAL_S_LOG | Application Log: Log header data | 20050512 |
Method GET_LOG_HEADER on class /AIN/CL_APP_LOG has no exception.
Method LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAPIRETTAB | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20060707 | |||
| 2 | IV_CCMS_ATTRIBUTE | Call by reference | Type reference (TYPE) | ALMTCUSGEN-MTNAMESHRT | Alert: Short Name of Monitoring Type | 20070214 | |||
| 3 | IV_CONTEXT_TYPE | Call by reference | Type reference (TYPE) | BALTABNAME | Application Log: Context: DDIC structure name | 20060707 | |||
| 4 | IV_CONTEXT_VALUE | Call by reference | Type reference (TYPE) | DATA | Original type BALCVAL = CHAR256 | 20060707 | |||
| 5 | IV_GROUPING_SORTING | Call by reference | Type reference (TYPE) | BALSORT | Application log: Sort criterion/grouping | 20060707 | |||
| 6 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20060707 | |||
| 7 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20060707 | |||
| 8 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060707 | |||
| 9 | IV_MSGV1 | Call by reference | Type reference (TYPE) | DATA | 20060707 | ||||
| 10 | IV_MSGV2 | Call by reference | Type reference (TYPE) | DATA | 20060707 | ||||
| 11 | IV_MSGV3 | Call by reference | Type reference (TYPE) | DATA | 20060707 | ||||
| 12 | IV_MSGV4 | Call by reference | Type reference (TYPE) | DATA | 20060707 | ||||
| 13 | IV_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20060707 | |||
| 14 | RT_BAPIRETTAB | Value transfer | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20060714 |
Method LOG on class /AIN/CL_APP_LOG has no exception.
Method SAVE_LOG Signature
Method SAVE_LOG on class /AIN/CL_APP_LOG has no parameter.
Method SAVE_LOG on class /AIN/CL_APP_LOG has no exception.
Method SET_LOG_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOG_HEADER | Call by reference | Type reference (TYPE) | BAL_S_LOG | Application Log: Log header data | 20050512 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20050512 |
Method SET_LOG_HEADER on class /AIN/CL_APP_LOG has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 200 |