SAP ABAP Class /MAP/CL_MDL_TIMECONV (MAP: Date Conversion)
Hierarchy
☛
BI_CONT (Software Component) Business Intelligence Content
⤷
BW-BCT-PLA-RMP (Application Component) Retail Merchandise Planning
⤷
/MAP/M (Package) BW: Content MAP Forecast Framework
⤷
⤷
Properties
| Class | /MAP/CL_MDL_TIMECONV | |
| Short Description | MAP: Date Conversion | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /MAP/M | BW: Content MAP Forecast Framework |
| Created | 20050203 | SAP |
| Last change | 20141101 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /MAP/CL_MDL_TIMECONV has no forward declaration.
Interfaces
Class /MAP/CL_MDL_TIMECONV has no interface implemented.
Friends
Class /MAP/CL_MDL_TIMECONV has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | T009-ANZBP | 4 | Number of posting periods | 20050216 | ||
| 2 | Constant | Public | Type reference (TYPE) | /MAP/M_Y_DAYVEC_MONTH | -16 | All 28 Days of a Month | 20050520 | ||
| 3 | Constant | Public | Type reference (TYPE) | /MAP/M_Y_DAYVEC_MONTH | -8 | All 29 Days of a Month | 20050520 | ||
| 4 | Constant | Public | Type reference (TYPE) | /MAP/M_Y_DAYVEC_MONTH | -4 | All 30 Days of a Month | 20050520 | ||
| 5 | Constant | Public | Type reference (TYPE) | /MAP/M_Y_DAYVEC_MONTH | -2 | All 31 Days of a Month | 20050520 | ||
| 6 | Constant | Public | Type reference (TYPE) | /MAP/M_Y_DAYVEC_WEEK | -2 | All 7 Days of a Week | 20050214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determine Number of "Active Days" in a Posting Period | 20050214 | |
| 2 | Static method | Public | Method | Determine Number of "Active Days" in a Month | 20050204 | |
| 3 | Static method | Public | Method | Determine Number of "Active Days" in a Week | 20050214 | |
| 4 | Static method | Public | Method | Convert Date Interval in Table of Posting Periods | 20050215 | |
| 5 | Static method | Public | Method | Convert Date Interval in Table of Months | 20050203 | |
| 6 | Static method | Public | Method | Convert Date Interval in Table of Weeks | 20050214 | |
| 7 | Static method | Public | Method | Posting Period Interval for Date Interval | 20050203 | |
| 8 | Static method | Public | Method | Month Interval for Date Interval | 20050203 | |
| 9 | Static method | Public | Method | Determine Last Day of a Month | 20050520 | |
| 10 | Static method | Public | Method | Week Interval for Date Interval | 20050203 |
Events
Class /MAP/CL_MDL_TIMECONV has no event.
Types
Class /MAP/CL_MDL_TIMECONV has no local type.
Method Signatures
Method COUNT_DAYS_IN_FISCPER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CNT | Value transfer | Type reference (TYPE) | I | #aktive Tage | 20050214 | |||
| 2 | I_VEC | Call by reference | Type reference (TYPE) | /MAP/M_Y_DAYVEC_FISCPER | MAP: Bitvektor mit Tagen einer Buchungsperiode (max. 96) | 20050214 |
Method COUNT_DAYS_IN_FISCPER on class /MAP/CL_MDL_TIMECONV has no exception.
Method COUNT_DAYS_IN_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CNT | Value transfer | Type reference (TYPE) | I | #aktive Tage | 20050204 | |||
| 2 | I_VEC | Call by reference | Type reference (TYPE) | /MAP/M_Y_DAYVEC_MONTH | MAP: Bitvektor mit Tagen eines Monats | 20050204 |
Method COUNT_DAYS_IN_MONTH on class /MAP/CL_MDL_TIMECONV has no exception.
Method COUNT_DAYS_IN_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CNT | Value transfer | Type reference (TYPE) | I | #aktive Tage | 20050214 | |||
| 2 | I_VEC | Call by reference | Type reference (TYPE) | /MAP/M_Y_DAYVEC_WEEK | MAP: Bitvektor mit Tagen einer Woche | 20050214 |
Method COUNT_DAYS_IN_WEEK on class /MAP/CL_MDL_TIMECONV has no exception.
Method DATEINT_2_FISCPERTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_FISCPER | Call by reference | Type reference (TYPE) | /MAP/M_YTO_FISCPER | Sortierte Tabelle von Buchungsperioden | 20050215 | |||
| 2 | I_CHECK | Call by reference | Type reference (TYPE) | XFELD | SPACE | Mit Konsistenzprüfungen | 20050215 | ||
| 3 | I_DATEFROM | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050215 | |||
| 4 | I_DATETO | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050215 | |||
| 5 | I_FISCVARNT | Call by reference | Type reference (TYPE) | RSFISCVAR | Geschäftsjahresvariante | 20050215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu /MAP/CL_MDL_TIMECONV | 20050215 |
Method DATEINT_2_MONTHTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_CALMONTH | Call by reference | Type reference (TYPE) | /MAP/M_YTO_CALMONTH | Sortierte Tabelle von Kalendermonaten | 20050203 | |||
| 2 | I_CHECK | Call by reference | Type reference (TYPE) | XFELD | SPACE | Mit Konsistenzprüfungen | 20050203 | ||
| 3 | I_DATEFROM | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050203 | |||
| 4 | I_DATETO | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu /MAP/CL_MDL_TIMECONV | 20050203 |
Method DATEINT_2_WEEKTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ETO_CALWEEK | Call by reference | Type reference (TYPE) | /MAP/M_YTO_CALWEEK | Sortierte Tabelle von Kalenderwochen | 20050214 | |||
| 2 | I_CHECK | Call by reference | Type reference (TYPE) | XFELD | SPACE | Feld zum Ankreuzen | 20050214 | ||
| 3 | I_DATEFROM | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050214 | |||
| 4 | I_DATETO | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag | 20050214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu /MAP/CL_MDL_TIMECONV | 20050214 |
Method FISCPER_2_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATHIGH | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag bis | 20050203 | |||
| 2 | E_DATLOW | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag von | 20050203 | |||
| 3 | I_FISCVARNT | Call by reference | Type reference (TYPE) | RSFISCVAR | Geschäftsjahresvariante | 20050203 | |||
| 4 | I_HIGH | Call by reference | Type reference (TYPE) | RSFISCPER | Geschäftsjahr / Periode bis | 20050203 | |||
| 5 | I_LOW | Call by reference | Type reference (TYPE) | RSFISCPER | Geschäftsjahr / Periode von | 20050203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu XXX | 20050203 |
Method MONTH_2_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATHIGH | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag bis | 20050203 | |||
| 2 | E_DATLOW | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag von | 20050203 | |||
| 3 | I_HIGH | Call by reference | Type reference (TYPE) | RSCALMONTH | Monat bis | 20050203 | |||
| 4 | I_LOW | Call by reference | Type reference (TYPE) | RSCALMONTH | Monat von | 20050203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu XXX | 20050203 |
Method MONTH_LASTDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LAST_DAY | Value transfer | Type reference (TYPE) | I | 20050520 | ||||
| 2 | I_MONTH | Call by reference | Type reference (TYPE) | RSCALMONTH | Kalenderjahr / Monat | 20050520 |
Method MONTH_LASTDAY on class /MAP/CL_MDL_TIMECONV has no exception.
Method WEEK_2_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATHIGH | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag bis | 20050203 | |||
| 2 | E_DATLOW | Call by reference | Type reference (TYPE) | RSCALDAY | Kalendertag von | 20050203 | |||
| 3 | I_HIGH | Call by reference | Type reference (TYPE) | RSCALWEEK | Woche bis | 20050203 | |||
| 4 | I_LOW | Call by reference | Type reference (TYPE) | RSCALWEEK | Woche von | 20050203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen zu XXX | 20050203 |
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 702 |