SAP ABAP Class /MRSS/CL_POT_MSG (Capacity Pot Application log Manager)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   CA-MRS (Application Component) SAP Multiresource Scheduling
     /MRSS/POT_UTIL (Package) Capacity Pots Utilities
Properties
Class /MRSS/CL_POT_MSG  
Short Description Capacity Pot Application log Manager    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/POT_UTIL   Capacity Pots Utilities 
Created 20110318   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 DMCT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /MRSS/CL_POT_MSG has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 /MRSS/CL_POT_CAP_RES_CHECKS 20110325 MRS: Capacity Reserve Data File Upload Checks
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GREF_POT_MSG Static Attribute Protected Object reference (TYPE REF TO) /MRSS/CL_POT_MSG Capacity Pot Application log Manager 20110328
2 GT_ERROR_LOG Static Attribute Private Type reference (TYPE) /MRSS/T_POT_ERROR_LOG_TAB Table type for error log 20110323
3 GT_MSG Static Attribute Private Type reference (TYPE) BAPIRET2_T Return parameter table 20110323
4 GV_LOG_MODE Static Attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN Log Mode to store messages in SLG1 20140728
5 GV_LOG_PROFILE_KEY Static Attribute Private Type reference (TYPE) /MRSS/T_LOG_PROFILE_KEY Log Profile Key 20140728
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Public Method Add Message 20110329
2 ADD_MESSAGES Instance method Public Method Add Message 20110318
3 CLEAR_MESSAGE Instance method Public Method Clear Message 20110318
4 DELETE_MESSAGE Instance method Public Method Read Message 20110318
5 END_LOG Instance method Public Method Close Log Mode and store logs in application log (SLG1) 20140728
6 GET_INSTANCE Static method Public Method Get instance of class /MRSS/CL_POT_MSG 20110318
7 GET_LOG_PROFILE Instance method Private Method Get Log Profile 20140728
8 GET_MESSAGE_INDEX Instance method Public Method Read Message 20110325
9 LOAD_MESSAGE Instance method Public Method Load Message 20110318
10 LOG_POT_OBJ_DEVIATIONS Instance method Public Method Log pot deviations comparing DB and current re-calculation 20140728
11 LOG_POT_SAVE Instance method Public Method Log pot save 20140728
12 READ_MESSAGE Instance method Public Method Read Messgae 20110407
13 SAVE Instance method Public Method Save messages to application log 20110318
14 SET_LOG_MODE_AND_START_LOG Instance method Public Method Start Log Mode 20140728
Events
Class /MRSS/CL_POT_MSG has no event.
Types
Class /MRSS/CL_POT_MSG 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 Importing IS_MSG Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110329
2 Importing IV_DATE_FROM Call by reference Type reference (TYPE) /MRSS/T_POT_DATE_FROM_TS Data From Timestamp 20110329
3 Importing IV_GUID Call by reference Type reference (TYPE) /MRSS/T_POT_GUID_MD_ATTR GUID of Capacity Pot Master Data Attributes 20110329
4 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20110329
5 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20110329
6 Importing IV_QUALI_CATEG Call by reference Type reference (TYPE) /MRSS/T_POT_QUALI_CATEGORY Qualification Category 20110329

Method ADD_MESSAGE on class /MRSS/CL_POT_MSG has no exception.

Method ADD_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSG Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20110318
2 Importing IV_DATE_FROM Call by reference Type reference (TYPE) /MRSS/T_POT_DATE_FROM_TS Timestamp for From Date 20110318
3 Importing IV_GUID Call by reference Type reference (TYPE) /MRSS/T_POT_GUID_MD_ATTR GUID of Capacity Pot Master Data Attributes 20110318
4 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20110318
5 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20110318
6 Importing IV_QUALI_CATEG Call by reference Type reference (TYPE) /MRSS/T_POT_QUALI_CATEGORY Qualification Category 20110318

Method ADD_MESSAGES on class /MRSS/CL_POT_MSG has no exception.

Method CLEAR_MESSAGE Signature

Method CLEAR_MESSAGE on class /MRSS/CL_POT_MSG has no parameter.
Method CLEAR_MESSAGE on class /MRSS/CL_POT_MSG has no exception.

Method DELETE_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MSG Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110318
2 Importing IV_DATE_FROM Call by reference Type reference (TYPE) /MRSS/T_POT_DATE_FROM_TS Timestamp for From Date 20110318
3 Importing IV_GUID Call by reference Type reference (TYPE) /MRSS/T_POT_GUID_MD_ATTR GUID of Capacity Pot Master Data Attributes 20110318
4 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20110318
5 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20110318
6 Importing IV_QUALI_CATEG Call by reference Type reference (TYPE) /MRSS/T_POT_QUALI_CATEGORY Qualification Category 20110318
7 Returning RV_SUBRC Value transfer Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20110318

Method DELETE_MESSAGE on class /MRSS/CL_POT_MSG has no exception.

Method END_LOG Signature

Method END_LOG on class /MRSS/CL_POT_MSG has no parameter.
Method END_LOG on class /MRSS/CL_POT_MSG has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) /MRSS/CL_POT_MSG Capacity Pot Application log Manager 20110318

Method GET_INSTANCE on class /MRSS/CL_POT_MSG has no exception.

Method GET_LOG_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LOGGING_PROFILE Call by reference Type reference (TYPE) /MRSS/T_LOGGING_PROFILE Log Profile 20140728
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20140728
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20140728
4 Importing IV_LOG_PROFILE_KEY Call by reference Type reference (TYPE) /MRSS/T_LOG_PROFILE_KEY Log Profile Key 20140728

Method GET_LOG_PROFILE on class /MRSS/CL_POT_MSG has no exception.

Method GET_MESSAGE_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MSG Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110325
2 Returning RV_INDEX Value transfer Type reference (TYPE) SYTABIX Index of Message Line 20110325

Method GET_MESSAGE_INDEX on class /MRSS/CL_POT_MSG has no exception.

Method LOAD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE_FROM Call by reference Type reference (TYPE) /MRSS/T_POT_DATE_FROM_TS Timestamp for From Date 20110318
2 Importing IV_GUID Call by reference Type reference (TYPE) /MRSS/T_POT_GUID_MD_ATTR GUID of Capacity Pot Master Data Attributes 20110318
3 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20110318
4 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20110318
5 Importing IV_QUALI_CATEG Call by reference Type reference (TYPE) /MRSS/T_POT_QUALI_CATEGORY Qualification Category 20110318
6 Returning RT_MSG Value transfer Type reference (TYPE) BAPIRET2_TAB Error Messages 20110318

Method LOAD_MESSAGE on class /MRSS/CL_POT_MSG has no exception.

Method LOG_POT_OBJ_DEVIATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_POT_DELETED Call by reference Type reference (TYPE) /MRSS/T_POT_OBJ_BI_TAB Table Type of Capacity Pot Database Structure 20140728
2 Importing IT_POT_INSERTED Call by reference Type reference (TYPE) /MRSS/T_POT_OBJ_BI_TAB Table Type of Capacity Pot Database Structure 20140728
3 Importing IT_POT_UPDATED Call by reference Type reference (TYPE) /MRSS/T_POT_OBJ_BI_TAB Table Type of Capacity Pot Database Structure 20140728

Method LOG_POT_OBJ_DEVIATIONS on class /MRSS/CL_POT_MSG has no exception.

Method LOG_POT_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BACKGROUND_TASK Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20140728
2 Importing IV_DB_TABLE Call by reference Type reference (TYPE) TABNAME16 Table name, 16 characters 20140728
3 Importing IV_SIMULATION_MODE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20140728

Method LOG_POT_SAVE on class /MRSS/CL_POT_MSG has no exception.

Method READ_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MSG Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20110407
2 Importing IV_DATE_FROM Call by reference Type reference (TYPE) /MRSS/POT_DATE_FROM_TS Timestamp for From Date 20110407
3 Importing IV_OBJID Call by reference Type reference (TYPE) PD_OBJID_R Object ID 20110407
4 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20110407
5 Importing IV_QUALI_CATEG Call by reference Type reference (TYPE) /MRSS/T_POT_QUALI_CATEGORY Qualification Category 20110407
6 Importing IV_UUID Call by reference Type reference (TYPE) /MRSS/POT_UUID_MD_ATTR UUID of Capacity Pot Master Data Attributes 20110407
7 Returning RV_SUBRC Value transfer Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20110407

Method READ_MESSAGE on class /MRSS/CL_POT_MSG has no exception.

Method SAVE Signature

Method SAVE on class /MRSS/CL_POT_MSG has no parameter.
Method SAVE on class /MRSS/CL_POT_MSG has no exception.

Method SET_LOG_MODE_AND_START_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_MODE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20140728
2 Importing IV_LOG_PROFILE_KEY Call by reference Type reference (TYPE) /MRSS/T_LOG_PROFILE_KEY Log Profile Key 20140728

Method SET_LOG_MODE_AND_START_LOG on class /MRSS/CL_POT_MSG has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 800