SAP ABAP Class CL_RSCRM_IMP_TIME_CALWEEK_PF (In Memory Planning - Time Related Processes (CALWEEK))
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
CRM (Application Component) Customer Relationship Management
⤷
RSCRM_IMP_CORE (Package) CRM In-Memory Planning Core
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSCRM_IMP_TIME | In Memory Planning - Time Related Processes | 20121101 |
Properties
| Class | CL_RSCRM_IMP_TIME_CALWEEK_PF | |
| Short Description | In Memory Planning - Time Related Processes (CALWEEK) | |
| Super Class | CL_RSCRM_IMP_TIME | In Memory Planning - Time Related Processes |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSCRM_IMP_CORE | CRM In-Memory Planning Core |
| Created | 20121004 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_RSCRM_IMP_TIME_CALWEEK_PF has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_RSCRM_IMP_OBJECT | 20121101 | In Memory Planning Services Object |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | RSCRMS_IMP_PATTERN_CONFIG | Buying Pattern Configuration Information | 20121101 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Adjust periods according to the removed days | 20130315 | |
| 2 | Instance method | Protected | Method | Build selection parameter for planning function call | 20121101 | |
| 3 | Instance method | Protected | Method | Calculate the duration of a period in week | 20130315 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20121101 | |
| 5 | Instance method | Protected | Method | Determine removed weeks | 20130920 | |
| 6 | Instance method | Protected | Method | Get the weekday from a date | 20121101 | |
| 7 | Instance method | Protected | Method | Get the week from a date | 20121101 | |
| 8 | Instance method | Protected | Method | Map weeks of old period to new period | 20121101 |
Events
Class CL_RSCRM_IMP_TIME_CALWEEK_PF has no event.
Types
Class CL_RSCRM_IMP_TIME_CALWEEK_PF has no local type.
Method Signatures
Method ADJUST_PERIODS_BY_REMOVED_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_NEW_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | New period | 20130315 | |||
| 2 | CS_OLD_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | Old period | 20130315 | |||
| 3 | IT_REMOVED_DAYS | Call by reference | Type reference (TYPE) | RSCRMT_IMP_DAYS | List of removed days (factory calendar) | 20130315 |
Method ADJUST_PERIODS_BY_REMOVED_DAYS on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method BUILD_SELECTION_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SELECTION | Call by reference | Type reference (TYPE) | IF_RSCRM_IMP_ACTIONS_SERVICE=>TT_TIMESHIFT_SELECTION | Parameter group SELECTION | 20121101 | |||
| 2 | IS_OPERATION | Call by reference | Type reference (TYPE) | RSCRMS_IMP_TIME_SHIFT | Timeshift operation | 20121101 | |||
| 3 | IV_SEQNR | Call by reference | Type reference (TYPE) | I | Sequence number | 20121101 |
Method BUILD_SELECTION_PARAMETER on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method CALCULATE_WEEK_DURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_END_WEEK | Call by reference | Type reference (TYPE) | KWEEK | Ending week | 20130315 | |||
| 2 | IV_START_WEEK | Call by reference | Type reference (TYPE) | KWEEK | Starting week | 20130315 | |||
| 3 | RV_DURATION | Value transfer | Type reference (TYPE) | I | Duration | 20130315 |
Method CALCULATE_WEEK_DURATION on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_RSCRM_IMP_OBJECT | CRM In-Memory Planning Services Object | 20121101 | |||
| 2 | IS_BUYING_PATTERN_CONFIG | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PATTERN_CONFIG | Buying Pattern Configuration Information | 20121101 | |||
| 3 | IT_REMOVED_DAYS | Call by reference | Type reference (TYPE) | RSCRMT_IMP_DAYS_BY_CHA_VALUE | List of removed days per characteristic value | 20121101 | |||
| 4 | IT_TIMESHIFT_KF_REDISTRIBUTE | Call by reference | Type reference (TYPE) | RSCRMT_IMP_INFOOBJECT | Key figures to be redistributed (Volume, Fix Spends) | 20121101 | |||
| 5 | IT_TIMESHIFT_KF_REPOST_COPY | Call by reference | Type reference (TYPE) | RSCRMT_IMP_INFOOBJECT | Key figures to be reposted/copied (Var. Spends) | 20121101 | |||
| 6 | IT_TIMESHIFT_OPERATIONS | Call by reference | Type reference (TYPE) | RSCRMT_IMP_TIME_SHIFT | Time shift operations | 20121101 | |||
| 7 | IT_TIMESHIFT_REDIST_OPERATIONS | Call by reference | Type reference (TYPE) | RSCRMT_IMP_TIME_SHIFT_DISTR | Time shift BW distribution operations | 20121101 | |||
| 8 | IV_FULL_REPOST_DEACTIVATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Full repost of all key fig. deactivated (same duration) | 20121101 | |||
| 9 | IV_TIMESHIFT_REDIST_DEACTIVATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Redistribution deactivated (Volume, Fix Spends) | 20121101 | |||
| 10 | IV_TIMESHIFT_REPOST_DEACTIVATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Repost/Copy deactivated (Var. Spends) | 20121101 | |||
| 11 | IV_TIME_RATIO_KYF | Call by reference | Type reference (TYPE) | RSCRM_IMP_INFOOBJECT | Key figure for the time ratio distribution | 20121101 |
Method CONSTRUCTOR on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method DETERMINE_REMOVED_WEEKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_REMOVED_WEEKS | Call by reference | Type reference (TYPE) | RSCRMT_IMP_RANGE_VALUE | Table of range value | 20130920 | |||
| 2 | IS_NEW_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | Planning Period | 20130920 | |||
| 3 | IS_OLD_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | Planning Period | 20130920 |
Method DETERMINE_REMOVED_WEEKS on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method GET_WEEKDAY_FROM_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | D | Input Date | 20121101 | |||
| 2 | RV_WEEKDAY | Value transfer | Type reference (TYPE) | INT1 | Weekday | 20121101 |
Method GET_WEEKDAY_FROM_DATE on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method GET_WEEK_FROM_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | D | Input Date | 20121101 | |||
| 2 | RV_WEEK | Value transfer | Type reference (TYPE) | KWEEK | Calendar Week | 20121101 |
Method GET_WEEK_FROM_DATE on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
Method MAP_WEEKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATES_MAPPING | Call by reference | Type reference (TYPE) | IF_RSCRM_IMP_ACTIONS_SERVICE=>TT_TIMESHIFT_DATES_MAPPING | Parameter group DATES_MAPPING | 20121101 | |||
| 2 | IS_NEW_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | New period | 20121101 | |||
| 3 | IS_OLD_PERIOD | Call by reference | Type reference (TYPE) | RSCRMS_IMP_PLANNING_PERIOD | Old period | 20121101 | |||
| 4 | IV_SEQNR | Call by reference | Type reference (TYPE) | I | Sequence number | 20121101 |
Method MAP_WEEKS on class CL_RSCRM_IMP_TIME_CALWEEK_PF has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |