SAP ABAP Class CL_CMM_LOG (Commodity Management: Message log)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-CMM (Application Component) Commodity Management in Logistics
⤷
LOG_CMM_ERROR_HANDLING (Package) Error Handling in CMM
⤷
⤷
Properties
| Class | CL_CMM_LOG | |
| Short Description | Commodity Management: Message log | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | LOG_CMM_ERROR_HANDLING | Error Handling in CMM |
| Created | 20120905 | SAP |
| Last change | 20130531 | 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_CMM_LOG has no interface implemented.
Friends
Class CL_CMM_LOG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_CMM_BAL | Commodity Management: Interface for Business Application Log | 20121203 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | CMM_T_MSG | Commodity Management: Messages | 20120905 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20120912 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Exceptions to Log | 20120905 | |
| 2 | Instance method | Public | Method | Add Log to Log | 20120905 | |
| 3 | Instance method | Public | Method | Include Messages in Log | 20120905 | |
| 4 | Instance method | Public | Method | Add message from system message | 20120905 | |
| 5 | Instance method | Public | Method | Clear the Messages Table | 20120906 | |
| 6 | Instance method | Public | Method | Clone me | 20130610 | |
| 7 | Instance method | Public | Constructor | CONSTRUCTOR | 20121203 | |
| 8 | Instance method | Public | Method | Delete message for item and source | 20121127 | |
| 9 | Instance method | Public | Method | Delete message for source | 20120905 | |
| 10 | Static method | Private | Method | Determines Severity of Messages | 20120905 | |
| 11 | Instance method | Public | Method | Get Business Application Log Object | 20121203 | |
| 12 | Static method | Public | Method | Get key from CMM idx | 20120905 | |
| 13 | Instance method | Public | Method | Get messages | 20120905 | |
| 14 | Instance method | Public | Method | Get Severity of Messages | 20130221 | |
| 15 | Instance method | Public | Method | Check if log contains error messages | 20120906 | |
| 16 | Instance method | Public | Method | Check if log contains messages | 20121004 | |
| 17 | Instance method | Public | Method | Initialize | 20120905 |
Events
Class CL_CMM_LOG has no event.
Types
Class CL_CMM_LOG has no local type.
Method Signatures
Method ADD_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 | 20120905 | |||
| 2 | IV_ITEM | Call by reference | Type reference (TYPE) | CMM_LOG_DOC_ITEM | Commodity Management: Document item | 20121128 | |||
| 3 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20130610 | |||
| 4 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Period-End Valuation: Origin of Message | 20120905 |
Method ADD_EXCEPTION on class CL_CMM_LOG has no exception.
Method ADD_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROT | Call by reference | Object reference (TYPE REF TO) | CL_CMM_LOG | zmg Log Test Class | 20120905 | |||
| 2 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Commodity Management: Origin of Message | 20121030 |
Method ADD_LOG on class CL_CMM_LOG has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ITEM | Call by reference | Type reference (TYPE) | CMM_LOG_DOC_ITEM | Commodity Management: Document item | 20121128 | |||
| 2 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20120905 | |||
| 3 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20120905 | |||
| 4 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | Message Category | 20120905 | |||
| 5 | IV_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20120905 | |||
| 6 | IV_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20120905 | |||
| 7 | IV_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20120905 | |||
| 8 | IV_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | Message Variable | 20120905 | |||
| 9 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Period-End Valuation: Origin of Message | 20120905 |
Method ADD_MESSAGE on class CL_CMM_LOG has no exception.
Method ADD_MESSAGE_FROM_SY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ITEM | Call by reference | Type reference (TYPE) | CMM_LOG_DOC_ITEM | Commodity Management: Document item | 20121128 | |||
| 2 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Period-End Valuation: Origin of Message | 20120905 |
Method ADD_MESSAGE_FROM_SY on class CL_CMM_LOG has no exception.
Method CLEAR_LOG Signature
Method CLEAR_LOG on class CL_CMM_LOG has no parameter.
Method CLEAR_LOG on class CL_CMM_LOG has no exception.
Method CLONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CLONE | Value transfer | Object reference (TYPE REF TO) | CL_CMM_LOG | Commodity Management: Message log | 20130610 |
Method CLONE on class CL_CMM_LOG has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CMM_LOG has no parameter.
Method CONSTRUCTOR on class CL_CMM_LOG has no exception.
Method DELETE_MSG_FOR_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ITEM | Call by reference | Type reference (TYPE) | CMM_LOG_DOC_ITEM | Commodity Management: Document item | 20121128 | |||
| 2 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Commodity Management: Origin of Message | 20121128 |
Method DELETE_MSG_FOR_ITEM on class CL_CMM_LOG has no exception.
Method DELETE_MSG_FOR_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SOURCE | Call by reference | Type reference (TYPE) | CMM_MSG_SOURCE | Period-end valuation: Origin of message | 20120905 |
Method DELETE_MSG_FOR_SOURCE on class CL_CMM_LOG has no exception.
Method DETERMINE_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGES | Call by reference | Type reference (TYPE) | CMM_T_MSG | Table with BAPI Return Information | 20120925 | |||
| 2 | IV_SOURCE | Call by reference | Type reference (TYPE) | MEV_MSG_SOURCE | Period-End Valuation: Origin of Message | 20120924 | |||
| 3 | RV_SEVERITY | Value transfer | Type reference (TYPE) | MSGTY | Message Type | 20120925 |
Method DETERMINE_SEVERITY on class CL_CMM_LOG has no exception.
Method GET_BAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_BAL | Value transfer | Object reference (TYPE REF TO) | IF_CMM_BAL | Commodity Management: Interface for Business Application Log | 20121203 |
Method GET_BAL on class CL_CMM_LOG has no exception.
Method GET_KEY_FROM_IDX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_IDX | Call by reference | Type reference (TYPE) | CMM_D_IDX | Commodity Management: Index Table | 20120905 | |||
| 2 | RS_KEY | Value transfer | Type reference (TYPE) | CMM_S_OBJ_K | Period-end valuation: Object key (without Client) | 20120905 |
Method GET_KEY_FROM_IDX on class CL_CMM_LOG has no exception.
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_PROTOCOL | Value transfer | Type reference (TYPE) | CMM_T_MSG | Period-end valuation: Messages | 20120905 |
Method GET_MESSAGES on class CL_CMM_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) | MSGTY | Message Type | 20130221 |
Method GET_SEVERITY on class CL_CMM_LOG has no exception.
Method HAS_ERRORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SOURCE | Call by reference | Type reference (TYPE) | MEV_MSG_SOURCE | Period-End Valuation: Origin of Message | 20120924 | |||
| 2 | RV_ERRORS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120906 |
Method HAS_ERRORS on class CL_CMM_LOG has no exception.
Method HAS_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MESSAGES | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121004 |
Method HAS_MESSAGES on class CL_CMM_LOG has no exception.
Method INIT Signature
Method INIT on class CL_CMM_LOG has no parameter.
Method INIT on class CL_CMM_LOG has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 617 |