SAP ABAP Class CL_CPE_LOG (CPE Log)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_FA_FE (Package) Commodity Pricing: Formula Assembly and Evaluation (ABAP)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CPE_CONSTANTS CPE constants and declarations 20100913
Properties
Class CL_CPE_LOG  
Short Description CPE Log    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CPE_FA_FE   Commodity Pricing: Formula Assembly and Evaluation (ABAP) 
Created 20100910   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)
2 IF_CPE_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_CPE_CONSTANTS CPE constants and declarations 20100913
Friends
Class CL_CPE_LOG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONTEXT Instance attribute Public Type reference (TYPE) GTY_CONTEXT_S Context for log entries 20100910
2 C_GUID_TYPE_HEADER Instance attribute Private Attribute reference (LIKE) 20100913
3 C_GUID_TYPE_ITEM Instance attribute Private Attribute reference (LIKE) 20100913
4 C_INPUT Instance attribute Private Attribute reference (LIKE) 20100913
5 C_MODULE_FA Instance attribute Private Attribute reference (LIKE) 20100913
6 C_MODULE_FE Instance attribute Private Attribute reference (LIKE) 20100913
7 C_MODULE_OP Instance attribute Private Attribute reference (LIKE) 20100913
8 C_MODULE_OW Instance attribute Private Attribute reference (LIKE) 20100913
9 C_MODULE_PI Instance attribute Private Attribute reference (LIKE) 20100913
10 C_OUTPUT Instance attribute Private Attribute reference (LIKE) 20100913
11 C_PRIO_ANALYSIS Instance attribute Private Attribute reference (LIKE) 20100913
12 C_PRIO_ERROR Instance attribute Private Attribute reference (LIKE) 20100913
13 C_PRIO_INFO Instance attribute Private Attribute reference (LIKE) 20100913
14 C_PRIO_TERMINATION Instance attribute Private Attribute reference (LIKE) 20100913
15 C_PRIO_TRACE Instance attribute Private Attribute reference (LIKE) 20100913
16 C_PRIO_WARNING Instance attribute Private Attribute reference (LIKE) 20100913
17 C_SUBMOD_FA_DET Instance attribute Private Attribute reference (LIKE) 20100913
18 C_SUBMOD_FA_PRIO Instance attribute Private Attribute reference (LIKE) 20100913
19 C_SUBMOD_FA_ROUTINE Instance attribute Private Attribute reference (LIKE) 20100913
20 LOG Static Attribute Private Object reference (TYPE REF TO) CL_CPE_LOG CPE Log 20100915
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Add message from sy-fields 20100913
2 ADD_T100 Instance method Public Method Add IF_T100_MESSAGE 20130109
3 ADD_VALUE Instance method Public Method Add name/ value pair 20100913
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100910
5 CREATE Static method Public Method Create log replacing current one 20100915
6 CREATE_SIMPLE_FILTER Static method Public Method Create simple filter 20100915
7 DELETE Static method Public Method Delete log 20100910
8 GET Static method Public Method Get log with current context 20100915
9 GET_FILTER Instance method Public Method Get filter for current context only 20110222
10 GET_FILTER_FOR_MESSAGES Instance method Public Method Get filter for current context and above 20110325
11 GET_MESSAGES Instance method Public Method Get messages from log 20110322
12 GET_MESSAGE_TEXTS Static method Private Method Get message texts 20110217
13 GET_PRIORITY Static method Public Method Get max. log priority 20100913
14 READ Static method Public Method Read log 20100913
15 SEND_ERROR Instance method Public Method Send first error message 20100916
16 SET_CONDITION Instance method Public Method Set condition 20100913
17 SET_GUID Instance method Public Method Set guid 20100913
18 SET_MODULE Instance method Public Method Set module 20100913
19 SET_PRIORITY Static method Public Method Set max. log priority 20100913
20 SET_TERM Instance method Public Method Set term 20100913
21 _ADD_MESSAGE Instance method Private Method 20130109
Events
Class CL_CPE_LOG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_CONTEXT_S Public See coding Context for log entries 20100915 BEGIN OF gty_context_s, cpe_module TYPE cpet_module, submodule TYPE cpet_log_submodule, doc_guid TYPE cpet_guid, item_guid TYPE cpet_guid, cond_type TYPE cpet_cond_type, step TYPE cpet_log_step, counter TYPE cpet_log_counter, termno TYPE cpet_termno, END OF gty_context_s
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FUNCTION Call by reference Type reference (TYPE) CPET_LOG_FUNCTION CPE - Log: Function 20100913
2 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY SY-MSGTY Message Type 20110321
3 Importing I_PROG_CLASS Call by reference Type reference (TYPE) CPET_LOG_PROGRAM CPE - Log: Program 20100913
4 Returning R_MSG Value transfer Type reference (TYPE) CPET_LOG_MSG 20130410

Method ADD_MESSAGE on class CL_CPE_LOG has no exception.

Method ADD_T100 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FUNCTION Call by reference Type reference (TYPE) CPET_LOG_FUNCTION CPE - Log: Function 20130109
2 Importing I_PROG_CLASS Call by reference Type reference (TYPE) CPET_LOG_PROGRAM CPE - Log: Program 20130109
3 Importing I_T100 Call by reference Object reference (TYPE REF TO) IF_T100_MESSAGE Interface for Accessing T100 Texts 20130109

Method ADD_T100 on class CL_CPE_LOG has no exception.

Method ADD_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Call by reference Type reference (TYPE) CPET_LOG_NAME 20100916
2 Importing I_OUTPUT Call by reference Type reference (TYPE) CPET_LOG_OUT_IN 20100916
3 Importing I_PRIORITY Call by reference Type reference (TYPE) CPET_LOG_PRIORITY IF_CPE_CONSTANTS=>C_PRIO_ANALYSIS 20100916
4 Importing I_VALUE Call by reference Type reference (TYPE) ANY 20100916

Method ADD_VALUE on class CL_CPE_LOG has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COND_TYPE Call by reference Type reference (TYPE) CPET_COND_TYPE 20100913
2 Importing COUNTER Call by reference Type reference (TYPE) CPET_LOG_COUNTER 20100913
3 Importing DOC_GUID Call by reference Type reference (TYPE) CPET_GUID CPE - Object GUID 20110222
4 Importing ITEM_GUID Call by reference Type reference (TYPE) CPET_GUID CPE - Object GUID 20110222
5 Importing MODULE Call by reference Type reference (TYPE) CPET_MODULE 20100913
6 Importing STEP Call by reference Type reference (TYPE) CPET_LOG_STEP 20100913
7 Importing SUBMODULE Call by reference Type reference (TYPE) CPET_LOG_SUBMODULE 20100913
8 Importing TERMNO Call by reference Type reference (TYPE) CPET_TERMNO 20100913

Method CONSTRUCTOR on class CL_CPE_LOG has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CPE_MODULE Call by reference Type reference (TYPE) CPET_MODULE Delete entries of this module 20100916
2 Importing I_PRIORITY Call by reference Type reference (TYPE) CPET_LOG_PRIORITY IF_CPE_CONSTANTS=>C_PRIO_ANALYSIS CPE - Priority of Log Entry 20100916
3 Returning RO_LOG Value transfer Object reference (TYPE REF TO) CL_CPE_LOG CPE Log 20100915

Method CREATE on class CL_CPE_LOG has no exception.

Method CREATE_SIMPLE_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COND_TYPE Call by reference Type reference (TYPE) CPET_COND_TYPE CPE: Condition Type for Commodity Pricing 20110221
2 Importing I_CPE_MODULE Call by reference Type reference (TYPE) CPET_MODULE CPE - Module of the Commodity Pricing Engine 20100915
3 Importing I_GUID Call by reference Type reference (TYPE) CPET_GUID CPE - Object GUID 20100915
4 Importing I_GUID_HEADER Call by reference Type reference (TYPE) CPET_GUID CPE - Object GUID 20110222
5 Importing I_NO_VALUES_ALLOWED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X': Allow no values as well 20110221
6 Importing I_PRIORITY_HIGH Call by reference Type reference (TYPE) CPET_LOG_PRIORITY CPE - Priority of Log Entry 20100915
7 Importing I_PRIORITY_LOW Call by reference Type reference (TYPE) CPET_LOG_PRIORITY CPE - Priority of Log Entry 20100915
8 Importing I_SUBMODULE Call by reference Type reference (TYPE) CPET_LOG_SUBMODULE CPE Log - Submodule 20100915
9 Importing I_TERMNO Call by reference Type reference (TYPE) CPET_TERMNO CPE Term - Number in Formula 20130410
10 Returning R_FILTER Value transfer Type reference (TYPE) CPET_LOG_FILTER CPE Log - Filter Criteria 20100915

Method CREATE_SIMPLE_FILTER on class CL_CPE_LOG has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FILTER Call by reference Type reference (TYPE) CPET_LOG_FILTER CPE Log - Filter Criteria 20100913

Method DELETE on class CL_CPE_LOG has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_LOG Value transfer Object reference (TYPE REF TO) CL_CPE_LOG CPE Log 20100915

Method GET on class CL_CPE_LOG has no exception.

Method GET_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALL_MODULES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110324
2 Importing I_ERRORS_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110222
3 Importing I_NO_VALUES_ALLOWED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 'X': initial context values (e.g. GUID) allowed 20110322
4 Returning R_FILTER Value transfer Type reference (TYPE) CPET_LOG_FILTER CPE Log - Filter Criteria 20110222

Method GET_FILTER on class CL_CPE_LOG has no exception.

Method GET_FILTER_FOR_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ERRORS_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110325
2 Returning R_FILTER Value transfer Type reference (TYPE) CPET_LOG_FILTER CPE Log - Filter Criteria 20110325

Method GET_FILTER_FOR_MESSAGES on class CL_CPE_LOG has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ERRORS_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20110322
2 Returning RT_MESSAGES Value transfer Type reference (TYPE) CPET_LOG_MSG_TAB CPE - Table for Message Log in Documents 20110322

Method GET_MESSAGES on class CL_CPE_LOG has no exception.

Method GET_MESSAGE_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES_WITH_TEXTS Call by reference Type reference (TYPE) CPET_LOG_MSG_COM_TAB CPE - Communication Table for Log Messages in Documents 20110217
2 Importing IT_MESSAGES Call by reference Type reference (TYPE) CPET_LOG_MSG_TAB CPE - Table for Message Log in Documents 20110217
3 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20110217

Method GET_MESSAGE_TEXTS on class CL_CPE_LOG has no exception.

Method GET_PRIORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_MAX_PRIORITY Value transfer Type reference (TYPE) CPET_LOG_PRIORITY Max. allowed priority 20100913

Method GET_PRIORITY on class CL_CPE_LOG has no exception.

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERRORS Call by reference Type reference (TYPE) CPET_LOG_MSG_TAB CPE - Table for Message Log in Documents 20101025
2 Exporting ET_LOG Call by reference Type reference (TYPE) CPET_LOG_TAB CPE - Table for Log Data in Documents 20100915
3 Exporting ET_MESSAGES Call by reference Type reference (TYPE) CPET_LOG_MSG_TAB CPE - Table for Message Log in Documents 20100915
4 Exporting ET_MESSAGES_WITH_TEXTS Call by reference Type reference (TYPE) CPET_LOG_MSG_COM_TAB CPE - Communication Table for Log Messages in Documents 20110217
5 Importing I_FILTER Call by reference Type reference (TYPE) CPET_LOG_FILTER CPE Log - Filter Criteria 20100913

Method READ on class CL_CPE_LOG has no exception.

Method SEND_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DISPLAY_LIKE Call by reference Type reference (TYPE) SYMSGTY Message Type 20100916
2 Importing I_MSGTY Call by reference Type reference (TYPE) SYMSGTY 'S' Message Type 20110322
3 Returning R_MESSAGE_FOUND Value transfer Type reference (TYPE) ABAP_BOOL 20110223

Method SEND_ERROR on class CL_CPE_LOG has no exception.

Method SET_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COND_TYPE Call by reference Type reference (TYPE) CPET_COND_TYPE CPE: Condition Type for Commodity Pricing 20100913
2 Importing I_COUNTER Call by reference Type reference (TYPE) CPET_LOG_COUNTER CPE Log - Counter 20100913
3 Importing I_STEP Call by reference Type reference (TYPE) CPET_LOG_STEP CPE Log - Step 20100913

Method SET_CONDITION on class CL_CPE_LOG has no exception.

Method SET_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_GUID Call by reference Type reference (TYPE) CPET_GUID CPE - GUID Type 20110222
2 Importing I_ITEM_GUID Call by reference Type reference (TYPE) CPET_GUID CPE - Object GUID 20110222

Method SET_GUID on class CL_CPE_LOG has no exception.

Method SET_MODULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MODULE Call by reference Type reference (TYPE) CPET_MODULE CPE - Module of the Commodity Pricing Engine 20100913
2 Importing I_SUBMODULE Call by reference Type reference (TYPE) CPET_LOG_SUBMODULE CPE Log - Submodule 20100913

Method SET_MODULE on class CL_CPE_LOG has no exception.

Method SET_PRIORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MAX_PRIORITY Call by reference Type reference (TYPE) CPET_LOG_PRIORITY CPE - Priority of Log Entry 20100913

Method SET_PRIORITY on class CL_CPE_LOG has no exception.

Method SET_TERM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TERMNO Call by reference Type reference (TYPE) CPET_TERMNO CPE Term - Number in Formula 20100913

Method SET_TERM on class CL_CPE_LOG has no exception.

Method _ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSG Call by reference Type reference (TYPE) CPET_LOG_MSG 20130109
2 Returning R_MSG Value transfer Type reference (TYPE) CPET_LOG_MSG 20130410

Method _ADD_MESSAGE on class CL_CPE_LOG has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 731