SAP ABAP Class /MRSS/CL_SGE_WC_SCHED_ENG (Simulation of Work Center Availability)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-MO (Application Component) Maintenance Orders
     /MRSS/SGE (Package) Multiresource Planning: Scheduling Engine
Properties
Class /MRSS/CL_SGE_WC_SCHED_ENG  
Short Description Simulation of Work Center Availability    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/SGE   Multiresource Planning: Scheduling Engine 
Created 20130320   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /MRSS/CL_SGE_WC_SCHED_ENG has no forward declaration.
Interfaces
Class /MRSS/CL_SGE_WC_SCHED_ENG has no interface implemented.
Friends
Class /MRSS/CL_SGE_WC_SCHED_ENG has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GREF_CAG_ADMINISTRATION Instance attribute Private Object reference (TYPE REF TO) /MRSS/IF_CAG_ADMINISTRATION Process Capacity Graphs 20130515
2 GREF_SCHEDULE_ENGINE Static Attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGE_WC_SCHED_ENG Simulation of Work Center Availability 20130320
3 GT_AVAILABILITY Instance attribute Private Type reference (TYPE) /MRSS/T_CAG_CG_TAB Capacity Graphs - Holds Q, S graph data 20130320
4 GT_BASE_AVAILABILITY Instance attribute Private Type reference (TYPE) /MRSS/T_CAG_CG_TAB Capacity Graphs - Holds P, R graph data 20130320
5 GT_DEMANDS Instance attribute Private Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Single Demands that have been readjusted so far 20130510
6 GT_TOBJ_AVAILABILITY Instance attribute Private Type reference (TYPE) /MRSS/T_CAG_CG_TAB Technical Object Availability 20140309
7 GV_BEG_TIMESTAMP Instance attribute Private Type reference (TYPE) /MRSS/T_TIMESTAMP Start Time of Availabilities 20130724
8 GV_CG_TYPE Instance attribute Private Type reference (TYPE) /MRSS/T_CG_TYPE Type of Capacity Graph 20130529
9 GV_END_TIMESTAMP Instance attribute Private Type reference (TYPE) /MRSS/T_TIMESTAMP End Time of Availabilities 20130724
10 SCHEDULE_DIR_FUTURE Constant Protected Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_DIRECTION 1 Scheduling Direction - Future 20130328
11 SCHEDULE_DIR_PAST Constant Protected Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_DIRECTION 2 Scheduling Direction - Past 20130328
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DEMANDS Instance method Private Method Add the demands to the list of recalculated demands 20130516
2 CHECK_AVAILABILITY Instance method Private Method Calculate the availability based on the graph 20130826
3 CHECK_BASE_AVAILABILITY Instance method Private Method Check if demand lies in base availability and adjust 20130806
4 CHECK_TOBJ_AVAILABILITY Instance method Private Method Calculate the availability based on the graph 20130805
5 DETERMINE_FREE_SLOT Instance method Public Method Return the table of free slots for the demand 20130320
6 GET_AVAILABILITY Instance method Private Method Retrieves the availabilities 20130328
7 GET_DEMANDS_FROM_RELATIONSHIPS Instance method Private Method Get the demands in order based on the relationships 20130508
8 GET_INSTANCE Static method Public Method Returns the instance for Work Center Scheduler Engine 20130320
9 INITIALIZE Instance method Private Method Initializes the WC Scheduler Engine Class 20130516
10 REMOVE_DEMANDS Instance method Private Method Remove the demands from the list of recalculated demands 20130516
11 RESET Instance method Public Method Resets the buffers 20130328
12 SCHEDULE_ORDER_SLOT Instance method Public Method Return the table of free slots for operations of the order 20130320
13 UPDATE_AVAILABILITY Instance method Public Method Calculate the availability based on the graph 20130826
Events
Class /MRSS/CL_SGE_WC_SCHED_ENG has no event.
Types
Class /MRSS/CL_SGE_WC_SCHED_ENG has no local type.
Method Signatures

Method ADD_DEMANDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DEMANDS Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Demands to be added to the list of recalculated demands 20130516

Method ADD_DEMANDS on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method CHECK_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHECK_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Did Consumption check failed ? 20130826
2 Importing IT_DEMANDS Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Table of old and new demands 20130826
3 Importing IV_BEG_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Start Time of interval for Graph recalculation 20130826
4 Importing IV_END_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP End Time of interval for Graph recalculation 20130826

Method CHECK_AVAILABILITY on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method CHECK_BASE_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BASE_AVAILABILITY_CHECK_OK Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130807
2 Changing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130806
3 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130806

Method CHECK_BASE_AVAILABILITY on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method CHECK_TOBJ_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHECK_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Did Consumption check failed ? 20130807
2 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Table of old and new demands 20130807
3 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130807

Method CHECK_TOBJ_AVAILABILITY on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method DETERMINE_FREE_SLOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130320
2 Exporting ET_SLOTS Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_TAB Table of free slots 20130320
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130320
4 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Items to be shifted 20130320
5 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Parameters for search 20130320
6 Importing IV_BEG_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Planning horizon begin 20130320
7 Importing IV_END_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Planning horizon end 20130320
8 Importing IV_FIRST_SLOT_ONLY Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN 'X' Find only the first free slot 20130320

Method DETERMINE_FREE_SLOT on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method GET_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130826
2 Importing IT_TECHOBJ Call by reference Type reference (TYPE) /MRSS/T_GUID_TAB List of Technical objects guids 20140309
3 Importing IT_WORKCENTER Call by reference Type reference (TYPE) /MRSS/T_GUID_TAB List of Work center guids 20130826
4 Importing IV_BEG_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_SGE_TIMESTAMP Planning horizon begin imestamp 20130328
5 Importing IV_END_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_SGE_TIMESTAMP Planning horizon end Timestamp 20130328
6 Importing IV_INITIAL_FETCH Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Is the fetch happening for the first time ? 20140316

Method GET_AVAILABILITY on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method GET_DEMANDS_FROM_RELATIONSHIPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DEMANDS Call by reference Type reference (TYPE) /MRSS/T_GUID_WITH_STATUS_TAB Table of guids with a boolean status 20130508
2 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130508
3 Importing IT_ITEMS Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Table of demand items in structure representation 20130508
4 Importing IT_RELATIONSHIP Call by reference Type reference (TYPE) /MRSS/T_RELATIONSHIPS_TAB Table of relationships 20130508

Method GET_DEMANDS_FROM_RELATIONSHIPS on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EREF_SCHEDULE_ENGINE Value transfer Object reference (TYPE REF TO) /MRSS/CL_SGE_WC_SCHED_ENG Simulation of Work Center Availability 20130320

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

Method INITIALIZE Signature

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

Method REMOVE_DEMANDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DEMANDS Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB List of demands that need to be removed from list 20130516

Method REMOVE_DEMANDS on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method RESET Signature

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

Method SCHEDULE_ORDER_SLOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130320
2 Exporting ET_SLOTS Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_TAB Demand Scheduling 20130320
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130320
4 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130320
5 Importing IT_ITEMS Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Table of single demands of the order 20130320
6 Importing IT_RELATIONSHIP Call by reference Type reference (TYPE) /MRSS/T_RELATIONSHIPS_TAB Table of relationships 20130320
7 Importing IV_BEG_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_SGE_TIMESTAMP Planning Horizon Begin 20130320
8 Importing IV_DAY_WISE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Indicates that there would be one proposal per date 20130320
9 Importing IV_END_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_SGE_TIMESTAMP Planning Horizon End 20130320
10 Importing IV_NUMBER_PROPOSAL Call by reference Type reference (TYPE) INT4 Number of proposals to be limited to 20130320

Method SCHEDULE_ORDER_SLOT on class /MRSS/CL_SGE_WC_SCHED_ENG has no exception.

Method UPDATE_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130826
2 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130826
3 Importing IS_SCHEDULE_PARAMETER Call by reference Type reference (TYPE) /MRSS/T_SGE_SCHEDULE_PARAMETER Scheduling Parameters 20130826
4 Importing IT_DEMANDS_EXCLUDE Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Table of demands, to be excluded from capacity 20130828
5 Importing IT_DEMANDS_INCLUDE Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR_TAB Table of demands, to be included in capacity 20130828
6 Importing IV_BEG_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP Start Time of interval for Graph recalculation 20130826
7 Importing IV_END_TIMESTAMP Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP End Time of interval for Graph recalculation 20130826
8 Importing IV_INITIAL_FETCH Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Is the fetch happening for the first time ? 20140316

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