SAP ABAP Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS (Analysing optimization runs)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/OPT (Package) Multi Resource Scheduling: Optimizer
Properties
Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS  
Short Description Analysing optimization runs    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/OPT   Multi Resource Scheduling: Optimizer 
Created 20130507   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no forward declaration.
Interfaces
Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 /MRSS/CL_OPT_ABSTRACT_OPTIMIZE 20130513 Optimizer
2 /MRSS/CL_OPT_CUSTOMIZING 20130513 Optimizer: Customizing
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GREF_ABSTRACT_OPTIMIZER Instance attribute Private Object reference (TYPE REF TO) /MRSS/CL_OPT_ABSTRACT_OPTIMIZE Abstract Optimizer Instance 20130515
2 GREF_INSTANCE Static Attribute Private Object reference (TYPE REF TO) /MRSS/CL_OPT_ABSTRACT_ANALYSIS Analysing optimization runs 20130508
3 GT_ANALYSIS Instance attribute Private Type reference (TYPE) /MRSS/T_OPT_ANALYSIS_TAB Analysis of an optimization run 20130508
4 GT_ASSIGNMENTS Instance attribute Private Type reference (TYPE) /MRSS/T_ANALYSE_ASSIGNMENT_TAB Assignments of an optimization analysis 20130508
5 GT_DEMANDS Instance attribute Private Type reference (TYPE) /MRSS/T_ANALYSE_DEMAND_TAB Demands of an optimizer analysis 20130508
6 GT_LOCATIONS Instance attribute Private Type reference (TYPE) /MRSS/T_ANALYSE_LOCATIONS_TAB Locations of an optimization analysis 20130508
7 GT_RESOURCES Instance attribute Private Type reference (TYPE) /MRSS/T_ANALYSE_RESOURCES_TAB Resources of an optimization analysis 20130508
8 GV_STEP_INDEX Instance attribute Private Type reference (TYPE) INT4 1 Actual Step Number 20130514
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ASSIGNMENTS Instance method Protected Method Add Assignments 20130507
2 ADD_ASSIGNMENT_TO_RESOURCE Instance method Protected Method Add one assignment to a specific resource 20130507
3 ADD_DEMAND Instance method Protected Method Add specific demand 20130507
4 ADD_RESOURCE Instance method Protected Method Add specific resource 20130507
5 CONVERT_SEC_TO_HHHHHMM Instance method Private Method Converts Seconds to Time Display (HHHHH:MM) 20130517
6 CONVERT_SEC_TO_HHMM Instance method Private Method Converts Seconds to Time Display (HH:MM) 20130517
7 CONVERT_SEC_TO_TIME Instance method Private Method Converts Seconds to Time Display (HH:MM:SS) 20130517
8 END_ANALYSIS_STEP Instance method Public Method Signals end of a step/day within optimization 20130507
9 END_OPTIMIZATION_RUN Instance method Public Method Signals end of whole optimization 20130507
10 EXCLUDE_DEMAND Instance method Protected Method Mark one demand as excluded 20130507
11 EXCLUDE_RESOURCE Instance method Protected Method Mark one resource as excluded 20130507
12 FORMAT_PERCENTAGE Instance method Private Method Converts a value to be displayed in LOG (***,*) 20130517
13 FORMAT_STRING Instance method Private Method Formats a text to fixed 25 chars 20130517
14 FORMAT_TIMESTAMP Instance method Private Method Converts a timestamp to be displayed in LOG 20130517
15 GET_ANALYSIS Instance method Public Method Returns actual analysis data 20130507
16 GET_DURATION Instance method Private Method returns based on table of timestamps the resulting duration 20130513
17 GET_INSTANCE Static method Public Method Returns an instance of the class 20130507
18 GET_SECONDS Instance method Private Method Convert values into seconds for internal usage 20130514
19 INITIALIZE Instance method Protected Method Initialize the class instance 20130508
20 PREPARATION_DONE Instance method Protected Method Signals end of preparation phase 20130513
21 RESET Instance method Private Method Reset internal buffers 20130507
22 START_ANALYSIS_STEP Instance method Public Method Signals start of a step/day within optimization 20130507
23 START_OPTIMIZATION_RUN Instance method Public Method Signals start of whole optimization 20130507
24 TRANSFER_STEP_RESULT Instance method Private Method Integrate step into overall result 20130516
25 WRITE_ANALYSIS Instance method Protected Method Write analysis to actual log file 20130507
26 WRITE_ANALYSIS_DETAILS Instance method Private Method Write analysis to actual log file - Details Part 20130516
27 WRITE_ANALYSIS_OVERVIEW Instance method Private Method Write analysis to actual log file - Overview Part 20130516
28 WRITE_ANALYSIS_STATISTICS Instance method Private Method Write analysis to actual log file - Statistics Part 20130516
29 WRITE_FINAL_COST_ANALYSIS Instance method Protected Method Write final cost analysis to actual log file 20130507
30 WRITE_INTERIM_COST_ANALYSIS Instance method Protected Method Write intreim cost analysis to actual log file 20130507
Events
Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no event.
Types
Class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no local type.
Method Signatures

Method ADD_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_ASSIGNMENT_TAB Table of Optimized Assignments 20130513

Method ADD_ASSIGNMENTS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method ADD_ASSIGNMENT_TO_RESOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ASSIGNMENT Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_INT Internal Format of Assignment 20130508
2 Importing IS_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_RES Optimizer: Abstract Resources 20130508

Method ADD_ASSIGNMENT_TO_RESOURCE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method ADD_DEMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IREF_DEMAND Call by reference Object reference (TYPE REF TO) /MRSS/IF_SGE_SINGLE_DEMAND Scheduling Engine Demand 20130513
2 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_DEM Optimizer: Abstract Demands 20130508

Method ADD_DEMAND on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method ADD_RESOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_RES Optimizer: Abstract Resources 20130508

Method ADD_RESOURCE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method CONVERT_SEC_TO_HHHHHMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) ANY 20130517
2 Returning RV_TIME Value transfer Type reference (TYPE) CHAR8 Character field, 8 characters long 20130517

Method CONVERT_SEC_TO_HHHHHMM on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method CONVERT_SEC_TO_HHMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) ANY 20130517
2 Returning RV_TIME Value transfer Type reference (TYPE) CHAR5 Character field, 5 characters long 20130517

Method CONVERT_SEC_TO_HHMM on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method CONVERT_SEC_TO_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) ANY 20130517
2 Returning RV_TIME Value transfer Type reference (TYPE) T 20130517

Method CONVERT_SEC_TO_TIME on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method END_ANALYSIS_STEP Signature

Method END_ANALYSIS_STEP on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method END_ANALYSIS_STEP on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method END_OPTIMIZATION_RUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESULT Call by reference Type reference (TYPE) /MRSS/T_LOG_STATUS Log Status 20130508

Method END_OPTIMIZATION_RUN on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method EXCLUDE_DEMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IREF_DEMAND Call by reference Object reference (TYPE REF TO) /MRSS/IF_SGE_SINGLE_DEMAND Scheduling Engine Demand 20130508
2 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_DEM Optimizer: Abstract Demands 20130508

Method EXCLUDE_DEMAND on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method EXCLUDE_RESOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IREF_RESOURCE Call by reference Object reference (TYPE REF TO) /MRSS/CL_SGE_SINGLE_RESOURCE Scheduling Engine: Single Resource 20130508
2 Importing IS_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_OPT_GEN_RES Optimizer: Abstract Resources 20130508

Method EXCLUDE_RESOURCE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method FORMAT_PERCENTAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUE Call by reference Type reference (TYPE) ANY 20130517
2 Returning RV_PERCENTAGE Value transfer Type reference (TYPE) CHAR5 Maximum 5 characters long 20130517

Method FORMAT_PERCENTAGE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method FORMAT_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TEXT Call by reference Type reference (TYPE) ANY 20130517
2 Returning RV_TEXT Value transfer Type reference (TYPE) CHAR25 Formated text 20130517

Method FORMAT_STRING on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method FORMAT_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20130517
2 Returning RV_TEXT Value transfer Type reference (TYPE) CHAR19 19 Characters 20130517

Method FORMAT_TIMESTAMP on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method GET_ANALYSIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OPTIMIZATION_ANALYSIS Value transfer Type reference (TYPE) /MRSS/T_OPT_ANALYSIS_TAB Analysis of an optimization run 20130507

Method GET_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method GET_DURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TIME_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_SGE_AVAIL_TAB Complex Availability 20130513
2 Importing IV_COUNT_ONLY_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_AVAIL_TYPE Take only items of following type... 20130513
3 Returning RV_DURATION Value transfer Type reference (TYPE) /MRSS/T_OPT_ABSTRACT_SUM Abstract value holding summed items like worktime [s] 20130513

Method GET_DURATION on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RREF_ANALYSIS Value transfer Object reference (TYPE REF TO) /MRSS/CL_OPT_ABSTRACT_ANALYSIS Analysing optimization runs 20130508

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

Method GET_SECONDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNIT Call by reference Type reference (TYPE) /MRSS/T_SGE_DURATION_UNIT Unit for the Transaction Duration 20130514
2 Importing IV_VALUE Call by reference Type reference (TYPE) INT4 Duration 20130514
3 Returning RV_SECONDS Value transfer Type reference (TYPE) /MRSS/T_OPT_ABSTRACT_SUM Abstract value holding summed items like worktime [s] 20130514

Method GET_SECONDS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method INITIALIZE Signature

Method INITIALIZE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method INITIALIZE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method PREPARATION_DONE Signature

Method PREPARATION_DONE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method PREPARATION_DONE on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method RESET Signature

Method RESET on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method RESET on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method START_ANALYSIS_STEP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20130514
2 Importing IV_REFERENCE_DATE Call by reference Type reference (TYPE) DATS Optional reference date 20130514
3 Importing IV_TO Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20130514

Method START_ANALYSIS_STEP on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method START_OPTIMIZATION_RUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMEFRAME Call by reference Type reference (TYPE) /MRSS/T_DATE_INTERVAL Date Interval 20130508

Method START_OPTIMIZATION_RUN on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method TRANSFER_STEP_RESULT Signature

Method TRANSFER_STEP_RESULT on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method TRANSFER_STEP_RESULT on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_ANALYSIS Signature

Method WRITE_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_ANALYSIS_DETAILS Signature

Method WRITE_ANALYSIS_DETAILS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_ANALYSIS_DETAILS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_ANALYSIS_OVERVIEW Signature

Method WRITE_ANALYSIS_OVERVIEW on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_ANALYSIS_OVERVIEW on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_ANALYSIS_STATISTICS Signature

Method WRITE_ANALYSIS_STATISTICS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_ANALYSIS_STATISTICS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_FINAL_COST_ANALYSIS Signature

Method WRITE_FINAL_COST_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_FINAL_COST_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.

Method WRITE_INTERIM_COST_ANALYSIS Signature

Method WRITE_INTERIM_COST_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no parameter.
Method WRITE_INTERIM_COST_ANALYSIS on class /MRSS/CL_OPT_ABSTRACT_ANALYSIS has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 800