SAP ABAP Class /IWFND/CL_LOG_WRITER (Log Writer - Direct Write Access to the Application log)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷ OPU-FND-CS (Application Component) IWF Common Services
⤷ /IWFND/COS_SUPPORTABILITY (Package) GW Framework - Supportability Components
⤷ OPU-FND-CS (Application Component) IWF Common Services
⤷ /IWFND/COS_SUPPORTABILITY (Package) GW Framework - Supportability Components
Properties
Class | /IWFND/CL_LOG_WRITER | |
Short Description | Log Writer - Direct Write Access to the Application log | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /IWFND/COS_SUPPORTABILITY | GW Framework - Supportability Components |
Created | 20120207 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWFND/CL_LOG_WRITER has no interface implemented.
Friends
Class /IWFND/CL_LOG_WRITER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_MSG | Constant | Private | Type reference (TYPE) | BALPAR | 'MSG' | Application Log: Parameters | 20120207 | |
2 | GO_LOGGER | Static Attribute | Private | Object reference (TYPE REF TO) | /IWFND/CL_LOG_WRITER | Logger - Not singleton - only for certain use cases | 20120207 | ||
3 | MS_CONTEXT_HEADER | Instance attribute | Private | Type reference (TYPE) | /IWFND/S_LOGGER_CONTEXT_HEAD | '/IWFND/S_LOGGER_CONTEXT_HEAD' | GW: Context of the Log Header | 20120207 | |
4 | MS_LOG_HEADER | Instance attribute | Private | Type reference (TYPE) | BAL_S_LOG | Application Log: Log header data | 20120207 | ||
5 | MV_LOG_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120207 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLOSE_LOGGER | Instance method | Public | Method | Closes Logging of a Request Processing(write the Logs to db) | 20120207 |
2 | DETERMINE_PROBCLASS | Instance method | Private | Method | Determines the Problem Class of the Message | 20120207 |
3 | FILL_MSG_EXTD_LONG_TEXT | Instance method | Private | Method | Fills the Text of a Message (exception) into BAL-Parameters | 20120207 |
4 | GET_LOGGER | Static method | Public | Method | Retrieve the Singleton Logger Instance | 20120207 |
5 | INIT_LOGGER | Instance method | Public | Method | Initialize the Singleton Logger Instance | 20120207 |
6 | LOG_MESSAGE | Instance method | Public | Method | Log Simple Message (Only for Message Container) | 20120207 |
Events
Class /IWFND/CL_LOG_WRITER has no event.
Types
Class /IWFND/CL_LOG_WRITER has no local type.
Method Signatures
Method CLOSE_LOGGER Signature
Method CLOSE_LOGGER on class /IWFND/CL_LOG_WRITER has no parameter.
Method CLOSE_LOGGER on class /IWFND/CL_LOG_WRITER has no exception.
Method DETERMINE_PROBCLASS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120207 | ||
2 | Importing | IV_PROBLEM_CLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Application log: Message problem class | 20120207 | ||
3 | Returning | RV_PROBLEM_CLASS | Value transfer | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Application log: Message problem class | 20120207 |
Method DETERMINE_PROBCLASS on class /IWFND/CL_LOG_WRITER has no exception.
Method FILL_MSG_EXTD_LONG_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EXT_KEY | Call by reference | Type reference (TYPE) | STRING | SCL extended message text | 20120207 | ||
2 | Importing | IV_KEY_VALUE | Call by reference | Type reference (TYPE) | /IWFND/COR_ID_VALUE | Identifier - Key Value | 20120207 | ||
3 | Changing | IV_MSG | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20120207 | ||
4 | Importing | IV_PARNAME | Call by reference | Type reference (TYPE) | BALPAR | Application log: Parameters | 20120207 | ||
5 | Importing | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message text | 20120207 |
Method FILL_MSG_EXTD_LONG_TEXT on class /IWFND/CL_LOG_WRITER has no exception.
Method GET_LOGGER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_SECOND_INSTANCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Boolean variable | 20120207 | ||
2 | Returning | RO_LOGGER | Value transfer | Object reference (TYPE REF TO) | /IWFND/CL_LOG_WRITER | Logger instance | 20120207 |
Method GET_LOGGER on class /IWFND/CL_LOG_WRITER has no exception.
Method INIT_LOGGER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_NAMESPACE | Call by reference | Type reference (TYPE) | CSEQUENCE | Namespace | 20120207 | ||
2 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Object name | 20120207 | ||
3 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | CHAR10 | Operation of the Request | 20120207 | ||
4 | Importing | IV_REQUESTGUID | Call by reference | Type reference (TYPE) | STRING | Request GUID | 20120207 | ||
5 | Importing | IV_REQUEST_DIRECTION | Call by reference | Type reference (TYPE) | /IWFND/SUP_REQ_DIR | Direction of the Request (GW2IWF, IWF2GW, BE2IWF) | 20120207 | ||
6 | Importing | IV_SERVICE_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | External Service Document Name | 20120207 | ||
7 | Importing | IV_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWFND/MED_MDL_VERSION | Service Version | 20120207 | ||
8 | Importing | IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Subobject | 20120207 | ||
9 | Importing | IV_USERID | Call by reference | Type reference (TYPE) | UNAME | User Name | 20120207 | ||
10 | Returning | RO_LOGGER | Value transfer | Object reference (TYPE REF TO) | /IWFND/CL_LOGGER | Logger instance | 20120207 |
Method INIT_LOGGER on class /IWFND/CL_LOG_WRITER has no exception.
Method LOG_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20120207 | ||
2 | Importing | IV_AGENT | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | IW Agent | 20120207 | ||
3 | Importing | IV_LOG_MSG_TEXT | Call by reference | Type reference (TYPE) | BOOLEAN | Indicates that the message is from a different backend | 20120207 | ||
4 | Importing | IV_MSG_TEXT | Call by reference | Type reference (TYPE) | /IWFND/SUP_MSG_LONGTEXT | Free text | 20120207 | ||
5 | Importing | IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120207 | ||
6 | Importing | IV_PROBLEM_CLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Application log: Message problem class | 20120207 | ||
7 | Importing | IV_SYSTEM_ALIAS | Call by reference | Type reference (TYPE) | /IWFND/DEFI_SYSTEM_ALIAS | System Alias | 20120207 |
Method LOG_MESSAGE on class /IWFND/CL_LOG_WRITER has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 250 |