SAP ABAP Class CL_RSCRM_IMP_TIME (In Memory Planning - Time Related Processes)
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 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSCRM_IMP_TIME In Memory Planning - Time Related Processes 20120920
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSCRM_IMP_TIME_CALDAY In Memory Planning - Time Related Processes (CALDAY) 20120920
2 Inheritance (c INHERITING FROM c_ref)  CL_RSCRM_IMP_TIME_CALWEEK_PF In Memory Planning - Time Related Processes (CALWEEK) 20121101
Properties
Class CL_RSCRM_IMP_TIME  
Short Description In Memory Planning - Time Related Processes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSCRM_IMP_CORE   CRM In-Memory Planning Core 
Created 20120903   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSCRM_IMP_TIME In Memory Planning - Time Related Processes 20120920
Friends
# Friend Modeled only Created on Description
1 CL_RSCRM_IMP_OBJECT 20120920 In Memory Planning Services Object
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_OBJECT Instance attribute Protected Object reference (TYPE REF TO) CL_RSCRM_IMP_OBJECT In Memory Planning Services Object 20120920
2 MT_REMOVED_DAYS Instance attribute Protected Type reference (TYPE) RSCRMT_IMP_DAYS_BY_CHA_VALUE List of removed days per characteristic value 20120920
3 MT_TIMESHIFT_KF_REDISTRIBUTE Instance attribute Protected Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key firgures to be redistributed (Volume, Fix Spends) 20120920
4 MT_TIMESHIFT_KF_REPOST_COPY Instance attribute Protected Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key firgures to be reposted/copied (Var. Spends) 20120920
5 MT_TIMESHIFT_OPERATIONS Instance attribute Protected Type reference (TYPE) RSCRMT_IMP_TIME_SHIFT Time shift operations 20120920
6 MV_FULL_REPOST_DEACTIVATED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Full repost of all key fig. deactivated (same duration) 20120920
7 MV_TIMESHIFT_REDIST_DEACTIVATE Instance attribute Protected Type reference (TYPE) ABAP_BOOL Redistribution deactivated (Volume, Fix Spends) 20120920
8 MV_TIMESHIFT_REPOST_DEACTIVATE Instance attribute Protected Type reference (TYPE) ABAP_BOOL Repost/Copy deactivated (Var. Spends) 20120920
9 MV_TIME_RATIO_KYF Instance attribute Protected Type reference (TYPE) RSCRM_IMP_INFOOBJECT Key figure for the time ratio distribution 20121101
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_TIME_SELECTION Instance method Protected Method Time shift - Adjust time selection in the object selection 20120920
2 CALCULATE_DURATION Instance method Protected Method Time shift - Calculate duration of a period 20120920
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120920
4 GET_EARLIEST_AND_LATEST_DATES Instance method Protected Method Get the earliest and latest dates 20121101
5 GET_NEXT_VALID_DATE Instance method Protected Method Get the next valid date according to the removed days 20130315
6 GET_REMOVED_DAYS_BY_CHA_VALUE Instance method Protected Method Get the removed days for one char. value 20120920
7 IS_KYF_SELECTED Instance method Protected Method Check if we have at least one key figure selected 20120920
Events
Class CL_RSCRM_IMP_TIME has no event.
Types
Class CL_RSCRM_IMP_TIME has no local type.
Method Signatures

Method ADJUST_TIME_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADJ_OBJECT_SELECTION Call by reference Type reference (TYPE) RSCRMT_IMP_SELECTION Object selection adjusted for time selection 20120920
2 Importing IT_TIME_SHIFT_OPERATIONS Call by reference Type reference (TYPE) RSCRMT_IMP_TIME_SHIFT Table of Planning Period Changements 20120920

Method ADJUST_TIME_SELECTION on class CL_RSCRM_IMP_TIME has no exception.

Method CALCULATE_DURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_END_DATE Call by reference Type reference (TYPE) D Ending date 20120920
2 Changing CV_START_DATE Call by reference Type reference (TYPE) D Starting date 20120920
3 Exporting EV_DURATION Call by reference Type reference (TYPE) I Duration 20120920

Method CALCULATE_DURATION on class CL_RSCRM_IMP_TIME has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) CL_RSCRM_IMP_OBJECT CRM In-Memory Planning Services Object 20120920
2 Importing IT_REMOVED_DAYS Call by reference Type reference (TYPE) RSCRMT_IMP_DAYS_BY_CHA_VALUE List of removed days per characteristic value 20120920
3 Importing IT_TIMESHIFT_KF_REDISTRIBUTE Call by reference Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key figures to be redistributed (Volume, Fix Spends) 20120920
4 Importing IT_TIMESHIFT_KF_REPOST_COPY Call by reference Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key figures to be reposted/copied (Var. Spends) 20120920
5 Importing IT_TIMESHIFT_OPERATIONS Call by reference Type reference (TYPE) RSCRMT_IMP_TIME_SHIFT Time shift operations 20120920
6 Importing IV_FULL_REPOST_DEACTIVATED Call by reference Type reference (TYPE) ABAP_BOOL Full repost of all key fig. deactivated (same duration) 20120920
7 Importing IV_TIMESHIFT_REDIST_DEACTIVATE Call by reference Type reference (TYPE) ABAP_BOOL Redistribution deactivated (Volume, Fix Spends) 20120920
8 Importing IV_TIMESHIFT_REPOST_DEACTIVATE Call by reference Type reference (TYPE) ABAP_BOOL Repost/Copy deactivated (Var. Spends) 20120920
9 Importing 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 has no exception.

Method GET_EARLIEST_AND_LATEST_DATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EARLIEST_DATE Call by reference Type reference (TYPE) D Earliest date 20121101
2 Exporting EV_LATEST_DATE Call by reference Type reference (TYPE) D Latest date 20121101
3 Importing IT_TIME_SHIFT_OPERATIONS Call by reference Type reference (TYPE) RSCRMT_IMP_TIME_SHIFT Table of Planning Period Changements 20121101

Method GET_EARLIEST_AND_LATEST_DATES on class CL_RSCRM_IMP_TIME has no exception.

Method GET_NEXT_VALID_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_REMOVED_DAYS Call by reference Type reference (TYPE) RSCRMT_IMP_DAYS List of removed days 20130315
2 Importing IV_DATE Call by reference Type reference (TYPE) D Date 20130315
3 Importing IV_DATE_INCREMENT Call by reference Type reference (TYPE) I -1 Date increment (-1 or 1) 20130315
4 Importing IV_VALID_RANGE_END_DATE Call by reference Type reference (TYPE) D Range of valid date - End 20130315
5 Importing IV_VALID_RANGE_START_DATE Call by reference Type reference (TYPE) D Range of valid date - Start 20130315
6 Returning RV_NEXT_VALID_DATE Value transfer Type reference (TYPE) D Next valid date 20130315

Method GET_NEXT_VALID_DATE on class CL_RSCRM_IMP_TIME has no exception.

Method GET_REMOVED_DAYS_BY_CHA_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_REMOVED_DAYS Call by reference Type reference (TYPE) RSCRMS_IMP_DAYS_BY_CHA_VALUE List of removed days for one char. value (Period Type) 20120920
2 Importing IT_CHA_SELECTION Call by reference Type reference (TYPE) RSCRMT_IMP_SELECTION Time Shift operation - Characteristic selection 20120920

Method GET_REMOVED_DAYS_BY_CHA_VALUE on class CL_RSCRM_IMP_TIME has no exception.

Method IS_KYF_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KYF_SELECTION Call by reference Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key figures selection 20120920
2 Importing IT_KYF_TO_EXCLUDE Call by reference Type reference (TYPE) RSCRMT_IMP_INFOOBJECT Key figures exclusion 20120920
3 Returning RV_KYF_SELECTED Value transfer Type reference (TYPE) ABAP_BOOL At least one key figure is selected 20120920

Method IS_KYF_SELECTED on class CL_RSCRM_IMP_TIME has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740