SAP ABAP Class CL_UMC_TIME (Fiscal Time-Based on Fiscal Year Variant)
Hierarchy
SEM-BW (Software Component) SEM-BW: Strategic Enterprise Management
   FIN-SEM-CPM (Application Component) Corporate Performance Monitor
     UMC (Package) CPM : Common Objects
Properties
Class CL_UMC_TIME  
Short Description Fiscal Time-Based on Fiscal Year Variant    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package UMC   CPM : Common Objects 
Created 20010124   SAP 
Last change 20050220   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_UMC_TIME has no forward declaration.
Interfaces
Class CL_UMC_TIME has no interface implemented.
Friends
Class CL_UMC_TIME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_DATE_FORMAT_INTERNAL Constant Public Type reference (TYPE) UMC_Y_DATE_FORMAT ' ' Date Format 20010530
2 C_DATE_FORMAT_LONG_TEXT Constant Public Type reference (TYPE) UMC_Y_DATE_FORMAT 'L' Date Format 20010530
3 C_DATE_FORMAT_SHOT_TEXT Constant Public Type reference (TYPE) UMC_Y_DATE_FORMAT 'S' Date Format 20010530
4 MS_T009 Instance attribute Public Type reference (TYPE) T009 Fiscal Year Variants 20010911
5 MS_USR01 Static Attribute Private Type reference (TYPE) USR01 User master record (runtime data) 20031204
6 MT_RU101 Instance attribute Private Type reference (TYPE) UMC_YT_RU101 Periodization: Subintervals 20010129
7 MT_RU101T Instance attribute Private Type reference (TYPE) UMC_YT_RU101T Periodization: Subintervals - Texts 20031015
8 M_DATE_FORMAT Instance attribute Public Type reference (TYPE) UMC_Y_DATE_FORMAT Date Format 20010301
9 M_FISCVAR Instance attribute Public Type reference (TYPE) PERIV Fiscal Year Variant 20010124
10 M_PERIODICITY Instance attribute Public Type reference (TYPE) UMC_Y_PERIODICITY Periodization 20010124
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_TIME_VARIABLE Instance method Public Method Check the Value of Period Input Field 20010124
2 CONSTRUCTOR Instance method Public Constructor Constructor 20010124
3 COUNT_TIME_VARIABLE Instance method Public Method Counts number of periods according periv and periodization 20020410
4 DEC_TIME_VARIABLE Instance method Public Method Decrement time variable according periv and periodization 20010124
5 GET_DATE_WIDTH Instance method Public Method Return external date width (in chars) 20010628
6 GET_GRANULARITY Instance method Public Method Return Number of Subintervals 20041124
7 GET_SUBINTERVAL Instance method Public Method Finds Subinterval for Given Period 20010129
8 GET_SUBINTERVAL_TXT Instance method Public Method Finds Text for Subinterval 20031015
9 INC_TIME_VARIABLE Instance method Public Method Increment time variable according periv and periodization 20010124
10 PERIODIC_PER_F4 Instance method Public Method Fill Drop Down (Including Periodicity) 20010402
11 PERIOD_CHECK Instance method Public Method Checks Fiscal Period Field 20010124
12 PERIOD_COUNT Instance method Public Method Counts Number of Periods 20010124
13 PERIOD_CURRENT Instance method Public Method Get Current Period Based on Current Date 20010124
14 PERIOD_DEC Instance method Public Method Reduces Fiscal Period Field 20010124
15 PERIOD_FIRST_GET Instance method Public Method Returns First Period in Year According to Fiscal Year Var. 20010124
16 PERIOD_FIRST_LAST_DAY Instance method Public Method Retrieves first and last day in given period (curper) 20010124
17 PERIOD_INC Instance method Public Method Increases Fiscal Period Field 20010124
18 PERIOD_INFINITY_GET Instance method Public Method Get period which represents infinity 20010502
19 PERIOD_LAST_GET Instance method Public Method Returns Last Period in Year According to Fiscal Year Var. 20010124
20 PERIOD_TO_EXT Instance method Public Method Converts Internal Format to External According to Setting 20010301
21 PERIOD_TO_SHORT Instance method Private Method Period to Short External 20031204
22 PERIOD_TO_STR Instance method Public Method Converts Internal Format to String 20010301
23 PERIOD_TO_SUB Instance method Public Method Converts Internal Format to Textual Form using Subintervals 20040504
24 PERIOD_TO_TXT Instance method Public Method Converts Internal Format to Textual Form 20010301
25 PER_F4 Instance method Public Method Fill Drow-Down (Without Periodicity) 20010402
26 PER_F4_FROM_TO Instance method Public Method Fill drop down (without periodicity) defined from to 20010530
27 PER_TO_EXT Instance method Public Method Converts period to external format according to setting 20040421
28 SET_DATE_FORMAT Instance method Public Method New Date Format 20010403
29 SET_PERIODICITY Instance method Public Method New Periodicity 20010314
30 YEAR_TO_EXT Instance method Public Method Converts year to external format according to setting 20040405
Events
Class CL_UMC_TIME has no event.
Types
Class CL_UMC_TIME has no local type.
Method Signatures

Method CHECK_TIME_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NOTVALID Value transfer Type reference (TYPE) AS4FLAG Value doesnot fit to periodization 20010124
2 Exporting E_PER_CORRECTED Value transfer Type reference (TYPE) UMC_Y_FISCPER Corrected value 20010124
3 Exporting E_WRONG Value transfer Type reference (TYPE) AS4FLAG Value does not fit fo fiscal varian 20010124
4 Importing I_PER Value transfer Type reference (TYPE) UMC_Y_FISCPER Period 20010124

Method CHECK_TIME_VARIABLE on class CL_UMC_TIME has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_FORMAT Value transfer Type reference (TYPE) UMC_Y_DATE_FORMAT '' Datumsformat 20010301
2 Importing I_FISCVAR Value transfer Type reference (TYPE) PERIV Geschäftsjahresvariante 20010124
3 Importing I_PERIODICITY Value transfer Type reference (TYPE) UMC_Y_PERIODICITY '' Periodisierung 20010124

Method CONSTRUCTOR on class CL_UMC_TIME has no exception.

Method COUNT_TIME_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COUNT Value transfer Type reference (TYPE) I Number of periods 20020410
2 Importing I_PERFR Value transfer Type reference (TYPE) UMC_Y_FISCPER Fiscper 20020410
3 Importing I_PERTO Value transfer Type reference (TYPE) UMC_Y_FISCPER Fiscper 20020410

Method COUNT_TIME_VARIABLE on class CL_UMC_TIME has no exception.

Method DEC_TIME_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010124

Method DEC_TIME_VARIABLE on class CL_UMC_TIME has no exception.

Method GET_DATE_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_WIDTH Value transfer Type reference (TYPE) I width 20010628

Method GET_DATE_WIDTH on class CL_UMC_TIME has no exception.

Method GET_GRANULARITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_NO Value transfer Type reference (TYPE) I 20041124
2 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20050208

Method GET_GRANULARITY on class CL_UMC_TIME has no exception.

Method GET_SUBINTERVAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUB_FR Value transfer Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010129
2 Exporting E_SUB_SEQ Value transfer Type reference (TYPE) UMC_RU101-PERIOD_SEQ Periodisierung: Nummer des Subintervalls 20010129
3 Exporting E_SUB_TO Value transfer Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010129
4 Exporting E_SUB_TXT Value transfer Type reference (TYPE) UMC_Y_STXT Subinterval title 20031015
5 Importing I_PER Value transfer Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010129

Method GET_SUBINTERVAL on class CL_UMC_TIME has no exception.

Method GET_SUBINTERVAL_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUB_TXT Value transfer Type reference (TYPE) UMC_Y_STXT Subinterval title 20031015
2 Importing I_SUB_SEQ Value transfer Type reference (TYPE) UMC_RU101-PERIOD_SEQ Periodisierung: Nummer des Subintervalls 20031015

Method GET_SUBINTERVAL_TXT on class CL_UMC_TIME has no exception.

Method INC_TIME_VARIABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010124

Method INC_TIME_VARIABLE on class CL_UMC_TIME has no exception.

Method PERIODIC_PER_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PER_DROPDOWN Call by reference Type reference (TYPE) UMB_YT_PER_DROPDOWN Period dropdown 20010402
2 Importing I_INFINITY Call by reference Type reference (TYPE) AS4FLAG '' Include item for infinity 20010502
3 Importing I_ITEMS Value transfer Type reference (TYPE) I 6 Number of itmes (+/-) 20010402
4 Importing I_OTHERS Call by reference Type reference (TYPE) AS4FLAG 'X' Include item for others 20010806
5 Importing I_PER Value transfer Type reference (TYPE) UMC_Y_FISCPER Periode 20010402
6 Importing I_PER_FIRST_ITEM Call by reference Type reference (TYPE) AS4FLAG ' ' 'X' i_per wird an erste Stelle gesetzt 20010806

Method PERIODIC_PER_F4 on class CL_UMC_TIME has no exception.

Method PERIOD_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Fiscper 20010124
2 Exporting E_WRONG Call by reference Type reference (TYPE) AS4FLAG Fiscper is out of range 20010124

Method PERIOD_CHECK on class CL_UMC_TIME has no exception.

Method PERIOD_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COUNT Call by reference Type reference (TYPE) I Number of periods 20010124
2 Importing I_PERFR Call by reference Type reference (TYPE) UMC_Y_FISCPER Fiscper 20010124
3 Importing I_PERTO Call by reference Type reference (TYPE) UMC_Y_FISCPER Fiscper 20010124

Method PERIOD_COUNT on class CL_UMC_TIME has no exception.

Method PERIOD_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CURPER Call by reference Type reference (TYPE) UMC_Y_FISCPER Current period 20010124

Method PERIOD_CURRENT on class CL_UMC_TIME has no exception.

Method PERIOD_DEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010124

Method PERIOD_DEC on class CL_UMC_TIME has no exception.

Method PERIOD_FIRST_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FIPER Call by reference Type reference (TYPE) UMC_Y_FISCPER first 20010124
2 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER cur 20010124

Method PERIOD_FIRST_GET on class CL_UMC_TIME has no exception.

Method PERIOD_FIRST_LAST_DAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FIRST_DAY Call by reference Type reference (TYPE) DATUM First day in period 20010124
2 Exporting E_LAST_DAY Call by reference Type reference (TYPE) DATUM Last day in period 20010124
3 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Period 20010124

Method PERIOD_FIRST_LAST_DAY on class CL_UMC_TIME has no exception.

Method PERIOD_INC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Jahre / Periode 20010124

Method PERIOD_INC on class CL_UMC_TIME has no exception.

Method PERIOD_INFINITY_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20010502

Method PERIOD_INFINITY_GET on class CL_UMC_TIME has no exception.

Method PERIOD_LAST_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LAPER Call by reference Type reference (TYPE) UMC_Y_FISCPER last 20010124
2 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER cur 20010124

Method PERIOD_LAST_GET on class CL_UMC_TIME has no exception.

Method PERIOD_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXT Call by reference Type reference (TYPE) C External format 20010301
2 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU System, aktuelle Sprache 20010301
3 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20010301

Method PERIOD_TO_EXT on class CL_UMC_TIME has no exception.

Method PERIOD_TO_SHORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXT Call by reference Type reference (TYPE) C External format 20031204
2 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20031204

Method PERIOD_TO_SHORT on class CL_UMC_TIME has no exception.

Method PERIOD_TO_STR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_STR Call by reference Type reference (TYPE) C String 20010301
2 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20010301

Method PERIOD_TO_STR on class CL_UMC_TIME has no exception.

Method PERIOD_TO_SUB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXT Call by reference Type reference (TYPE) C Kurztext (expects type UMC_Y_STXT) 20040504
2 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU System, aktuelle Sprache 20040504
3 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20040504

Method PERIOD_TO_SUB on class CL_UMC_TIME has no exception.

Method PERIOD_TO_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MTXT Call by reference Type reference (TYPE) C Mitteltext (expects type UMC_Y_MTXT) 20010301
2 Exporting E_STXT Call by reference Type reference (TYPE) C Kurztext (expects type UMC_Y_STXT) 20010301
3 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU System, aktuelle Sprache 20010301
4 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20010301

Method PERIOD_TO_TXT on class CL_UMC_TIME has no exception.

Method PER_F4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PER_DROPDOWN Call by reference Type reference (TYPE) UMB_YT_PER_DROPDOWN Period dropdown 20010402
2 Importing I_INFINITY Value transfer Type reference (TYPE) AS4FLAG '' Include item for infinity 20010502
3 Importing I_ITEMS Value transfer Type reference (TYPE) I 6 Number of itmes (+/-) 20010402
4 Importing I_OTHERS Value transfer Type reference (TYPE) AS4FLAG 'X' Include item for others 20010806
5 Importing I_PER Value transfer Type reference (TYPE) UMC_Y_FISCPER Periode 20010402
6 Importing I_PER_FIRST_ITEM Value transfer Type reference (TYPE) AS4FLAG ' ' 'X' i_per wird an erste Stelle gesetzt 20010806

Method PER_F4 on class CL_UMC_TIME has no exception.

Method PER_F4_FROM_TO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PER_DROPDOWN Call by reference Type reference (TYPE) UMB_YT_PER_DROPDOWN Period dropdown 20010530
2 Importing I_INFINITY Value transfer Type reference (TYPE) AS4FLAG '' Include item for infinity 20010530
3 Importing I_ITEMS_MAX Value transfer Type reference (TYPE) I 1000 Maximal number of itmes 20010530
4 Importing I_PER Value transfer Type reference (TYPE) UMC_Y_FISCPER Periode 20010530
5 Importing I_PERFR Value transfer Type reference (TYPE) UMC_Y_FISCPER Period from 20010530
6 Importing I_PERTO Value transfer Type reference (TYPE) UMC_Y_FISCPER Period to 20010530

Method PER_F4_FROM_TO on class CL_UMC_TIME has no exception.

Method PER_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXT Call by reference Type reference (TYPE) C External format 20040421
2 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU System, aktuelle Sprache 20040421
3 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20040421

Method PER_TO_EXT on class CL_UMC_TIME has no exception.

Method SET_DATE_FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_FORMAT Call by reference Type reference (TYPE) UMC_Y_DATE_FORMAT Datumsformat 20010403

Method SET_DATE_FORMAT on class CL_UMC_TIME has no exception.

Method SET_PERIODICITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PERIODICITY Call by reference Type reference (TYPE) UMC_Y_PERIODICITY Periodisierung 20010314

Method SET_PERIODICITY on class CL_UMC_TIME has no exception.

Method YEAR_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXT Call by reference Type reference (TYPE) C External format 20040405
2 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU System, aktuelle Sprache 20040405
3 Importing I_PER Call by reference Type reference (TYPE) UMC_Y_FISCPER Periode 20040405

Method YEAR_TO_EXT on class CL_UMC_TIME has no exception.
History
Last changed by/on SAP  20050220 
SAP Release Created in 3.0A