SAP ABAP Class CL_SEA_SEW_LOG_HELPER (Used to create log handles and log messages)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-SEW (Application Component) Service Extension Workbench
⤷
SEA_SEW_CORE (Package) Core component of SEW
⤷
⤷
Properties
| Class | CL_SEA_SEW_LOG_HELPER | |
| Short Description | Used to create log handles and log messages | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEA_SEW_CORE | Core component of SEW |
| Created | 20100519 | SAP |
| Last change | 20110908 | 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_SEA_SEW_LOG_HELPER has no interface implemented.
Friends
Class CL_SEA_SEW_LOG_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'SEA_SEW' | 20100519 | |||
| 2 | Constant | Public | Type reference (TYPE) | SY-MSGID | 'CL_SEA_MESSAGES' | 20100519 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Creates a new log handle | 20100519 | |
| 2 | Static method | Private | Method | Logs a message | 20100519 | |
| 3 | Static method | Public | Method | Logs an error message | 20100519 | |
| 4 | Static method | Public | Method | Logs an error description as an error message | 20101020 | |
| 5 | Static method | Public | Method | Reads the description of the exception and logs it as error | 20100520 | |
| 6 | Static method | Public | Method | Logs an info message | 20100519 | |
| 7 | Static method | Public | Method | Logs BAL message | 20101014 | |
| 8 | Static method | Public | Method | Logs a status message | 20100519 | |
| 9 | Static method | Public | Method | Logs a termination message | 20100519 | |
| 10 | Static method | Public | Method | Logs a warning message | 20100519 |
Events
Class CL_SEA_SEW_LOG_HELPER has no event.
Types
Class CL_SEA_SEW_LOG_HELPER has no local type.
Method Signatures
Method GET_LOG_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOG_SUBOBJECT | Call by reference | Type reference (TYPE) | SEA_SEW_LOG_SUBOBJECT | Log subobject | 20100519 | |||
| 2 | RV_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | A new log handle | 20100519 |
Method GET_LOG_HANDLE on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 | |||
| 7 | IV_PROBLCLASS | Call by reference | Type reference (TYPE) | BALPROBCL | Problem class- 1 - very important, 2 - impotant, etc. | 20100519 | |||
| 8 | IV_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Type of the message - status, warning, error, etc. | 20100519 |
Method LOG_ENTRY on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 |
Method LOG_ERROR on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_ERROR_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ERROR_DESC | Call by reference | Type reference (TYPE) | STRING | 20101020 | ||||
| 2 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20101020 | |||
| 3 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Message Number | 20101020 |
Method LOG_ERROR_DESC on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20100520 | |||
| 2 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100520 | |||
| 3 | IV_METHOD_NAME | Call by reference | Type reference (TYPE) | STRING | Method where the exception is caught-'classname->methodname' | 20100520 |
Method LOG_EXCEPTION on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 |
Method LOG_INFO on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_BAL_MSG | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20101014 | |||
| 2 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20101014 |
Method LOG_MESSAGE on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 |
Method LOG_STATUS on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_TERMINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 |
Method LOG_TERMINATION on class CL_SEA_SEW_LOG_HELPER has no exception.
Method LOG_WARNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARG1 | Call by reference | Type reference (TYPE) | STRING | First argument of the message | 20100519 | |||
| 2 | IV_ARG2 | Call by reference | Type reference (TYPE) | STRING | Second argument of the message | 20100519 | |||
| 3 | IV_ARG3 | Call by reference | Type reference (TYPE) | STRING | Third argument of the message | 20100519 | |||
| 4 | IV_ARG4 | Call by reference | Type reference (TYPE) | STRING | Fourth argument of the message | 20100519 | |||
| 5 | IV_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Log handle | 20100519 | |||
| 6 | IV_MSG_NUM | Call by reference | Type reference (TYPE) | SY-MSGNO | Number of the message in message class CL_SEA_MESSAGES | 20100519 |
Method LOG_WARNING on class CL_SEA_SEW_LOG_HELPER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |