SAP ABAP Interface IF_UG_TIME (Time: General Services)
Hierarchy
☛
FINBASIS (Software Component) Fin. Basis
⤷ FIN-FB (Application Component) Financials Basis
⤷ UGMD0 (Package) FIN General: Master Data
⤷ FIN-FB (Application Component) Financials Basis
⤷ UGMD0 (Package) FIN General: Master Data
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_UG_TIME | Time: General Services | 20050330 |
Properties
Interface | IF_UG_TIME | |
Short Description | Time: General Services |
General Data
Package | UGMD0 | FIN General: Master Data |
Created | 20050330 | SAP |
Last changed | 20060703 | SAP |
Unicode checks active |
Forward declarations
Interface IF_UG_TIME has no forward declaration.
Interfaces
Interface IF_UG_TIME has no interface.
Friends
Interface IF_UG_TIME has no friend.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_MODE_HRY_FROMTIME | Constant | Public | Type reference (TYPE) | CHAR01 | '1' | "From" Timepoint of a Hierarchy Edge | 20060203 | |
2 | GC_MODE_HRY_TOTIME | Constant | Public | Type reference (TYPE) | CHAR01 | '2' | "To" Timepoint of a Hierarchy Edge | 20060203 | |
3 | GC_MODE_VIA_FIRST_DAY | Constant | Public | Type reference (TYPE) | CHAR01 | 'F' | Convert Using Starting Date of Period | 20050721 | |
4 | GC_MODE_VIA_LAST_DAY | Constant | Public | Type reference (TYPE) | CHAR01 | 'L' | Convert Using Ending Date of Period | 20050721 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONVERT_DATE_2_PERIOD | Static method | Public | Method | Get year and period from date | 20050330 |
2 | CONVERT_PERIOD | Static method | Public | Method | Convert Period from One FYV to Another FYV | 20050721 |
3 | CONVERT_PERIOD_2_DATE | Static method | Public | Method | Get date from year and period | 20050330 |
4 | GET_NEXT_PERIOD | Static method | Public | Method | Determine Period Following Immediately the Specified Period | 20050330 |
5 | GET_PREVIOUS_PERIOD | Static method | Public | Method | Determine Previous Period to Specified Period | 20050330 |
Events
Interface IF_UG_TIME has no event.
Types
Interface IF_UG_TIME has no local type.
Method Signatures
Method CONVERT_DATE_2_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_FISCALPERIOD | Call by reference | Type reference (TYPE) | T009B-POPER | Geschäftsperiode | 20050330 | ||
2 | Exporting | E_FISCALYEAR | Call by reference | Type reference (TYPE) | T009B-BDATJ | Geschäftsjahr | 20050330 | ||
3 | Importing | I_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum | 20050330 | ||
4 | Importing | I_FYV | Call by reference | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20050330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | 20050330 |
Method CONVERT_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_FISCPER_TARGET | Call by reference | Type reference (TYPE) | T009B-POPER | Geschäftsperiode zu I_FYV_TARGET | 20050721 | ||
2 | Exporting | E_FISCYEAR_TARGET | Call by reference | Type reference (TYPE) | T009B-BDATJ | Geschäftsjahr zu I_FYV_TARGET | 20050721 | ||
3 | Importing | I_FISCPER_SOURCE | Value transfer | Type reference (TYPE) | T009B-POPER | Geschäftsperiode zu I_FYV_SOURCE | 20050721 | ||
4 | Importing | I_FISCYEAR_SOURCE | Value transfer | Type reference (TYPE) | T009B-BDATJ | Geschäftsjahr zu I_FYV_SOURCE | 20050721 | ||
5 | Importing | I_FYV_SOURCE | Call by reference | Type reference (TYPE) | PERIV | Quell-Geschäftsjahresvariante | 20050721 | ||
6 | Importing | I_FYV_TARGET | Call by reference | Type reference (TYPE) | PERIV | Ziel-Geschäftsjahresvariante | 20050721 | ||
7 | Importing | I_MODE | Call by reference | Type reference (TYPE) | CHAR01 | GC_MODE_VIA_LAST_DAY | Über Von- oder Bis-Datum konvertieren? | 20050721 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | 20050721 |
Method CONVERT_PERIOD_2_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_DATEFROM | Call by reference | Type reference (TYPE) | SY-DATUM | Von-Datum | 20050330 | ||
2 | Exporting | E_DATETO | Call by reference | Type reference (TYPE) | SY-DATUM | Bis-Datum | 20050330 | ||
3 | Importing | I_FISCALPERIOD | Call by reference | Type reference (TYPE) | T009B-POPER | Geschäftsperiode | 20050330 | ||
4 | Importing | I_FISCALYEAR | Call by reference | Type reference (TYPE) | T009B-BDATJ | Geschäftsjahr | 20050330 | ||
5 | Importing | I_FYV | Call by reference | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20050330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONVERSION_ERROR | 20050330 |
Method GET_NEXT_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_FISCPERIOD | Call by reference | Type reference (TYPE) | UG_FISCPERIOD | Nächste Geschäftsperiode | 20050330 | ||
2 | Exporting | E_FISCYEAR | Call by reference | Type reference (TYPE) | UG_FISCYEAR | Geschäftsjahr zur nächsten Periode | 20050330 | ||
3 | Importing | I_FISCPERIOD | Value transfer | Type reference (TYPE) | UG_FISCPERIOD | Geschäftsperiode | 20050330 | ||
4 | Importing | I_FISCVARNT | Call by reference | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20050330 | ||
5 | Importing | I_FISCYEAR | Value transfer | Type reference (TYPE) | UG_FISCYEAR | Geschäftsjahr | 20050330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Parameter- oder Konvertierungsfehler | 20050330 |
Method GET_PREVIOUS_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_FISCPERIOD | Call by reference | Type reference (TYPE) | UG_FISCPERIOD | Vorherige Geschäftsperiode | 20050330 | ||
2 | Exporting | E_FISCYEAR | Call by reference | Type reference (TYPE) | UG_FISCYEAR | Geschäftsjahr zur vorherigen Periode | 20050330 | ||
3 | Importing | I_FISCPERIOD | Value transfer | Type reference (TYPE) | UG_FISCPERIOD | Geschäftsperiode | 20050330 | ||
4 | Importing | I_FISCVARNT | Call by reference | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20050330 | ||
5 | Importing | I_FISCYEAR | Value transfer | Type reference (TYPE) | UG_FISCYEAR | Geschäftsjahr | 20050330 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Parameter- oder Konvertierungsfehler | 20050330 |
History
Last changed by/on | SAP | 20060703 |
SAP Release Created in | 600 |