SAP ABAP Class CL_WCAT_APPLLOG (Service class for application log functionality)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-AB-CA (Application Component) Distribution
⤷
WCAT (Package) Trading: Cost Allocation

⤷

⤷

Properties
Class | CL_WCAT_APPLLOG | |
Short Description | Service class for application log functionality | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | WCAT | Trading: Cost Allocation |
Created | 20090213 | SAP |
Last change | 20100310 | 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_WCAT_APPLLOG has no interface implemented.
Friends
Class CL_WCAT_APPLLOG has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'RBPV' | Application Log: Subobject | 20090213 | |
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_LOGS | Table with application logs | 20090213 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_MSG | Message table | 20090213 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Error occured? | 20090213 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20090226 | ||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | Message text | 20090219 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090226 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Add message to application log | 20090213 |
2 | ![]() |
Instance method | Public | Method | Clear application log | 20090213 |
3 | ![]() |
Instance method | Protected | Constructor | 20090226 | |
4 | ![]() |
Static method | Public | Method | Get instance | 20090213 |
5 | ![]() |
Instance method | Public | Method | Has an error occured? | 20090213 |
6 | ![]() |
Instance method | Private | Method | Save messages to database and refresh log | 20090213 |
7 | ![]() |
Instance method | Public | Method | Save messages to database | 20090213 |
8 | ![]() |
Instance method | Public | Method | Set external number | 20090226 |
9 | ![]() |
Instance method | Public | Method | Set Subobject | 20090226 |
Events
Class CL_WCAT_APPLLOG has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | S_LOGS | Private | See coding | Application log structure | 20090213 | BEGIN OF s_logs,
id TYPE string,
appllog TYPE REF TO cl_wcat_appllog,
END OF s_logs
|
|
2 | S_MSG | Private | See coding | Message structure | 20090213 | BEGIN OF s_msg,
subobject TYPE balsubobj,
extnumber TYPE balnrext.
INCLUDE TYPE bal_s_msg AS msg.
TYPES END OF s_msg
|
|
3 | T_LOGS | Private | See coding | Table with application logs | 20090213 | t_logs TYPE HASHED TABLE OF s_logs WITH UNIQUE KEY id
|
|
4 | T_MSG | Private | See coding | Message table | 20090213 | t_msg TYPE STANDARD TABLE OF s_msg
|
Method Signatures
Method ADD_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_CONTEXT | Call by reference | Type reference (TYPE) | BAL_S_CONT | Application Log: Context | 20090213 | ||
2 | ![]() |
IS_PARAMS | Call by reference | Type reference (TYPE) | BAL_S_PARM | Application log: Parameters | 20090213 | ||
3 | ![]() |
IV_ALSORT | Call by reference | Type reference (TYPE) | BALSORT | Application log: Sort criterion/grouping | 20090213 | ||
4 | ![]() |
IV_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | Application Log: Level of detail | 20090213 | ||
5 | ![]() |
IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20090213 | ||
6 | ![]() |
IV_MSGID | Call by reference | Type reference (TYPE) | MSGID | Message Class | 20090213 | ||
7 | ![]() |
IV_MSGNO | Call by reference | Type reference (TYPE) | MSGNO | Message Number | 20090213 | ||
8 | ![]() |
IV_MSGTY | Call by reference | Type reference (TYPE) | MSGTY | Message Type | 20090213 | ||
9 | ![]() |
IV_MSGV1 | Call by reference | Type reference (TYPE) | MSGV1 | Message Variable | 20090213 | ||
10 | ![]() |
IV_MSGV1_SRC | Call by reference | Type reference (TYPE) | BALMSGVSRC | Application Log: Origin of a message variable | 20090213 | ||
11 | ![]() |
IV_MSGV2 | Call by reference | Type reference (TYPE) | MSGV2 | Message Variable | 20090213 | ||
12 | ![]() |
IV_MSGV2_SRC | Call by reference | Type reference (TYPE) | BALMSGVSRC | Application Log: Origin of a message variable | 20090213 | ||
13 | ![]() |
IV_MSGV3 | Call by reference | Type reference (TYPE) | MSGV3 | Message Variable | 20090213 | ||
14 | ![]() |
IV_MSGV3_SRC | Call by reference | Type reference (TYPE) | BALMSGVSRC | Application Log: Origin of a message variable | 20090213 | ||
15 | ![]() |
IV_MSGV4 | Call by reference | Type reference (TYPE) | MSGV4 | Message Variable | 20090213 | ||
16 | ![]() |
IV_MSGV4_SRC | Call by reference | Type reference (TYPE) | BALMSGVSRC | Application Log: Origin of a message variable | 20090213 | ||
17 | ![]() |
IV_MSG_COUNT | Call by reference | Type reference (TYPE) | BALCNTCUM | Application Log: Cumulated message count | 20090213 | ||
18 | ![]() |
IV_PROBCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Application log: Message problem class | 20090213 | ||
19 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090213 | ||
20 | ![]() |
IV_TIME_STMP | Call by reference | Type reference (TYPE) | BALTIMSTMP | Application Log: Message time stamp | 20090213 |
Method ADD_MESSAGE on class CL_WCAT_APPLLOG has no exception.
Method CLEAR Signature
Method CLEAR on class CL_WCAT_APPLLOG has no parameter.
Method CLEAR on class CL_WCAT_APPLLOG has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20090226 | ||
2 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090226 |
Method CONSTRUCTOR on class CL_WCAT_APPLLOG has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20090226 | ||
2 | ![]() |
IV_ID | Call by reference | Type reference (TYPE) | STRING | application log ID | 20090213 | ||
3 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20090226 | ||
4 | ![]() |
RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_WCAT_APPLLOG | Service class for application log functionality | 20090213 |
Method GET_INSTANCE on class CL_WCAT_APPLLOG has no exception.
Method HAS_ERROR_OCCURED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_ERROR | Value transfer | Type reference (TYPE) | ABAP_BOOL | Error occured? | 20090213 |
Method HAS_ERROR_OCCURED on class CL_WCAT_APPLLOG has no exception.
Method SAVE_DB_AND_REFRESH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20090213 |
Method SAVE_DB_AND_REFRESH on class CL_WCAT_APPLLOG has no exception.
Method SAVE_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_LOG_HANDLES | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20090213 |
Method SAVE_MESSAGES on class CL_WCAT_APPLLOG has no exception.
Method SET_EXTNUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXTNUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20090226 |
Method SET_EXTNUMBER on class CL_WCAT_APPLLOG has no exception.
Method SET_SUBOBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Subobject | 20090226 |
Method SET_SUBOBJECT on class CL_WCAT_APPLLOG has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 605 |