Hierarchy
⤷
⤷
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 | Constant | Public | Type reference (TYPE) | UMC_Y_DATE_FORMAT | ' ' | Date Format | 20010530 | ||
| 2 | Constant | Public | Type reference (TYPE) | UMC_Y_DATE_FORMAT | 'L' | Date Format | 20010530 | ||
| 3 | Constant | Public | Type reference (TYPE) | UMC_Y_DATE_FORMAT | 'S' | Date Format | 20010530 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | T009 | Fiscal Year Variants | 20010911 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | USR01 | User master record (runtime data) | 20031204 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | UMC_YT_RU101 | Periodization: Subintervals | 20010129 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | UMC_YT_RU101T | Periodization: Subintervals - Texts | 20031015 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | UMC_Y_DATE_FORMAT | Date Format | 20010301 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | PERIV | Fiscal Year Variant | 20010124 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | UMC_Y_PERIODICITY | Periodization | 20010124 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check the Value of Period Input Field | 20010124 | |
| 2 | Instance method | Public | Constructor | Constructor | 20010124 | |
| 3 | Instance method | Public | Method | Counts number of periods according periv and periodization | 20020410 | |
| 4 | Instance method | Public | Method | Decrement time variable according periv and periodization | 20010124 | |
| 5 | Instance method | Public | Method | Return external date width (in chars) | 20010628 | |
| 6 | Instance method | Public | Method | Return Number of Subintervals | 20041124 | |
| 7 | Instance method | Public | Method | Finds Subinterval for Given Period | 20010129 | |
| 8 | Instance method | Public | Method | Finds Text for Subinterval | 20031015 | |
| 9 | Instance method | Public | Method | Increment time variable according periv and periodization | 20010124 | |
| 10 | Instance method | Public | Method | Fill Drop Down (Including Periodicity) | 20010402 | |
| 11 | Instance method | Public | Method | Checks Fiscal Period Field | 20010124 | |
| 12 | Instance method | Public | Method | Counts Number of Periods | 20010124 | |
| 13 | Instance method | Public | Method | Get Current Period Based on Current Date | 20010124 | |
| 14 | Instance method | Public | Method | Reduces Fiscal Period Field | 20010124 | |
| 15 | Instance method | Public | Method | Returns First Period in Year According to Fiscal Year Var. | 20010124 | |
| 16 | Instance method | Public | Method | Retrieves first and last day in given period (curper) | 20010124 | |
| 17 | Instance method | Public | Method | Increases Fiscal Period Field | 20010124 | |
| 18 | Instance method | Public | Method | Get period which represents infinity | 20010502 | |
| 19 | Instance method | Public | Method | Returns Last Period in Year According to Fiscal Year Var. | 20010124 | |
| 20 | Instance method | Public | Method | Converts Internal Format to External According to Setting | 20010301 | |
| 21 | Instance method | Private | Method | Period to Short External | 20031204 | |
| 22 | Instance method | Public | Method | Converts Internal Format to String | 20010301 | |
| 23 | Instance method | Public | Method | Converts Internal Format to Textual Form using Subintervals | 20040504 | |
| 24 | Instance method | Public | Method | Converts Internal Format to Textual Form | 20010301 | |
| 25 | Instance method | Public | Method | Fill Drow-Down (Without Periodicity) | 20010402 | |
| 26 | Instance method | Public | Method | Fill drop down (without periodicity) defined from to | 20010530 | |
| 27 | Instance method | Public | Method | Converts period to external format according to setting | 20040421 | |
| 28 | Instance method | Public | Method | New Date Format | 20010403 | |
| 29 | Instance method | Public | Method | New Periodicity | 20010314 | |
| 30 | 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 | E_NOTVALID | Value transfer | Type reference (TYPE) | AS4FLAG | Value doesnot fit to periodization | 20010124 | |||
| 2 | E_PER_CORRECTED | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Corrected value | 20010124 | |||
| 3 | E_WRONG | Value transfer | Type reference (TYPE) | AS4FLAG | Value does not fit fo fiscal varian | 20010124 | |||
| 4 | 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 | I_DATE_FORMAT | Value transfer | Type reference (TYPE) | UMC_Y_DATE_FORMAT | '' | Datumsformat | 20010301 | ||
| 2 | I_FISCVAR | Value transfer | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20010124 | |||
| 3 | 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 | E_COUNT | Value transfer | Type reference (TYPE) | I | Number of periods | 20020410 | |||
| 2 | I_PERFR | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Fiscper | 20020410 | |||
| 3 | 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 | 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 | 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 | E_NO | Value transfer | Type reference (TYPE) | I | 20041124 | ||||
| 2 | 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 | E_SUB_FR | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Jahre / Periode | 20010129 | |||
| 2 | E_SUB_SEQ | Value transfer | Type reference (TYPE) | UMC_RU101-PERIOD_SEQ | Periodisierung: Nummer des Subintervalls | 20010129 | |||
| 3 | E_SUB_TO | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Jahre / Periode | 20010129 | |||
| 4 | E_SUB_TXT | Value transfer | Type reference (TYPE) | UMC_Y_STXT | Subinterval title | 20031015 | |||
| 5 | 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 | E_SUB_TXT | Value transfer | Type reference (TYPE) | UMC_Y_STXT | Subinterval title | 20031015 | |||
| 2 | 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 | 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 | ET_PER_DROPDOWN | Call by reference | Type reference (TYPE) | UMB_YT_PER_DROPDOWN | Period dropdown | 20010402 | |||
| 2 | I_INFINITY | Call by reference | Type reference (TYPE) | AS4FLAG | '' | Include item for infinity | 20010502 | ||
| 3 | I_ITEMS | Value transfer | Type reference (TYPE) | I | 6 | Number of itmes (+/-) | 20010402 | ||
| 4 | I_OTHERS | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | Include item for others | 20010806 | ||
| 5 | I_PER | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Periode | 20010402 | |||
| 6 | 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 | C_PER | Call by reference | Type reference (TYPE) | UMC_Y_FISCPER | Fiscper | 20010124 | |||
| 2 | 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 | E_COUNT | Call by reference | Type reference (TYPE) | I | Number of periods | 20010124 | |||
| 2 | I_PERFR | Call by reference | Type reference (TYPE) | UMC_Y_FISCPER | Fiscper | 20010124 | |||
| 3 | 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 | 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 | 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 | E_FIPER | Call by reference | Type reference (TYPE) | UMC_Y_FISCPER | first | 20010124 | |||
| 2 | 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 | E_FIRST_DAY | Call by reference | Type reference (TYPE) | DATUM | First day in period | 20010124 | |||
| 2 | E_LAST_DAY | Call by reference | Type reference (TYPE) | DATUM | Last day in period | 20010124 | |||
| 3 | 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 | 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 | 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 | E_LAPER | Call by reference | Type reference (TYPE) | UMC_Y_FISCPER | last | 20010124 | |||
| 2 | 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 | E_TXT | Call by reference | Type reference (TYPE) | C | External format | 20010301 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | System, aktuelle Sprache | 20010301 | ||
| 3 | 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 | E_TXT | Call by reference | Type reference (TYPE) | C | External format | 20031204 | |||
| 2 | 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 | E_STR | Call by reference | Type reference (TYPE) | C | String | 20010301 | |||
| 2 | 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 | E_TXT | Call by reference | Type reference (TYPE) | C | Kurztext (expects type UMC_Y_STXT) | 20040504 | |||
| 2 | I_LANGU | Value transfer | Type reference (TYPE) | SYLANGU | SY-LANGU | System, aktuelle Sprache | 20040504 | ||
| 3 | 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 | E_MTXT | Call by reference | Type reference (TYPE) | C | Mitteltext (expects type UMC_Y_MTXT) | 20010301 | |||
| 2 | E_STXT | Call by reference | Type reference (TYPE) | C | Kurztext (expects type UMC_Y_STXT) | 20010301 | |||
| 3 | I_LANGU | Value transfer | Type reference (TYPE) | SYLANGU | SY-LANGU | System, aktuelle Sprache | 20010301 | ||
| 4 | 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 | ET_PER_DROPDOWN | Call by reference | Type reference (TYPE) | UMB_YT_PER_DROPDOWN | Period dropdown | 20010402 | |||
| 2 | I_INFINITY | Value transfer | Type reference (TYPE) | AS4FLAG | '' | Include item for infinity | 20010502 | ||
| 3 | I_ITEMS | Value transfer | Type reference (TYPE) | I | 6 | Number of itmes (+/-) | 20010402 | ||
| 4 | I_OTHERS | Value transfer | Type reference (TYPE) | AS4FLAG | 'X' | Include item for others | 20010806 | ||
| 5 | I_PER | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Periode | 20010402 | |||
| 6 | 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 | ET_PER_DROPDOWN | Call by reference | Type reference (TYPE) | UMB_YT_PER_DROPDOWN | Period dropdown | 20010530 | |||
| 2 | I_INFINITY | Value transfer | Type reference (TYPE) | AS4FLAG | '' | Include item for infinity | 20010530 | ||
| 3 | I_ITEMS_MAX | Value transfer | Type reference (TYPE) | I | 1000 | Maximal number of itmes | 20010530 | ||
| 4 | I_PER | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Periode | 20010530 | |||
| 5 | I_PERFR | Value transfer | Type reference (TYPE) | UMC_Y_FISCPER | Period from | 20010530 | |||
| 6 | 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 | E_TXT | Call by reference | Type reference (TYPE) | C | External format | 20040421 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | System, aktuelle Sprache | 20040421 | ||
| 3 | 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 | 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 | 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 | E_TXT | Call by reference | Type reference (TYPE) | C | External format | 20040405 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | System, aktuelle Sprache | 20040405 | ||
| 3 | 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 |