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 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M A ' | The Whole Month | 19991214 | ||
| 2 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'Y A ' | The Whole Year | 19991214 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | SC_FLAG | The Drop_down_box Has Already Been Filled | 19991213 | |||
| 4 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M 2 ' | For Two Months | 19991213 | ||
| 5 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'Y 2 ' | For Two Years | 19991213 | ||
| 6 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M 3 ' | For Three Months | 19991213 | ||
| 7 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M 4 ' | For Four Months | 19991213 | ||
| 8 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 4 ' | For Four Weeks | 19991213 | ||
| 9 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M 6 ' | For Six Months | 19991213 | ||
| 10 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 6 ' | For Six Weeks | 19991213 | ||
| 11 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 8 ' | For Eight Weeks | 19991213 | ||
| 12 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M 1 ' | For One Month | 19991213 | ||
| 13 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 1 ' | For One Week | 19991213 | ||
| 14 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'Y 1 ' | For One Year | 19991213 | ||
| 15 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 3 ' | For Three Weeks | 19991213 | ||
| 16 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W 2 ' | For Two Weeks | 19991213 | ||
| 17 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'D I-' | No Start Date | 20000710 | ||
| 18 | Instance attribute | Private | Type reference (TYPE) | CHAR10 | 'SZTK_PERIO' | Group for Time Period Selection | 20001016 | ||
| 19 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'MN-08' | Last August | 20000710 | ||
| 20 | Instance attribute | Private | Type reference (TYPE) | REF TO DATA | Pointer to Value of Listbox | 19991213 | |||
| 21 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'MN 08' | Next August | 20000710 | ||
| 22 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'D 02' | The Following Two Days | 20000710 | ||
| 23 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'D* 02' | Two Days Around the Base Date | 20000710 | ||
| 24 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'D -02' | Previous Two Days | 20000710 | ||
| 25 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'W* 02' | Two Weeks Around the Base Date | 20000710 | ||
| 26 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'M E ' | To the End of the Month | 19991213 | ||
| 27 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'Y E ' | To the End of the Year | 19991213 | ||
| 28 | Constant | Public | Type reference (TYPE) | SCRULE_F | 'D I' | No End Date | 20000710 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculates Period Using an Implicite Rule | 19991214 | |
| 2 | Instance method | Public | Constructor | Constructor | 19991213 | |
| 3 | Instance method | Public | Method | Fills the List Dropdown Box (Only Necessary Once) | 19991213 | |
| 4 | Instance method | Public | Method | Calculates the Rule from the Current Listbox Entry | 19991214 | |
| 5 | 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 | BASE_DATE | Value transfer | Type reference (TYPE) | DATS | SY-DATUM | Datum für die Berechnungsgrundlage | 19991214 | ||
| 2 | RESULT_DATE_FROM | Value transfer | Type reference (TYPE) | DATS | Berechnetes Datum | 19991214 | |||
| 3 | RESULT_DATE_TO | Value transfer | Type reference (TYPE) | DATS | Berechnetes Ende-Datum | 19991214 | |||
| 4 | TIME_FRAME_RULE | Value transfer | Type reference (TYPE) | SCRULE_F | Regel für den Zeitraum | 19991214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es wurde keine Regel mitgegeben | 19991214 | ||
| 2 | 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 | FIELD_NAME | Value transfer | Type reference (TYPE) | FIELDNAME | Name der List Drop Down Box | 19991213 | |||
| 2 | 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 | BASE_DATE | Value transfer | Type reference (TYPE) | DATS | SY-DATUM | Datum für die Berechnungsgrundlage | 19991214 | ||
| 2 | RESULT_DATE_FROM | Value transfer | Type reference (TYPE) | DATS | Berechnetes Datum | 19991214 | |||
| 3 | RESULT_DATE_TO | Value transfer | Type reference (TYPE) | DATS | Berechnetes Ende-Datum | 19991214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Es wurde keine Regel mitgegeben | 19991214 | ||
| 2 | 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 | 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 |