SAP ABAP Class CL_APPT_RULE_F_ (Rule Class for Periods)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-GBT-CAL (Application Component) Appointment Calendar
     SZTK (Package) R/3 Central Basis Development: Appointment Calendar
Properties
Class CL_APPT_RULE_F_  
Short Description Rule Class for Periods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SZTK   R/3 Central Basis Development: Appointment Calendar 
Created 19991213   SAP 
Last change 20050105   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_APPT_RULE_F_ has no forward declaration.
Interfaces
Class CL_APPT_RULE_F_ has no interface implemented.
Friends
Class CL_APPT_RULE_F_ has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALL_OF_MONTH Constant Public Type reference (TYPE) SCRULE_F 'M A ' The Whole Month 19991214
2 ALL_OF_YEAR Constant Public Type reference (TYPE) SCRULE_F 'Y A ' The Whole Year 19991214
3 DROP_DOWN_BOX_FILLED Instance attribute Private Type reference (TYPE) SC_FLAG The Drop_down_box Has Already Been Filled 19991213
4 FOR_2_MONTHS Constant Public Type reference (TYPE) SCRULE_F 'M 2 ' For Two Months 19991213
5 FOR_2_YEARS Constant Public Type reference (TYPE) SCRULE_F 'Y 2 ' For Two Years 19991213
6 FOR_3_MONTHS Constant Public Type reference (TYPE) SCRULE_F 'M 3 ' For Three Months 19991213
7 FOR_4_MONTHS Constant Public Type reference (TYPE) SCRULE_F 'M 4 ' For Four Months 19991213
8 FOR_4_WEEKS Constant Public Type reference (TYPE) SCRULE_F 'W 4 ' For Four Weeks 19991213
9 FOR_6_MONTHS Constant Public Type reference (TYPE) SCRULE_F 'M 6 ' For Six Months 19991213
10 FOR_6_WEEKS Constant Public Type reference (TYPE) SCRULE_F 'W 6 ' For Six Weeks 19991213
11 FOR_8_WEEKS Constant Public Type reference (TYPE) SCRULE_F 'W 8 ' For Eight Weeks 19991213
12 FOR_ONE_MONTH Constant Public Type reference (TYPE) SCRULE_F 'M 1 ' For One Month 19991213
13 FOR_ONE_WEEK Constant Public Type reference (TYPE) SCRULE_F 'W 1 ' For One Week 19991213
14 FOR_ONE_YEAR Constant Public Type reference (TYPE) SCRULE_F 'Y 1 ' For One Year 19991213
15 FOR_THREE_WEEKS Constant Public Type reference (TYPE) SCRULE_F 'W 3 ' For Three Weeks 19991213
16 FOR_TWO_WEEKS Constant Public Type reference (TYPE) SCRULE_F 'W 2 ' For Two Weeks 19991213
17 FROM_FOREVER Constant Public Type reference (TYPE) SCRULE_F 'D I-' No Start Date 20000710
18 GROUP Instance attribute Private Type reference (TYPE) CHAR10 'SZTK_PERIO' Group for Time Period Selection 20001016
19 LAST_AUGUST Constant Public Type reference (TYPE) SCRULE_F 'MN-08' Last August 20000710
20 LISTBOX_VALUE Instance attribute Private Type reference (TYPE) REF TO DATA Pointer to Value of Listbox 19991213
21 NEXT_AUGUST Constant Public Type reference (TYPE) SCRULE_F 'MN 08' Next August 20000710
22 NEXT_TWO_DAYS Constant Public Type reference (TYPE) SCRULE_F 'D 02' The Following Two Days 20000710
23 TWO_DAYS_ARROUND Constant Public Type reference (TYPE) SCRULE_F 'D* 02' Two Days Around the Base Date 20000710
24 TWO_DAYS_BEFORE Constant Public Type reference (TYPE) SCRULE_F 'D -02' Previous Two Days 20000710
25 TWO_WEEKS_ARROUND Constant Public Type reference (TYPE) SCRULE_F 'W* 02' Two Weeks Around the Base Date 20000710
26 UNTIL_END_OF_MONTH Constant Public Type reference (TYPE) SCRULE_F 'M E ' To the End of the Month 19991213
27 UNTIL_END_OF_YEAR Constant Public Type reference (TYPE) SCRULE_F 'Y E ' To the End of the Year 19991213
28 UNTIL_FOREVER Constant Public Type reference (TYPE) SCRULE_F 'D I' No End Date 20000710
Methods
# Method Level Visibility Method type Description Created on
1 COMPUTE_TIME_FRAME Instance method Public Method Calculates Period Using an Implicite Rule 19991214
2 CONSTRUCTOR Instance method Public Constructor Constructor 19991213
3 FILL_DROP_DOWN_BOX Instance method Public Method Fills the List Dropdown Box (Only Necessary Once) 19991213
4 GET_TIME_FRAME Instance method Public Method Calculates the Rule from the Current Listbox Entry 19991214
5 SET_GROUP Instance method Public Method Set Group for Time Period 20001025
Events
Class CL_APPT_RULE_F_ has no event.
Types
Class CL_APPT_RULE_F_ has no local type.
Method Signatures

Method COMPUTE_TIME_FRAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASE_DATE Value transfer Type reference (TYPE) DATS SY-DATUM Datum für die Berechnungsgrundlage 19991214
2 Changing RESULT_DATE_FROM Value transfer Type reference (TYPE) DATS Berechnetes Datum 19991214
3 Changing RESULT_DATE_TO Value transfer Type reference (TYPE) DATS Berechnetes Ende-Datum 19991214
4 Importing TIME_FRAME_RULE Value transfer Type reference (TYPE) SCRULE_F Regel für den Zeitraum 19991214
# Exception Resumable Description Created on
1 EMPTY_RULE Es wurde keine Regel mitgegeben 19991214
2 INVALID_RULE Es wurde eine ungültige Regel mitgegeben 19991214

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_APPT_RULE_F_ has no parameter.
Method CONSTRUCTOR on class CL_APPT_RULE_F_ has no exception.

Method FILL_DROP_DOWN_BOX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_NAME Value transfer Type reference (TYPE) FIELDNAME Name der List Drop Down Box 19991213
2 Changing TIME_FRAME_RULE Call by reference Type reference (TYPE) SCRULE_F Zeitraumregel 19991213

Method FILL_DROP_DOWN_BOX on class CL_APPT_RULE_F_ has no exception.

Method GET_TIME_FRAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BASE_DATE Value transfer Type reference (TYPE) DATS SY-DATUM Datum für die Berechnungsgrundlage 19991214
2 Changing RESULT_DATE_FROM Value transfer Type reference (TYPE) DATS Berechnetes Datum 19991214
3 Changing RESULT_DATE_TO Value transfer Type reference (TYPE) DATS Berechnetes Ende-Datum 19991214
# Exception Resumable Description Created on
1 EMPTY_RULE Es wurde keine Regel mitgegeben 19991214
2 INVALID_RULE Es wurde eine ungültige Regel mitgegeben 19991214

Method SET_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GROUP Call by reference Type reference (TYPE) CHAR10 'SZTK_PERIO' Zeitraumgruppe (Default:Kalender) 20001025

Method SET_GROUP on class CL_APPT_RULE_F_ has no exception.
History
Last changed by/on SAP  20050105 
SAP Release Created in 46C