SAP ABAP Class CL_MMPUR_UI_TIMEFRAME_HELPER (Auxiliary Class for Determination of Periods)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM-PUR (Application Component) Purchasing
⤷
MMPUR_UI_MODEL (Package) Model Components for Web Dynpro Applications, Purchasing
⤷
⤷
Properties
| Class | CL_MMPUR_UI_TIMEFRAME_HELPER | |
| Short Description | Auxiliary Class for Determination of Periods | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MMPUR_UI_MODEL | Model Components for Web Dynpro Applications, Purchasing |
| Created | 20051031 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_MMPUR_UI_TIMEFRAME_HELPER has no forward declaration.
Interfaces
Class CL_MMPUR_UI_TIMEFRAME_HELPER has no interface implemented.
Friends
Class CL_MMPUR_UI_TIMEFRAME_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TFRAME_TABLE | Events | 20060713 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Check for Leap Year | 20051031 | |
| 2 | Static method | Private | Method | Check/Handle Month Overrun | 20051102 | |
| 3 | Static method | Public | Method | 20060918 | ||
| 4 | Static method | Private | Method | Determine First Day of Week | 20051102 | |
| 5 | Static method | Public | Method | Determine Last Day of Month | 20051102 | |
| 6 | Static method | Public | Method | Determine Last Day of Week | 20051102 | |
| 7 | Static method | Public | Method | Delivers Last Month as Period | 20051031 | |
| 8 | Static method | Public | Method | Delivers Last Week as Period | 20051031 | |
| 9 | Static method | Public | Method | Delivers Next Month as Period | 20051031 | |
| 10 | Static method | Public | Method | Delivers Next Week as Period | 20051031 | |
| 11 | Static method | Public | Method | Delivers Table of Time-Spots | 20060713 | |
| 12 | Static method | Public | Method | Delivers Today Until End of Current Month as Period | 20051201 | |
| 13 | Static method | Public | Method | Delivers Start of Current Month Until Yesterday as Period | 20051201 | |
| 14 | Static method | Public | Method | Delivers Today Until End of Current Week as Period | 20051201 | |
| 15 | Static method | Public | Method | Delivers Start of Current Week Until Yesterday as Period | 20051201 | |
| 16 | Static method | Public | Method | Delivers Yesterday => Monday Instead of Saturday | 20051102 | |
| 17 | Static method | Public | Method | Delivers Yesterday => Freiday Instead of Sunday | 20051102 | |
| 18 | Static method | Private | Method | Handle Month Overrun at Start | 20051102 |
Events
Class CL_MMPUR_UI_TIMEFRAME_HELPER has no event.
Types
Class CL_MMPUR_UI_TIMEFRAME_HELPER has no local type.
Method Signatures
Method CHECK_FOR_LEAP_YEAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATE | Call by reference | Type reference (TYPE) | DATS | Optional: zu prüfendes Datum | 20051031 | |||
| 2 | R_LEAP_YEAR | Value transfer | Type reference (TYPE) | XFLAG | Schaltjahr: true/false | 20051031 |
Method CHECK_FOR_LEAP_YEAR on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
Method CHECK_HANDLE_MONTH_OVERFLOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATE | Call by reference | Type reference (TYPE) | MMPURUI_DATE_STY | Datumsstruktur | 20051102 |
Method CHECK_HANDLE_MONTH_OVERFLOW on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
Method GET_ALL_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_SINGLE_VALUES | Value transfer | Type reference (TYPE) | TFRAME_TABLE | 20060918 |
Method GET_ALL_VALUES on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
Method GET_FIRSTDAY_OF_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATE | Call by reference | Type reference (TYPE) | MMPURUI_DATE_STY | Tag in der Woche deren Beginn ermittelt werden soll | 20051102 | |||
| 2 | R_WEEK_BEGIN | Value transfer | Type reference (TYPE) | DATS | Wochenanfang | 20051102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_LASTDAY_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATE | Call by reference | Type reference (TYPE) | MMPURUI_DATE_STY | Tag des Monats | 20051102 | |||
| 2 | R_MONTH_END | Value transfer | Type reference (TYPE) | DATS | Letzter Tag des Monats | 20051102 |
Method GET_LASTDAY_OF_MONTH on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
Method GET_LASTDAY_OF_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_WEEK_BEGIN | Call by reference | Type reference (TYPE) | MMPURUI_DATE_STY | Wochenanfang | 20051102 | |||
| 2 | R_WEEK_END | Value transfer | Type reference (TYPE) | DATS | Letzter Tag der Woche | 20051102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_LAST_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051031 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_LAST_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051031 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_NEXT_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051031 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_NEXT_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051031 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051102 |
Method GET_SINGLE_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_SINGLE_VALUES | Value transfer | Type reference (TYPE) | TFRAME_TABLE | Zeitpunkte | 20060713 |
Method GET_SINGLE_VALUES on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
Method GET_THIS_MONTH_FUTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051201 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051201 |
Method GET_THIS_MONTH_PAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051201 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Enddatum | 20051201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051201 |
Method GET_THIS_WEEK_FUTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051201 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Endedatum | 20051201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051201 |
Method GET_THIS_WEEK_PAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATE_BEGIN | Call by reference | Type reference (TYPE) | DATS | Startdatum | 20051201 | |||
| 2 | E_DATE_END | Call by reference | Type reference (TYPE) | DATS | Endedatum | 20051201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrekten Daten ermittelt werden | 20051201 |
Method GET_TOMORROW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TOMORROW | Value transfer | Type reference (TYPE) | DATS | Nächster Werktag => Montag statt Samstag | 20051104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrektes Datum ermittelt werden | 20051102 |
Method GET_YESTERDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_YESTERDAY | Value transfer | Type reference (TYPE) | DATS | Letzter Werktag => Freitag statt Sonntag | 20051104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es konnte keine korrektes Datum ermittelt werden | 20051104 |
Method HANDLE_MONTH_OVERFLOW_NEG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATE | Call by reference | Type reference (TYPE) | MMPURUI_DATE_STY | Datumsstruktur | 20051102 |
Method HANDLE_MONTH_OVERFLOW_NEG on class CL_MMPUR_UI_TIMEFRAME_HELPER has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 700 |