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 ABAP 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 MO_BAL Instance attribute Protected Object reference (TYPE REF TO) IF_CMM_BAL Commodity Management: Interface for Business Application Log 20121203
2 MT_MESSAGES Instance attribute Protected Type reference (TYPE) CMM_T_MSG Commodity Management: Messages 20120905
3 MV_BAL_HANDLE Instance attribute Protected Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20120912
Methods
# Method Level Visibility Method type Description Created on
1 ADD_EXCEPTION Instance method Public Method Add Exceptions to Log 20120905
2 ADD_LOG Instance method Public Method Add Log to Log 20120905
3 ADD_MESSAGE Instance method Public Method Include Messages in Log 20120905
4 ADD_MESSAGE_FROM_SY Instance method Public Method Add message from system message 20120905
5 CLEAR_LOG Instance method Public Method Clear the Messages Table 20120906
6 CLONE Instance method Public Method Clone me 20130610
7 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121203
8 DELETE_MSG_FOR_ITEM Instance method Public Method Delete message for item and source 20121127
9 DELETE_MSG_FOR_SOURCE Instance method Public Method Delete message for source 20120905
10 DETERMINE_SEVERITY Static method Private Method Determines Severity of Messages 20120905
11 GET_BAL Instance method Public Method Get Business Application Log Object 20121203
12 GET_KEY_FROM_IDX Static method Public Method Get key from CMM idx 20120905
13 GET_MESSAGES Instance method Public Method Get messages 20120905
14 GET_SEVERITY Instance method Public Method Get Severity of Messages 20130221
15 HAS_ERRORS Instance method Public Method Check if log contains error messages 20120906
16 HAS_MESSAGES Instance method Public Method Check if log contains messages 20121004
17 INIT 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 Importing IO_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20120905
2 Importing IV_ITEM Call by reference Type reference (TYPE) CMM_LOG_DOC_ITEM Commodity Management: Document item 20121128
3 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Message Type 20130610
4 Importing 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 Importing IO_PROT Call by reference Object reference (TYPE REF TO) CL_CMM_LOG zmg Log Test Class 20120905
2 Importing 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 Importing IV_ITEM Call by reference Type reference (TYPE) CMM_LOG_DOC_ITEM Commodity Management: Document item 20121128
2 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Message Class 20120905
3 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Message Number 20120905
4 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Message Category 20120905
5 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120905
6 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120905
7 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120905
8 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20120905
9 Importing 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 Importing IV_ITEM Call by reference Type reference (TYPE) CMM_LOG_DOC_ITEM Commodity Management: Document item 20121128
2 Importing 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 Returning 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 Importing IV_ITEM Call by reference Type reference (TYPE) CMM_LOG_DOC_ITEM Commodity Management: Document item 20121128
2 Importing 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 Importing 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 Importing IT_MESSAGES Call by reference Type reference (TYPE) CMM_T_MSG Table with BAPI Return Information 20120925
2 Importing IV_SOURCE Call by reference Type reference (TYPE) MEV_MSG_SOURCE Period-End Valuation: Origin of Message 20120924
3 Returning 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 Returning 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 Importing IS_IDX Call by reference Type reference (TYPE) CMM_D_IDX Commodity Management: Index Table 20120905
2 Returning 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 Returning 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 Returning 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 Importing IV_SOURCE Call by reference Type reference (TYPE) MEV_MSG_SOURCE Period-End Valuation: Origin of Message 20120924
2 Returning 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 Returning 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