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 SINGLE_VALUES Static Attribute Private Type reference (TYPE) TFRAME_TABLE Events 20060713
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_FOR_LEAP_YEAR Static method Private Method Check for Leap Year 20051031
2 CHECK_HANDLE_MONTH_OVERFLOW Static method Private Method Check/Handle Month Overrun 20051102
3 GET_ALL_VALUES Static method Public Method 20060918
4 GET_FIRSTDAY_OF_WEEK Static method Private Method Determine First Day of Week 20051102
5 GET_LASTDAY_OF_MONTH Static method Public Method Determine Last Day of Month 20051102
6 GET_LASTDAY_OF_WEEK Static method Public Method Determine Last Day of Week 20051102
7 GET_LAST_MONTH Static method Public Method Delivers Last Month as Period 20051031
8 GET_LAST_WEEK Static method Public Method Delivers Last Week as Period 20051031
9 GET_NEXT_MONTH Static method Public Method Delivers Next Month as Period 20051031
10 GET_NEXT_WEEK Static method Public Method Delivers Next Week as Period 20051031
11 GET_SINGLE_VALUES Static method Public Method Delivers Table of Time-Spots 20060713
12 GET_THIS_MONTH_FUTURE Static method Public Method Delivers Today Until End of Current Month as Period 20051201
13 GET_THIS_MONTH_PAST Static method Public Method Delivers Start of Current Month Until Yesterday as Period 20051201
14 GET_THIS_WEEK_FUTURE Static method Public Method Delivers Today Until End of Current Week as Period 20051201
15 GET_THIS_WEEK_PAST Static method Public Method Delivers Start of Current Week Until Yesterday as Period 20051201
16 GET_TOMORROW Static method Public Method Delivers Yesterday => Monday Instead of Saturday 20051102
17 GET_YESTERDAY Static method Public Method Delivers Yesterday => Freiday Instead of Sunday 20051102
18 HANDLE_MONTH_OVERFLOW_NEG 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 Importing I_DATE Call by reference Type reference (TYPE) DATS Optional: zu prüfendes Datum 20051031
2 Returning 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 Changing 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 Returning 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 Importing IS_DATE Call by reference Type reference (TYPE) MMPURUI_DATE_STY Tag in der Woche deren Beginn ermittelt werden soll 20051102
2 Returning R_WEEK_BEGIN Value transfer Type reference (TYPE) DATS Wochenanfang 20051102
# Exception Resumable Description Created on
1 DATE_ERROR 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 Importing IS_DATE Call by reference Type reference (TYPE) MMPURUI_DATE_STY Tag des Monats 20051102
2 Returning 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 Importing IS_WEEK_BEGIN Call by reference Type reference (TYPE) MMPURUI_DATE_STY Wochenanfang 20051102
2 Returning R_WEEK_END Value transfer Type reference (TYPE) DATS Letzter Tag der Woche 20051102
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051031
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051031
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051031
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051031
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051031
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051031
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051031
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051031
# Exception Resumable Description Created on
1 DATE_ERROR 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 Returning 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051201
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051201
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051201
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Enddatum 20051201
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051201
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Endedatum 20051201
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_DATE_BEGIN Call by reference Type reference (TYPE) DATS Startdatum 20051201
2 Exporting E_DATE_END Call by reference Type reference (TYPE) DATS Endedatum 20051201
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_TOMORROW Value transfer Type reference (TYPE) DATS Nächster Werktag => Montag statt Samstag 20051104
# Exception Resumable Description Created on
1 DATE_ERROR 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 Exporting E_YESTERDAY Value transfer Type reference (TYPE) DATS Letzter Werktag => Freitag statt Sonntag 20051104
# Exception Resumable Description Created on
1 DATE_ERROR 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 Changing 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