SAP ABAP Class CL_BNK_UTIL_LOG (Utility class for logging)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
FIN-FSCM (Application Component) Financial Supply Chain Management
⤷
FIN_BNK_COM_UTIL (Package) Bank Communication: Utilities and tools

⤷

⤷

Properties
Class | CL_BNK_UTIL_LOG | |
Short Description | Utility class for logging | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | FIN_BNK_COM_UTIL | Bank Communication: Utilities and tools |
Created | 20060705 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_BNK_UTIL_LOG has no forward declaration.
Interfaces
Class CL_BNK_UTIL_LOG has no interface implemented.
Friends
Class CL_BNK_UTIL_LOG has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_BATCH_IDENTIFIER | 20060705 | |||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_STR_BATCH_HEADER | Structure for Batch Header | 20060705 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_TAB_BATCH_ITEM | Table type for Batch Payment Item | 20060705 | ||
4 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CX_BNK_EXCEPTION | SUper class for exceptions | 20060705 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20061025 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_TYP_ACTIVE | 20060705 | |||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | XFELD | Checkbox | 20060705 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20060705 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20060705 | |||
10 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_BNK_UTIL_LOG | Utility class for logging | 20060705 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_TAB_LOG_LYR | Table type for log layer | 20060705 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_TAB_LOG_LYR | Table type for log layer | 20060705 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BNK_TAB_LOG_MESSAGES | Log messages | 20060705 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Adds message to the log | 20060707 |
2 | ![]() |
Instance method | Public | Method | closes the log | 20060706 |
3 | ![]() |
Instance method | Public | Method | disable logging functionality | 20060707 |
4 | ![]() |
Instance method | Public | Method | finds the required log | 20060705 |
5 | ![]() |
Instance method | Private | Method | Gets the log handle | 20060705 |
6 | ![]() |
Instance method | Private | Method | Gets the layer info | 20060705 |
7 | ![]() |
Instance method | Public | Method | Gets the messages | 20060707 |
8 | ![]() |
Instance method | Public | Method | opens the log | 20060705 |
9 | ![]() |
Static method | Public | Method | Fills the return code | 20060801 |
10 | ![]() |
Instance method | Private | Method | Saves the log | 20060706 |
11 | ![]() |
Static method | Public | Method | Static instance for the log class | 20060705 |
Events
Class CL_BNK_UTIL_LOG has no event.
Types
Class CL_BNK_UTIL_LOG has no local type.
Method Signatures
Method ADD_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DETAIL_LEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | ' ' | Application Log: Level of detail | 20060707 | |
2 | ![]() |
I_MESSAGE | Call by reference | Type reference (TYPE) | BNK_STR_LOG_MESSAGE | Structure for log message | 20060707 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for logs | 20060707 |
Method CLOSE_LOG Signature
Method CLOSE_LOG on class CL_BNK_UTIL_LOG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for logs | 20060706 |
Method DISABLE_LOG Signature
Method DISABLE_LOG on class CL_BNK_UTIL_LOG has no parameter.
Method DISABLE_LOG on class CL_BNK_UTIL_LOG has no exception.
Method FIND_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_LOG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Log Handles | 20060705 | ||
2 | ![]() |
ET_MSG_HANDLE | Call by reference | Type reference (TYPE) | BAL_T_MSGH | Application Log: Message Handle Table | 20060705 | ||
3 | ![]() |
E_LOG_FOUND | Call by reference | Type reference (TYPE) | XFELD | 'X': Log(s) Found | 20060705 | ||
4 | ![]() |
I_EXTERNAL_NUMBER | Call by reference | Type reference (TYPE) | BALNREXT | External Identification | 20060705 | ||
5 | ![]() |
I_LAYER_NAME | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_NAME | Name of Layer | 20060705 | ||
6 | ![]() |
I_LAYER_TYPE | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_TYPE | Layer ID | 20060705 | ||
7 | ![]() |
I_LOG_DATE_HIGH | Call by reference | Type reference (TYPE) | BALDATE | Creation Date of Log (To) | 20060705 | ||
8 | ![]() |
I_LOG_DATE_LOW | Call by reference | Type reference (TYPE) | BALDATE | Creation Date of Log (From) | 20060705 | ||
9 | ![]() |
I_LOG_TIME_HIGH | Call by reference | Type reference (TYPE) | BALTIME | Creation Time of Log (To) | 20060705 | ||
10 | ![]() |
I_LOG_TIME_LOW | Call by reference | Type reference (TYPE) | BALTIME | Creation Time of Log (From) | 20060705 | ||
11 | ![]() |
I_TRANSACTION | Call by reference | Type reference (TYPE) | BALTCODE | Transaction Code | 20060705 | ||
12 | ![]() |
I_USER | Call by reference | Type reference (TYPE) | BALUSER | User | 20060705 |
Method FIND_LOG on class CL_BNK_UTIL_LOG has no exception.
Method GET_LOG_HANDLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20060705 | ||
2 | ![]() |
I_EXTERNAL_NUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20061003 | ||
3 | ![]() |
I_LOG_LAYER_NAME | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_NAME | Log layer description | 20060705 | ||
4 | ![]() |
I_LOG_LAYER_TYPE | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_TYPE | Log layer type | 20060705 | ||
5 | ![]() |
I_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20060705 |
Method GET_LOG_HANDLE on class CL_BNK_UTIL_LOG has no exception.
Method GET_LOG_LAYER_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_LOG_LAYER | Call by reference | Type reference (TYPE) | BNK_LOG_LYR | Log layer maintenance | 20060705 | ||
2 | ![]() |
I_LOG_LAYER_NAME | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_NAME | Log layer description | 20060705 | ||
3 | ![]() |
I_LOG_LAYER_TYPE | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_TYPE | Log layer type | 20060705 |
Method GET_LOG_LAYER_INFO on class CL_BNK_UTIL_LOG has no exception.
Method GET_MESSAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_LOG_MESSAGES | Call by reference | Type reference (TYPE) | BNK_TAB_LOG_MESSAGES | Log messages | 20060707 |
Method GET_MESSAGES on class CL_BNK_UTIL_LOG has no exception.
Method OPEN_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_BATCH_NO | Call by reference | Type reference (TYPE) | BNK_COM_BTCH_NO | Batch Identification Number | 20060705 | ||
2 | ![]() |
I_EXTERNAL_NUMBER | Call by reference | Type reference (TYPE) | BALNREXT | Application Log: External ID | 20061003 | ||
3 | ![]() |
I_ITEM_NO | Call by reference | Type reference (TYPE) | BNK_COM_BTCH_CTR | Item Counter | 20060705 | ||
4 | ![]() |
I_LOG_LAYER_NAME | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_NAME | Log layer description | 20060705 | ||
5 | ![]() |
I_LOG_LAYER_TYPE | Call by reference | Type reference (TYPE) | BNK_COM_LOG_LAYER_TYPE | Log layer type | 20060705 |
Method OPEN_LOG on class CL_BNK_UTIL_LOG has no exception.
Method RETURN_CODE_FILL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_TAB_RET | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20060801 | ||
2 | ![]() |
I_MSGID | Call by reference | Type reference (TYPE) | SY-MSGID | Message Class | 20060801 | ||
3 | ![]() |
I_MSGNO | Call by reference | Type reference (TYPE) | SY-MSGNO | Message Number | 20060801 | ||
4 | ![]() |
I_MSGTY | Call by reference | Type reference (TYPE) | SY-MSGTY | Message Type | 20060801 | ||
5 | ![]() |
I_MSGV1 | Call by reference | Type reference (TYPE) | SY-MSGV1 | Message Variable | 20060801 | ||
6 | ![]() |
I_MSGV2 | Call by reference | Type reference (TYPE) | SY-MSGV2 | Message Variable | 20060801 | ||
7 | ![]() |
I_MSGV3 | Call by reference | Type reference (TYPE) | SY-MSGV3 | Message Variable | 20060801 | ||
8 | ![]() |
I_MSGV4 | Call by reference | Type reference (TYPE) | SY-MSGV4 | Message Variable | 20060801 |
Method RETURN_CODE_FILL on class CL_BNK_UTIL_LOG has no exception.
Method SAVE_LOG Signature
Method SAVE_LOG on class CL_BNK_UTIL_LOG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for logs | 20060706 |
Method S_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SREF_BNK_UTIL_LOG | Call by reference | Object reference (TYPE REF TO) | CL_BNK_UTIL_LOG | Utility class for logging | 20060705 |
Method S_INSTANCE on class CL_BNK_UTIL_LOG has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 700 |