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 | Instance attribute | Private | Object reference (TYPE REF TO) | /MRSS/IF_CAG_ADMINISTRATION | Process Capacity Graphs | 20130515 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | /MRSS/CL_SGE_WC_SCHED_ENG | Simulation of Work Center Availability | 20130320 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_CAG_CG_TAB | Capacity Graphs - Holds Q, S graph data | 20130320 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_CAG_CG_TAB | Capacity Graphs - Holds P, R graph data | 20130320 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR_TAB | Single Demands that have been readjusted so far | 20130510 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_CAG_CG_TAB | Technical Object Availability | 20140309 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_TIMESTAMP | Start Time of Availabilities | 20130724 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_CG_TYPE | Type of Capacity Graph | 20130529 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_TIMESTAMP | End Time of Availabilities | 20130724 | |||
| 10 | Constant | Protected | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_DIRECTION | 1 | Scheduling Direction - Future | 20130328 | ||
| 11 | 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 | Instance method | Private | Method | Add the demands to the list of recalculated demands | 20130516 | |
| 2 | Instance method | Private | Method | Calculate the availability based on the graph | 20130826 | |
| 3 | Instance method | Private | Method | Check if demand lies in base availability and adjust | 20130806 | |
| 4 | Instance method | Private | Method | Calculate the availability based on the graph | 20130805 | |
| 5 | Instance method | Public | Method | Return the table of free slots for the demand | 20130320 | |
| 6 | Instance method | Private | Method | Retrieves the availabilities | 20130328 | |
| 7 | Instance method | Private | Method | Get the demands in order based on the relationships | 20130508 | |
| 8 | Static method | Public | Method | Returns the instance for Work Center Scheduler Engine | 20130320 | |
| 9 | Instance method | Private | Method | Initializes the WC Scheduler Engine Class | 20130516 | |
| 10 | Instance method | Private | Method | Remove the demands from the list of recalculated demands | 20130516 | |
| 11 | Instance method | Public | Method | Resets the buffers | 20130328 | |
| 12 | Instance method | Public | Method | Return the table of free slots for operations of the order | 20130320 | |
| 13 | 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 | 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 | EV_CHECK_FAILED | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Did Consumption check failed ? | 20130826 | |||
| 2 | IT_DEMANDS | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR_TAB | Table of old and new demands | 20130826 | |||
| 3 | IV_BEG_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_TIMESTAMP | Start Time of interval for Graph recalculation | 20130826 | |||
| 4 | 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 | EV_BASE_AVAILABILITY_CHECK_OK | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Boolean Variable | 20130807 | |||
| 2 | IS_DEMAND | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR | Structure representation of a demand item | 20130806 | |||
| 3 | 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 | EV_CHECK_FAILED | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Did Consumption check failed ? | 20130807 | |||
| 2 | IS_DEMAND | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR | Table of old and new demands | 20130807 | |||
| 3 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | Message Table | 20130320 | |||
| 2 | ET_SLOTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_TAB | Table of free slots | 20130320 | |||
| 3 | EV_FAILED | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Boolean Variable | 20130320 | |||
| 4 | IS_DEMAND | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR | Items to be shifted | 20130320 | |||
| 5 | IS_SCHEDULE_PARAMETER | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_PARAMETER | Parameters for search | 20130320 | |||
| 6 | IV_BEG_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_TIMESTAMP | Planning horizon begin | 20130320 | |||
| 7 | IV_END_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_TIMESTAMP | Planning horizon end | 20130320 | |||
| 8 | 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 | IS_SCHEDULE_PARAMETER | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_PARAMETER | Scheduling Parameters | 20130826 | |||
| 2 | IT_TECHOBJ | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_TAB | List of Technical objects guids | 20140309 | |||
| 3 | IT_WORKCENTER | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_TAB | List of Work center guids | 20130826 | |||
| 4 | IV_BEG_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_TIMESTAMP | Planning horizon begin imestamp | 20130328 | |||
| 5 | IV_END_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_TIMESTAMP | Planning horizon end Timestamp | 20130328 | |||
| 6 | 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 | ET_DEMANDS | Call by reference | Type reference (TYPE) | /MRSS/T_GUID_WITH_STATUS_TAB | Table of guids with a boolean status | 20130508 | |||
| 2 | IS_SCHEDULE_PARAMETER | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_PARAMETER | Scheduling Parameters | 20130508 | |||
| 3 | IT_ITEMS | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR_TAB | Table of demand items in structure representation | 20130508 | |||
| 4 | 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 | 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 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | Message Table | 20130320 | |||
| 2 | ET_SLOTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_TAB | Demand Scheduling | 20130320 | |||
| 3 | EV_FAILED | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Boolean Variable | 20130320 | |||
| 4 | IS_SCHEDULE_PARAMETER | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_PARAMETER | Scheduling Parameters | 20130320 | |||
| 5 | IT_ITEMS | Call by reference | Type reference (TYPE) | /MRSS/T_DEM_ITEM_STR_TAB | Table of single demands of the order | 20130320 | |||
| 6 | IT_RELATIONSHIP | Call by reference | Type reference (TYPE) | /MRSS/T_RELATIONSHIPS_TAB | Table of relationships | 20130320 | |||
| 7 | IV_BEG_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_TIMESTAMP | Planning Horizon Begin | 20130320 | |||
| 8 | IV_DAY_WISE | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Indicates that there would be one proposal per date | 20130320 | |||
| 9 | IV_END_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_TIMESTAMP | Planning Horizon End | 20130320 | |||
| 10 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | Message Table | 20130826 | |||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | Boolean Variable | 20130826 | |||
| 3 | IS_SCHEDULE_PARAMETER | Call by reference | Type reference (TYPE) | /MRSS/T_SGE_SCHEDULE_PARAMETER | Scheduling Parameters | 20130826 | |||
| 4 | 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 | 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 | IV_BEG_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_TIMESTAMP | Start Time of interval for Graph recalculation | 20130826 | |||
| 7 | IV_END_TIMESTAMP | Call by reference | Type reference (TYPE) | /MRSS/T_TIMESTAMP | End Time of interval for Graph recalculation | 20130826 | |||
| 8 | 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 |