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

⤷

⤷

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 | ![]() |
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 | ![]() |
Constant | Private | Type reference (TYPE) | BALPAR | 'MSG' | Application Log: Parameters | 20120207 | |
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | /IWFND/CL_LOG_WRITER | Logger - Not singleton - only for certain use cases | 20120207 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /IWFND/S_LOGGER_CONTEXT_HEAD | '/IWFND/S_LOGGER_CONTEXT_HEAD' | GW: Context of the Log Header | 20120207 | |
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BAL_S_LOG | Application Log: Log header data | 20120207 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120207 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Closes Logging of a Request Processing(write the Logs to db) | 20120207 |
2 | ![]() |
Instance method | Private | Method | Determines the Problem Class of the Message | 20120207 |
3 | ![]() |
Instance method | Private | Method | Fills the Text of a Message (exception) into BAL-Parameters | 20120207 |
4 | ![]() |
Static method | Public | Method | Retrieve the Singleton Logger Instance | 20120207 |
5 | ![]() |
Instance method | Public | Method | Initialize the Singleton Logger Instance | 20120207 |
6 | ![]() |
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 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120207 | ||
2 | ![]() |
IV_PROBLEM_CLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Application log: Message problem class | 20120207 | ||
3 | ![]() |
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 | ![]() |
IV_EXT_KEY | Call by reference | Type reference (TYPE) | STRING | SCL extended message text | 20120207 | ||
2 | ![]() |
IV_KEY_VALUE | Call by reference | Type reference (TYPE) | /IWFND/COR_ID_VALUE | Identifier - Key Value | 20120207 | ||
3 | ![]() |
IV_MSG | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20120207 | ||
4 | ![]() |
IV_PARNAME | Call by reference | Type reference (TYPE) | BALPAR | Application log: Parameters | 20120207 | ||
5 | ![]() |
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 | ![]() |
IV_SECOND_INSTANCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Boolean variable | 20120207 | ||
2 | ![]() |
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 | ![]() |
IV_NAMESPACE | Call by reference | Type reference (TYPE) | CSEQUENCE | Namespace | 20120207 | ||
2 | ![]() |
IV_OBJECT | Call by reference | Type reference (TYPE) | BALOBJ_D | Object name | 20120207 | ||
3 | ![]() |
IV_OPERATION | Call by reference | Type reference (TYPE) | CHAR10 | Operation of the Request | 20120207 | ||
4 | ![]() |
IV_REQUESTGUID | Call by reference | Type reference (TYPE) | STRING | Request GUID | 20120207 | ||
5 | ![]() |
IV_REQUEST_DIRECTION | Call by reference | Type reference (TYPE) | /IWFND/SUP_REQ_DIR | Direction of the Request (GW2IWF, IWF2GW, BE2IWF) | 20120207 | ||
6 | ![]() |
IV_SERVICE_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | External Service Document Name | 20120207 | ||
7 | ![]() |
IV_SERVICE_VERSION | Call by reference | Type reference (TYPE) | /IWFND/MED_MDL_VERSION | Service Version | 20120207 | ||
8 | ![]() |
IV_SUBOBJECT | Call by reference | Type reference (TYPE) | BALSUBOBJ | Subobject | 20120207 | ||
9 | ![]() |
IV_USERID | Call by reference | Type reference (TYPE) | UNAME | User Name | 20120207 | ||
10 | ![]() |
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 | ![]() |
IS_OBJECT_KEY | Call by reference | Type reference (TYPE) | /IWFND/S_COR_ID | ID of the object whose proccessing caused the errors | 20120207 | ||
2 | ![]() |
IV_AGENT | Call by reference | Type reference (TYPE) | /IWFND/SUP_IW_AGENT | IW Agent | 20120207 | ||
3 | ![]() |
IV_LOG_MSG_TEXT | Call by reference | Type reference (TYPE) | BOOLEAN | Indicates that the message is from a different backend | 20120207 | ||
4 | ![]() |
IV_MSG_TEXT | Call by reference | Type reference (TYPE) | /IWFND/SUP_MSG_LONGTEXT | Free text | 20120207 | ||
5 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20120207 | ||
6 | ![]() |
IV_PROBLEM_CLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Application log: Message problem class | 20120207 | ||
7 | ![]() |
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 |