SAP ABAP Class CL_UPARP_COMP_STORE_INDICATOR (Utility class to determine comp store indicator)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-PLA-RAP (Application Component) Retail Assortment Planning
     UPARP (Package) Retail Planning
Properties
Class CL_UPARP_COMP_STORE_INDICATOR  
Short Description Utility class to determine comp store indicator    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package UPARP   Retail Planning 
Created 20080423   SAP 
Last change 20141101    
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
Class CL_UPARP_COMP_STORE_INDICATOR has no interface implemented.
Friends
Class CL_UPARP_COMP_STORE_INDICATOR has no friend class.
Attributes
Class CL_UPARP_COMP_STORE_INDICATOR has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SEASONS Static method Public Method Checks the validity of selected seasons 20080428
2 CONVERT_DATE_TO_FISCPER Static method Public Method Converts date to fiscal year/period 20080424
3 GET_ALL_SEASONS Static method Public Method Gets all the seasons in 0RT_SEASON 20080425
4 GET_COMP_INDICATOR Static method Public Method Returns comp indicator for store/period combination 20080423
5 GET_PLANNING_CYCLE Static method Public Method Returns all the seasons with the comp flag set 20080423
6 GET_PLANT_OPENING_DATE Static method Private Method Gets the opening date of the plant 20080423
7 IS_DATE_IN_SEASON Static method Public Method Returns true if date is in season 20080424
8 SET_SEASON_PLAN_CYCLE Static method Public Method Sets the comparable flag for selected seasons 20080425
9 SET_YEAR_PLAN_CYCLE Static method Public Method Removes all comp flags for the seasons 20080425
10 SORT_SEASONS Static method Public Method Sorts the seasons by month (in ascending order) 20080424
Events
Class CL_UPARP_COMP_STORE_INDICATOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YEAR_DATE_FORMAT Public See coding 20080428 BEGIN OF year_date_format, year(4), month(2), day(2), END OF year_date_format
Method Signatures

Method CHECK_SEASONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VALID Call by reference Type reference (TYPE) ABAP_BOOL If abap_true, then seasons are valid 20080428
2 Importing IT_SEASON Call by reference Type reference (TYPE) UPARP_YT_SEASON Table type of season 20080428
# Exception Resumable Description Created on
1 CX_UPARP_EXCEPTION excpetion class 20080501

Method CONVERT_DATE_TO_FISCPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20080424
2 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Fiscal Year Variant 20080424
3 Returning R_FISCPER Value transfer Type reference (TYPE) /RTF/DE_FISCPER Fiscal Year/Period 20080424

Method CONVERT_DATE_TO_FISCPER on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method GET_ALL_SEASONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_SEASON Value transfer Type reference (TYPE) UPARP_YT_SEASON Table type of season 20080425

Method GET_ALL_SEASONS on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method GET_COMP_INDICATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMP Call by reference Type reference (TYPE) UPARP_Y_COMP_STORE_INDICATOR Comparable Store Indicator (either new, comp, or non-comp) 20080423
2 Importing I_FISCPER Call by reference Type reference (TYPE) /RTF/DE_FISCPER Fiscal Year/Period 20080423
3 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Fiscal Year Variant 20080423
4 Importing I_PLANT Call by reference Type reference (TYPE) /RTF/DE_PLANT Location 20080423

Method GET_COMP_INDICATOR on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method GET_PLANNING_CYCLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_SEASON Value transfer Type reference (TYPE) UPARP_YT_SEASON Table type of season 20080423

Method GET_PLANNING_CYCLE on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method GET_PLANT_OPENING_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PLANT Call by reference Type reference (TYPE) /RTF/DE_PLANT Location 20080423
2 Returning R_OPDAT Value transfer Type reference (TYPE) DATS Field of type DATS 20080423

Method GET_PLANT_OPENING_DATE on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method IS_DATE_IN_SEASON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) ABAP_BOOL 20080424
2 Importing I_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20080424
3 Importing I_SEASON_FROM Call by reference Type reference (TYPE) UPARP_Y_SHORT_DATE Short date (DD MM) 20080424
4 Importing I_SEASON_TO Call by reference Type reference (TYPE) UPARP_Y_SHORT_DATE Short date (DD MM) 20080424

Method IS_DATE_IN_SEASON on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method SET_SEASON_PLAN_CYCLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SEASON Call by reference Type reference (TYPE) UPARP_YT_SEASON Table type of season 20080425

Method SET_SEASON_PLAN_CYCLE on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method SET_YEAR_PLAN_CYCLE Signature

Method SET_YEAR_PLAN_CYCLE on class CL_UPARP_COMP_STORE_INDICATOR has no parameter.
Method SET_YEAR_PLAN_CYCLE on class CL_UPARP_COMP_STORE_INDICATOR has no exception.

Method SORT_SEASONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SEASON Call by reference Type reference (TYPE) UPARP_YT_SEASON Table type of season 20080424

Method SORT_SEASONS on class CL_UPARP_COMP_STORE_INDICATOR has no exception.
History
Last changed by/on SAP  20141101 
SAP Release Created in 704