SAP ABAP Class /MRSS/CL_RMS_ASSIGNMENTPATTERN (Scheduling with Assignment pattern)
Hierarchy
☛
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
⤷
PM-WOC-CP (Application Component) Capacity and Resource Planning
⤷
/MRSS/RMS (Package) Resource Management Service Layer
⤷
⤷
Properties
| Class | /MRSS/CL_RMS_ASSIGNMENTPATTERN | |
| Short Description | Scheduling with Assignment pattern | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /MRSS/RMS | Resource Management Service Layer |
| Created | 20080902 | SAP |
| Last change | 20141109 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no forward declaration.
Interfaces
Class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no interface implemented.
Friends
Class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | 20090806 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Compute end date based on staffed days | 20080902 | |
| 2 | Static method | Public | Method | Compute staffed day based on assigned day & assignmt pattern | 20080902 | |
| 3 | Static method | Public | Method | Clear messages | 20090806 | |
| 4 | Static method | Public | Method | Returns weekday | 20080910 | |
| 5 | Static method | Public | Method | Form Timestamps | 20090824 | |
| 6 | Static method | Public | Method | Get refined dates based on Resource Capacity | 20090803 | |
| 7 | Static method | Public | Method | Computes the dates with assignment pattern for removal | 20081023 | |
| 8 | Static method | Public | Method | Get the messages | 20090806 | |
| 9 | Static method | Public | Method | Computes the dates with assignment pattern | 20080910 | |
| 10 | Static method | Public | Method | Calculates year,month,days between the given dates | 20080910 |
Events
Class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no event.
Types
Class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no local type.
Method Signatures
Method CALCULATE_END_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ENDDATE | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080902 | |||
| 2 | IV_ASSIGN_PATTERN | Call by reference | Type reference (TYPE) | XFELD | Pattern indicator | 20080902 | |||
| 3 | IV_DAYS_PERMONTH | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | Number of days per month | 20080902 | |||
| 4 | IV_FRI | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FRIDAY | Friday | 20080902 | |||
| 5 | IV_MON | Call by reference | Type reference (TYPE) | /MRSS/T_RM_MONDAY | Monday | 20080902 | |||
| 6 | IV_STAFFED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | RM: Requested, Staffed, Refined days etc | 20080902 | |||
| 7 | IV_START_DATE | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20080902 | |||
| 8 | IV_THUR | Call by reference | Type reference (TYPE) | /MRSS/T_RM_THURSDAY | Thursday | 20080902 | |||
| 9 | IV_TUES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_TUESDAY | Tuesday | 20080902 | |||
| 10 | IV_WED | Call by reference | Type reference (TYPE) | /MRSS/T_RM_WEDNESDAY | Wednesday | 20080902 |
Method CALCULATE_END_DATE on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method CALCULATE_STAFFED_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ASSIGNED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20080902 | |||
| 2 | EV_STAFFED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | Calculated staffed days | 20080902 | |||
| 3 | IV_ASSIGNED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | Assigned days | 20080902 | |||
| 4 | IV_DAYS_PERMONTH | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | Number of days per month | 20080902 | |||
| 5 | IV_NUM_MONTHS | Call by reference | Type reference (TYPE) | /MRSS/T_RM_MONTH | Number of month | 20080902 |
Method CALCULATE_STAFFED_DAYS on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method CLEAR_MESSAGE Signature
Method CLEAR_MESSAGE on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no parameter.
Method CLEAR_MESSAGE on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method DATE_TO_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20080910 | |||
| 2 | WEEKDAY | Call by reference | Type reference (TYPE) | /MRSS/T_RM_WEEKDAY | 20080910 |
Method DATE_TO_DAY on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method FORM_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20090824 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20090824 | |||
| 3 | IV_TIME | Call by reference | Type reference (TYPE) | SY-UZEIT | Current Time of Application Server | 20090824 |
Method FORM_TIMESTAMP on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method GET_DATES_BASED_ON_CAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_DATES_TAB | Table type for time rule date details | 20090803 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | Message Table | 20100405 | |||
| 3 | IREF_UI_ASGN | Call by reference | Object reference (TYPE REF TO) | /MRSS/CL_RMU_UI_ASGN | WD UI Assignment | 20090803 | |||
| 4 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_RM_CANDIDATE_ID | Consultant ID | 20090803 | |||
| 5 | IV_END_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20090803 | |||
| 6 | IV_HALF_DAY | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | 20090803 | ||||
| 7 | IV_STAFFED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | RM: Requested, Staffed, Refined days etc | 20090803 | |||
| 8 | IV_START_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20090803 |
Method GET_DATES_BASED_ON_CAP on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method GET_INVERT_TIME_RULE_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_DATES_TAB | Table type for time rule date details | 20081023 | |||
| 2 | IV_END_DATE | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20081023 | |||
| 3 | IV_FRI | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FRIDAY | Friday | 20081023 | |||
| 4 | IV_MON | Call by reference | Type reference (TYPE) | /MRSS/T_RM_MONDAY | Monday | 20081023 | |||
| 5 | IV_START_DATE | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20081023 | |||
| 6 | IV_THUR | Call by reference | Type reference (TYPE) | /MRSS/T_RM_THURSDAY | Thursday | 20081023 | |||
| 7 | IV_TUES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_TUESDAY | Tuesday | 20081023 | |||
| 8 | IV_WED | Call by reference | Type reference (TYPE) | /MRSS/T_RM_WEDNESDAY | Wednesday | 20081023 |
Method GET_INVERT_TIME_RULE_PERIOD on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method GET_MESSAGES 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 | 20090806 |
Method GET_MESSAGES on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
Method GET_TIME_RULE_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_END_DATE | Call by reference | Type reference (TYPE) | ENDDA | End date | 20080915 | |||
| 2 | ET_DATES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_DATES_TAB | Time Rule Date Table | 20080910 | |||
| 3 | ET_RETURN | Call by reference | Type reference (TYPE) | /MRSS/T_MESSAGE_TAB | Message Table | 20100331 | |||
| 4 | EV_STAFFED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | RM: Requested, Staffed, Refined days etc | 20080916 | |||
| 5 | IREF_UI_ASGN | Call by reference | Object reference (TYPE REF TO) | /MRSS/CL_RMU_UI_ASGN | WD UI Assignment | 20090803 | |||
| 6 | IV_ASSIGNED_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | RM: Requested, Staffed, Refined days etc | 20080910 | |||
| 7 | IV_CALC | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | On click of Calculate button | 20090918 | |||
| 8 | IV_CANDIDATE_ID | Call by reference | Type reference (TYPE) | /MRSS/T_RM_CANDIDATE_ID | Consultant ID | 20090803 | |||
| 9 | IV_DAYS_PERMONTH | Call by reference | Type reference (TYPE) | /MRSS/T_DAYS | Number of days per month | 20080910 | |||
| 10 | IV_FRI | Call by reference | Type reference (TYPE) | /MRSS/T_RM_FRIDAY | Friday | 20080910 | |||
| 11 | IV_HALFDAY | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20080910 | |||
| 12 | IV_MON | Call by reference | Type reference (TYPE) | /MRSS/T_RM_MONDAY | Monday | 20080910 | |||
| 13 | IV_MONTHS | Call by reference | Type reference (TYPE) | /MRSS/T_RM_MONTH | Number of months | 20080910 | |||
| 14 | IV_MONTH_START_DATE | Call by reference | Type reference (TYPE) | CHAR2 | Start Date of each month | 20080910 | |||
| 15 | IV_NO_ASGN_DAYS | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | ' ' | 20090824 | |||
| 16 | IV_SAT | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SATURDAY | Saturday | 20080910 | |||
| 17 | IV_SMART_DIST | Call by reference | Type reference (TYPE) | /MRSS/T_BOOLEAN | ' ' | 20090803 | |||
| 18 | IV_START_DATE | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20080910 | |||
| 19 | IV_SUN | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SUNDAY | Sunday | 20080910 | |||
| 20 | IV_THUR | Call by reference | Type reference (TYPE) | /MRSS/T_RM_THURSDAY | Thursday | 20080910 | |||
| 21 | IV_TUES | Call by reference | Type reference (TYPE) | /MRSS/T_RM_TUESDAY | Tuesday | 20080910 | |||
| 22 | IV_WED | Call by reference | Type reference (TYPE) | /MRSS/T_RM_WEDNESDAY | Wednesday | 20080910 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assigned Days (or) Assignment pattern is incomplete | 20100331 |
Method MONTHS_BETWEEN_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20080910 | |||
| 2 | DAYS_OUT | Call by reference | Type reference (TYPE) | I | 20080910 | ||||
| 3 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080910 | |||
| 4 | MONTHS_OUT | Call by reference | Type reference (TYPE) | I | 20080910 | ||||
| 5 | YEARS_OUT | Call by reference | Type reference (TYPE) | I | 20080910 |
Method MONTHS_BETWEEN_DATE on class /MRSS/CL_RMS_ASSIGNMENTPATTERN has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 610 |