SAP ABAP Class CL_LAW2_APPL_LOG (LAW Application Log)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM3 (Package) License Administration Workbench 2.0
⤷
⤷
Properties
| Class | CL_LAW2_APPL_LOG | |
| Short Description | LAW Application Log | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLIM3 | License Administration Workbench 2.0 |
| Created | 20110419 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LAW2_APPL_LOG has no forward declaration.
Interfaces
Class CL_LAW2_APPL_LOG has no interface implemented.
Friends
Class CL_LAW2_APPL_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_LAW2_APPL_LOG | LAW Application Log | 20110419 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | SPACE | falsch (= ' ') | 20110419 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | 'A' | Message Type Abort | 20110419 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | 'E' | Message Type Error | 20110419 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | 'I' | Message Type Information | 20110419 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | 'S' | Message Type Success | 20110419 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | 'W' | Message Type Warning | 20110419 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | 'X' | wahr (= 'X') | 20110419 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110419 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | XFELD | Save protocol to the application log ? | 20110503 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20110419 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add a message to the application log protocol | 20110419 | |
| 2 | Instance method | Private | Constructor | 20110419 | ||
| 3 | Instance method | Public | Method | Delete the messages from the protocol buffer table | 20110420 | |
| 4 | Instance method | Private | Method | Determine Severity | 20110419 | |
| 5 | Static method | Public | Method | Get a protocol instance | 20110419 | |
| 6 | Instance method | Public | Method | Get the Message Protocol | 20110419 | |
| 7 | Instance method | Public | Method | Get the Message Protocol | 20110902 | |
| 8 | Instance method | Public | Method | Get the Message Protocol | 20120430 | |
| 9 | Instance method | Public | Method | Get the 'highest' severity of the existing messages | 20110419 | |
| 10 | Instance method | Public | Method | Remove message duplicates from the protocol table | 20121227 | |
| 11 | Instance method | Public | Method | Save the protocol to the application log | 20110419 | |
| 12 | Static method | Public | Method | Save the given message directly to the application log | 20110718 |
Events
Class CL_LAW2_APPL_LOG has no event.
Types
Class CL_LAW2_APPL_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 | IV_FIELD | Call by reference | Type reference (TYPE) | BAPI_FLD | 20110419 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | BAPI_MSG | 20110419 | ||||
| 3 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 20110419 | ||||
| 4 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | 20110419 | ||||
| 5 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 20110419 | ||||
| 6 | IV_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | 20110419 | ||||
| 7 | IV_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | 20110419 | ||||
| 8 | IV_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | 20110419 | ||||
| 9 | IV_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | 20110419 | ||||
| 10 | IV_PARAM | Call by reference | Type reference (TYPE) | BAPI_PARAM | 20110419 | ||||
| 11 | IV_ROW | Call by reference | Type reference (TYPE) | BAPI_LINE | 20110419 |
Method ADD_MESSAGE on class CL_LAW2_APPL_LOG has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LAW2_APPL_LOG has no parameter.
Method CONSTRUCTOR on class CL_LAW2_APPL_LOG has no exception.
Method DELETE_PROTOCOL Signature
Method DELETE_PROTOCOL on class CL_LAW2_APPL_LOG has no parameter.
Method DELETE_PROTOCOL on class CL_LAW2_APPL_LOG has no exception.
Method DETERMINE_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SEVERITY | Value transfer | Type reference (TYPE) | BAPI_MTYPE | Message Type: S Success, E Error, W Warning, I Info, A Abort | 20110419 | |||
| 2 | IP_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20110419 | |||
| 3 | IS_MSG | Call by reference | Type reference (TYPE) | BAPIRET2 | 20110419 | ||||
| 4 | IT_PROT | Call by reference | Type reference (TYPE) | BAPIRETTAB | 20110419 |
Method DETERMINE_SEVERITY on class CL_LAW2_APPL_LOG has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_LOG | Value transfer | Object reference (TYPE REF TO) | CL_LAW2_APPL_LOG | LAW Application Log | 20110419 |
Method GET_INSTANCE on class CL_LAW2_APPL_LOG has no exception.
Method GET_PROTOCOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_PROTOCOL | Value transfer | Type reference (TYPE) | BAPIRETTAB | Message Protocol | 20110419 |
Method GET_PROTOCOL on class CL_LAW2_APPL_LOG has no exception.
Method GET_PROTOCOL_WD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLEAR_PROTOCOL | Call by reference | Type reference (TYPE) | XFELD | 'X' | Clear the protocol | 20110902 | ||
| 2 | RT_WD_PROTOCOL | Value transfer | Type reference (TYPE) | LAW2_T_WD_MESSAGE | Message Protocol | 20110902 |
Method GET_PROTOCOL_WD on class CL_LAW2_APPL_LOG has no exception.
Method GET_PROTOCOL_WD_2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLEAR_PROTOCOL | Call by reference | Type reference (TYPE) | XFELD | 'X' | Clear the protocol | 20120430 | ||
| 2 | RT_PROTOCOL | Value transfer | Type reference (TYPE) | BAPIRETTAB | Message Protocol | 20120430 |
Method GET_PROTOCOL_WD_2 on class CL_LAW2_APPL_LOG has no exception.
Method GET_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SEVERITY | Value transfer | Type reference (TYPE) | BAPI_MTYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | 20110419 |
Method GET_SEVERITY on class CL_LAW2_APPL_LOG has no exception.
Method REMOVE_MESSAGE_DUPLICATES Signature
Method REMOVE_MESSAGE_DUPLICATES on class CL_LAW2_APPL_LOG has no parameter.
Method REMOVE_MESSAGE_DUPLICATES on class CL_LAW2_APPL_LOG has no exception.
Method SAVE_APPL_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BALOBJ | Call by reference | Type reference (TYPE) | BALOBJ_D | 'SLAW2' | Application log: Object name (Application code) | 20110419 | ||
| 2 | IV_BALSUBOBJ | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20110419 |
Method SAVE_APPL_LOG on class CL_LAW2_APPL_LOG has no exception.
Method SAVE_MESSAGE_TO_LOG Signature
Method SAVE_MESSAGE_TO_LOG on class CL_LAW2_APPL_LOG has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |