SAP ABAP Class /MRSS/CL_FNC_AUTO_ASSIGNMENT (Handle Command for Automatic Assignment creation)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   CA-MRS (Application Component) SAP Multiresource Scheduling
     /MRSS/FNC (Package) MRS Engine - Dynamic Command Functional Classes
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /MRSS/IF_SGE_COMMAND_HISTORY Interface for Command History 20130619
Properties
Class /MRSS/CL_FNC_AUTO_ASSIGNMENT  
Short Description Handle Command for Automatic Assignment creation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/FNC   MRS Engine - Dynamic Command Functional Classes 
Created 20130619   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 /MRSS/IF_SGE_COMMAND_HISTORY Interface for Command History 20130619
Friends
Class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FAILED_AUTO_AVAIL Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'A' Availability thresholds not met 20130619
2 GC_FAILED_AUTO_AVAIL_SLOT Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'S' No concrete slot could be determined 20130619
3 GC_FAILED_AUTO_CUST Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'C' No customizing entry for demand 20130619
4 GC_FAILED_AUTO_CUST_UTIL Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'U' Customizing maintained incorrectly 20130619
5 GC_FAILED_AUTO_NOT_CONCRETE Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'K' Slot-based determination but demand is not concrete-relevant 20130619
6 GC_FAILED_AUTO_NO_REQ_PROF Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'R' Demand does not have a requirement profile 20130619
7 GC_FAILED_AUTO_QUAL Constant Protected Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS 'Q' Qualification thresholds not met 20130619
8 GREF_APPLICATION Instance attribute Protected Object reference (TYPE REF TO) /MRSS/CL_SGE_APPLICATION Scheduling Engine Application 20130619
9 GREF_EXTBL_CHECK Instance attribute Private Object reference (TYPE REF TO) /MRSS/IF_SGE_EXTBL_CHECK Checks for external business logic 20130619
10 GS_SCHEDPAR Instance attribute Private Type reference (TYPE) /MRSS/T_SCHEDPAR Utilization-based scheduling parameters 20130619
11 GT_COMMANDS Instance attribute Private Type reference (TYPE) /MRSS/T_COMMAND_GEN_TAB Generic Command Tab Page 20130619
12 GT_RESOURCES Instance attribute Private Type reference (TYPE) /MRSS/T_RESOURCE_TAB Table with Resources 20130619
13 GV_ADD_RESOURCE Instance attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
14 GV_DEM_CAP_FORCED Instance attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
15 GV_DEM_GUID Instance attribute Private Type reference (TYPE) /MRSS/T_GUID GUID 20130619
16 GV_PLB_RELEVANT Instance attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
17 GV_SCHED_INDICATOR Instance attribute Private Type reference (TYPE) /MRSS/T_SCHED_INDICATOR Scheduling Indicator (Automatic Scheduling & Self Planning) 20130619
18 GV_SCHED_TYPE Instance attribute Private Type reference (TYPE) /MRSS/T_SGE_AUTO_SCHED_TYPE Type of automatic scheduling (Classic, New, Utilization) 20130619
19 GV_SELF_PLANNING Instance attribute Private Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ADDITIONAL_RESOURCE Instance method Public Method Check if an additional resource was added 20130619
2 CHECK_ASSIGNMENT_DATES Instance method Public Method Check if assignment dates are within the planning period 20130619
3 CHECK_UTILIZATION_THRESHOLD Instance method Public Method Check the utilization per-day and per-week parameters 20130619
4 DETERMINE_RESOURCE_SLOTS Instance method Private Method Determine the earliest suitable slots for the resources 20130619
5 EXECUTE Instance method Public Method 20130619
6 FIND_FIRST_SLOT Instance method Private Method Find first available slot 20130619
7 GET_INSTANCE Static method Public Method 20130619
8 GET_SCHED_INDICATOR Instance method Public Method Get the scheduling indicator 20130619
9 INITIALIZE_DEM_ORG_RESOURCES Instance method Private Method Initialize resources assigned to the demand planning node 20130619
10 PREPARE_ASSIGNMENT_DATA Instance method Private Method Prepare all the Assignment Data 20130619
11 PREPARE_DEMAND_DATA Instance method Private Method Prepare the demand data 20130619
12 RESOURCE_AVAIL_CHECK Instance method Private Method Check Resource Availabilities 20130619
13 RESOURCE_QUALIFICATION_CHECK Instance method Private Method Check Resource Qualification 20130619
14 SET_ADDITIONAL_RESOURCE Instance method Private Method Set the Additional Resource 20130619
15 SET_CAPACITIVE_PLANNING Instance method Private Method Set the Capacitive planning indicator for Demand 20130619
16 SHIFT_ASG_BY_OFFSET Instance method Private Method Method to shift an assignment by an offset 20130619
Events
Class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no event.
Types
Class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no local type.
Method Signatures

Method CHECK_ADDITIONAL_RESOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ADD_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619

Method CHECK_ADDITIONAL_RESOURCE on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method CHECK_ASSIGNMENT_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130619
2 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
3 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /MRSS/T_ASS_WRK_TAB Work Structure for Assignment Operations 20130619

Method CHECK_ASSIGNMENT_DATES on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method CHECK_UTILIZATION_THRESHOLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FAILED Value transfer Type reference (TYPE) /MRSS/T_BOOLEAN Will the utilization be under the threshold ? 20130619
2 Importing IS_ASSIGNMENT Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_INT New assignment to be created 20130619
3 Importing IV_RESOURCE_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID Resource GUID 20130619
4 Importing IV_UTIL_DAY Call by reference Type reference (TYPE) /MRSS/T_THRESHOLD_DAY Util. threshold in percentage per day 20130619
5 Importing IV_UTIL_WEEK Call by reference Type reference (TYPE) /MRSS/T_THRESHOLD_WEEK Util. threshold in percentage per week 20130619

Method CHECK_UTILIZATION_THRESHOLD on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method DETERMINE_RESOURCE_SLOTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Value transfer Type reference (TYPE) /MRSS/T_MESSAGE_TAB Tabelle von Nachrichten 20130619
2 Exporting ET_RESOURCE_SLOTS Value transfer Type reference (TYPE) /MRSS/T_GUID_TIME_INT_TAB Table with GUIDs and Associated Time Intervals 20130619
3 Exporting EV_FAILED_STATUS Value transfer Type reference (TYPE) /MRSS/T_SGE_AUTO_ASGN_STATUS Internal error status for automatic assignment 20130619
4 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_STR Complex demand in structure representation 20130619
5 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130619
6 Importing IS_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Timeline for finding available slots 20130619
7 Importing IT_RES_PRIORITY Call by reference Type reference (TYPE) /MRSS/T_SGE_RES_GUID_PRIO_TAB List of GUIDs 20130619
8 Importing IV_ASSIGNMENT_TYPE Call by reference Type reference (TYPE) /MRSS/T_SGE_ASSIGNMENT_TYPE ' ' Assignment category 20130619
9 Importing IV_THRESHOLD_AVAIL Call by reference Type reference (TYPE) /MRSS/T_AVAIL_THR Threshold value of availability (for automatic scheduling) 20130619
10 Importing IV_UTILTHRESH_DAY Call by reference Type reference (TYPE) /MRSS/T_THRESHOLD_DAY Threshold in percentage per day 20130619
11 Importing IV_UTILTHRESH_WEEK Call by reference Type reference (TYPE) /MRSS/T_THRESHOLD_WEEK Threshold in percentage per week 20130619

Method DETERMINE_RESOURCE_SLOTS on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method EXECUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EREF_COMMAND Call by reference Object reference (TYPE REF TO) /MRSS/CL_CMD_MULTIPLE_COMMAND Scheduling Engine Command 20130619
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130619
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean variable 20130619

Method EXECUTE on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method FIND_FIRST_SLOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FIRST_SLOT Value transfer Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Corresponding slot of earliest resource 20130619
2 Exporting EV_FIRST_RESOURCE Value transfer Type reference (TYPE) /MRSS/T_GUID Earliest resource 20130619
3 Importing IT_RESOURCE_SLOTS Call by reference Type reference (TYPE) /MRSS/T_GUID_TIME_INT_TAB Table with GUIDs and Associated Time Intervals 20130619

Method FIND_FIRST_SLOT on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EREF_INSTANCE Call by reference Object reference (TYPE REF TO) OBJECT 20130619
2 Importing IREF_ALERT_MANAGER Call by reference Object reference (TYPE REF TO) /MRSS/CL_SGA_ALERTS Alerts-Monitor 20130619
3 Importing IREF_CHECK_MANAGER Call by reference Object reference (TYPE REF TO) /MRSS/CL_SGE_CHECKS Checks in the Scheduling Engine Application 20130619
4 Importing IS_ADD_ATTRIBUTES Call by reference Type reference (TYPE) /MRSS/T_COM_ADD_ATTR Command: Additional Attributes 20130619
5 Importing IS_DYNAMIC_COMMAND_DATA Call by reference Type reference (TYPE) /MRSS/T_FNC_DATA_HOLDER Holds the data passed into the dynamic command 20130619

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

Method GET_SCHED_INDICATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SCHED_INDICATOR Value transfer Type reference (TYPE) /MRSS/T_SCHED_INDICATOR Scheduling Indicator (Automatic Scheduling & Self Planning) 20130619

Method GET_SCHED_INDICATOR on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method INITIALIZE_DEM_ORG_RESOURCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Single demand 20130619
2 Importing IV_NUM_CAP_DAYS Call by reference Type reference (TYPE) INT4 No of days for capacitive planning 20130619

Method INITIALIZE_DEM_ORG_RESOURCES on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method PREPARE_ASSIGNMENT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSIGNMENT_WRK Value transfer Type reference (TYPE) /MRSS/T_ASS_WRK_TAB Work Structure for Assignment Operations 20130619
2 Exporting ET_MESSAGES Value transfer Type reference (TYPE) /MRSS/T_MESSAGE_TAB Message Table 20130619
3 Exporting EV_FAILED Value transfer Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
4 Importing IS_ASG_INTERVAL Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL Assignment Interval 20130619
5 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_STR Complex demand in structure representation 20130619
6 Importing IV_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130619

Method PREPARE_ASSIGNMENT_DATA on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method PREPARE_DEMAND_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DEM_STR Call by reference Type reference (TYPE) /MRSS/T_DEM_STR_WRK_TAB Complex demands in structure representation 20130619
2 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130619
3 Importing IV_RESET_CAPACITIVE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Clear the capacitive planning flag 20130619
4 Importing IV_SCHED_INDICATOR Call by reference Type reference (TYPE) /MRSS/T_SCHED_INDICATOR Scheduling Indicator (Automatic Scheduling & Self Planning) 20130619

Method PREPARE_DEMAND_DATA on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method RESOURCE_AVAIL_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FIRST_SLOT Call by reference Type reference (TYPE) /MRSS/T_TIMESTAMP_INTERVAL 20130619
2 Exporting EV_RESOURCE_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130619
3 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_STR Complex demand in structure representation 20130619
4 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130619
5 Importing IT_RES_PRIORITY Call by reference Type reference (TYPE) /MRSS/T_SGE_RES_GUID_PRIO_TAB List of GUIDs 20130619
6 Importing IV_CAPACITIVE_PLANNING Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
7 Importing IV_CAPA_TYPE_AVAIL Call by reference Type reference (TYPE) /MRSS/T_TYPE_AVAIL_DETER Type of Availability determination (for automatic scheduling 20130619
8 Importing IV_THRESHOLD_AVAIL Call by reference Type reference (TYPE) /MRSS/T_AVAIL_THR Threshold value of availability (for automatic scheduling) 20130619

Method RESOURCE_AVAIL_CHECK on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method RESOURCE_QUALIFICATION_CHECK 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 20130619
2 Exporting ET_RESOURCE_SLOTS Value transfer Type reference (TYPE) /MRSS/T_GUID_TIME_INT_TAB Filtered resources and concrete slots 20130619
3 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
4 Exporting EV_RESOURCE_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130619
5 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_STR Komplexer Bedarf in Strukturdarstellung 20130619
6 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130619
7 Importing IT_RESOURCE_SLOTS Call by reference Type reference (TYPE) /MRSS/T_GUID_TIME_INT_TAB Resources and concrete slots determined 20130619
8 Importing IV_CAPACITIVE_PLANNING Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
9 Importing IV_CAPA_TYPE_AVAIL Call by reference Type reference (TYPE) /MRSS/T_TYPE_AVAIL_DETER 20130619
10 Importing IV_MANDT_QUALF Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Check mandatory qualifications ? 20130619
11 Importing IV_NUM_CAP_DAYS Call by reference Type reference (TYPE) INT4 Natural Number 20130619
12 Importing IV_QUALF_CHK_ACTIVE Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Perform qualification matching ? 20130619
13 Importing IV_THRESHOLD_AVAIL Call by reference Type reference (TYPE) /MRSS/T_AVAIL_THR 20130619
14 Importing IV_THRESHOLD_QUALF Call by reference Type reference (TYPE) /MRSS/T_QUALF_THR Threshold value of qualification (for automatic scheduling) 20130619

Method RESOURCE_QUALIFICATION_CHECK on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method SET_ADDITIONAL_RESOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESOURCE Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130619
2 Importing IS_DEMAND_ITEM Call by reference Type reference (TYPE) /MRSS/T_DEM_ITEM_STR Structure representation of a demand item 20130619
3 Importing IV_NUM_CAP_DAYS Call by reference Type reference (TYPE) INT4 Natural Number 20130619
4 Importing IV_RESOURCE_GUID Call by reference Type reference (TYPE) /MRSS/T_GUID GUID 20130619

Method SET_ADDITIONAL_RESOURCE on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method SET_CAPACITIVE_PLANNING 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 20130619
2 Exporting EV_FAILED Call by reference Type reference (TYPE) /MRSS/T_BOOLEAN Boolean Variable 20130619
3 Importing IS_DEMAND Call by reference Type reference (TYPE) /MRSS/T_DEM_STR Complex demand in structure representation 20130619

Method SET_CAPACITIVE_PLANNING on class /MRSS/CL_FNC_AUTO_ASSIGNMENT has no exception.

Method SHIFT_ASG_BY_OFFSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ASSIGNMENT_SHIFTED Value transfer Type reference (TYPE) /MRSS/T_ASSIGNMENT_INT Assignment shifted by the offset 20130619
2 Importing IS_ASSIGNMENT_ORIGINAL Call by reference Type reference (TYPE) /MRSS/T_ASSIGNMENT_INT Original assignment 20130619
3 Importing IV_OFFSET_SECS Call by reference Type reference (TYPE) INT4 Offset in seconds 20130619

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