Hierarchy
⤷
⤷
Properties
| Class | CL_RECA_DATE | |
| Short Description | Date Management | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RE_CA_BC | RE: Base (Technical Objects - Library) |
| Created | 20010525 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RECA_DATE has no interface implemented.
Friends
Class CL_RECA_DATE has no friend class.
Attributes
Class CL_RECA_DATE has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adds Month to Date | 20011126 | |
| 2 | Static method | Public | Method | Adds to Date | 20030114 | |
| 3 | Static method | Public | Method | Converts Date into CHAR Field | 20020809 | |
| 4 | Static method | Public | Method | Determination of Working Day | 20050921 | |
| 5 | Static method | Public | Method | Checks Validity of Date Field | 20020809 | |
| 6 | Static method | Public | Method | Checks Overlapping | 20021031 | |
| 7 | Static method | Public | Method | Checks Period (Correct Date, from > to, transfer, ...) | 20021031 | |
| 8 | Static method | Public | Method | Checks Periods of Table Generically | 20040526 | |
| 9 | Static method | Public | Method | Converts Date to Internal Format | 20040430 | |
| 10 | Static method | Public | Method | Converts the Date into a String (Text Field) | 20021015 | |
| 11 | Static method | Public | Method | Converts Date to String (Weekday, Date) | 20060221 | |
| 12 | Static method | Public | Method | Converts Time Period to String | 20010906 | |
| 13 | Static method | Public | Method | Determines New Date from Date and Interest/Calendar Days | 20030822 | |
| 14 | Static method | Public | Method | Create Overlapping Time Periods | 20010525 | |
| 15 | Static method | Public | Method | Compress Time Periods | 20010525 | |
| 16 | Static method | Private | Method | Determine Smallest Time Periods | 20010525 | |
| 17 | Static method | Public | Method | Determines If Date Is the End of the Month | 20090130 | |
| 18 | Static method | Public | Method | Fills Period Table Using Reference | 20010531 | |
| 19 | Static method | Public | Method | Gets Units | 20021024 | |
| 20 | Static method | Public | Method | Supplies Current Date and Time (UTC Converted) | 20011128 | |
| 21 | Static method | Public | Method | Gets the Number of Years/Months/Days from Date 1 to Date 2 | 20040513 | |
| 22 | Static method | Public | Method | Gets Month/Year/Period for Date | 20021218 | |
| 23 | Static method | Public | Method | Calculates Number of Days Between Two Dates | 20060622 | |
| 24 | Static method | Public | Method | Gets Period of Overlap Between Two Time Periods | 20060602 | |
| 25 | Static method | Public | Method | Calculates Number of Leap Days Between Two Dates | 20130108 | |
| 26 | Static method | Public | Method | Gets Weekday (Text) | 20061213 | |
| 27 | Static method | Public | Method | Gets Weekday (2 Character Text) | 20070531 | |
| 28 | Static method | Public | Method | Gets Information on Week | 20050531 | |
| 29 | Static method | Public | Method | Bool: From-Date = "Initial" or "Zero" | 20020404 | |
| 30 | Static method | Public | Method | Bool: To-Date = "Initial" or "Ulimited" | 20020404 | |
| 31 | Static method | Public | Method | Bool: Date = "Initial" | 20020404 | |
| 32 | Static method | Public | Method | Is the Date a Valid Date? | 20020809 | |
| 33 | Static method | Public | Method | Merges the Dates of Two Tables | 20080430 | |
| 34 | Static method | Public | Method | Calculates Number of Months Betw. 2 Calendar Dates | 20011126 | |
| 35 | Static method | Public | Method | Sets Date to Beginning of Month | 20070711 | |
| 36 | Static method | Public | Method | Sets Date to End of Month | 20070711 | |
| 37 | Static method | Public | Method | Sets Date to Next Day | 20080208 | |
| 38 | Static method | Public | Method | Splits Table Based on Time Period Table (Generic) | 20080430 | |
| 39 | Static method | Public | Method | Subtracts Months from Date | 20030110 |
Events
Class CL_RECA_DATE has no event.
Types
Class CL_RECA_DATE has no local type.
Method Signatures
Method ADD_MONTHS_TO_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20011126 | |||
| 2 | ID_MONTHS | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20011126 | |||
| 3 | RD_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20011126 |
Method ADD_MONTHS_TO_DATE on class CL_RECA_DATE has no exception.
Method ADD_TO_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20030114 | |||
| 2 | ID_DAYS | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20030114 | |||
| 3 | ID_MONTHS | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20030114 | |||
| 4 | ID_YEARS | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20030114 | |||
| 5 | RD_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20030114 |
Method ADD_TO_DATE on class CL_RECA_DATE has no exception.
Method AS_CHAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20020809 | |||
| 2 | RD_DATE | Value transfer | Type reference (TYPE) | CHAR10 | Datum im Ausgabeformat | 20020809 |
Method AS_CHAR on class CL_RECA_DATE has no exception.
Method CALCULATE_BUSINESS_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE_TARGET | Value transfer | Type reference (TYPE) | SCDATUM | Zieldatum | 20050921 | |||
| 2 | ID_BUSINESS_DAYS | Call by reference | Type reference (TYPE) | SCAL-FACIDATE | Geschäftstage | 20050921 | |||
| 3 | ID_CALC_CONTEXT | Call by reference | Type reference (TYPE) | RECABUSDATECALCCONTEXT | Business-Kontext für Ermittlung eines Werktages | 20050921 | |||
| 4 | ID_DATE_SOURCE | Call by reference | Type reference (TYPE) | SCDATUM | Ursprungsdatum | 20050921 | |||
| 5 | ID_DIRECTION | Call by reference | Type reference (TYPE) | SCAL-INDICATOR | Richtung | 20050921 | |||
| 6 | ID_FACTORY_CALENDAR | Call by reference | Type reference (TYPE) | SCAL-FCALID | Fabrikkalender | 20050921 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20050922 |
Method CHECK_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | ANY | Datum | 20020809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Datum ist ungültig | 20020809 |
Method CHECK_INTERSECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM1 | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: gültig ab Periode 1 | 20021031 | |||
| 2 | ID_DATEFROM2 | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: gültig ab Periode 2 | 20021031 | |||
| 3 | ID_DATETO1 | Call by reference | Type reference (TYPE) | RECADATETO | Datum: gültig bis Periode 1 | 20021031 | |||
| 4 | ID_DATETO2 | Call by reference | Type reference (TYPE) | RECADATETO | Datum: gültig bis Periode 2 | 20021031 | |||
| 5 | ID_TEXT1 | Call by reference | Type reference (TYPE) | CLIKE | Vorangestellter Text 1 | 20021031 | |||
| 6 | ID_TEXT2 | Call by reference | Type reference (TYPE) | CLIKE | Vorangestellter Text 2 | 20021031 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zeiträum überschneiden sich | 20021031 |
Method CHECK_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM | Call by reference | Type reference (TYPE) | ANY | Datum: gültig ab | 20021031 | |||
| 2 | ID_DATETO | Call by reference | Type reference (TYPE) | ANY | Datum: gültig bis | 20021031 | |||
| 3 | ID_SUPERFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | Überg. Datum: gültig ab | 20021031 | |||
| 4 | ID_SUPERTO | Call by reference | Type reference (TYPE) | RECADATETO | Überg. Datum: gültig bis | 20021031 | |||
| 5 | ID_TEXT1 | Call by reference | Type reference (TYPE) | CLIKE | 1. Text für Ausgabe | 20021031 | |||
| 6 | ID_TEXT2 | Call by reference | Type reference (TYPE) | CLIKE | 2. Text für Ausgabe | 20021031 | |||
| 7 | IF_IGNORE_EMPTY_PERIOD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Initialen Zeitraum ignorieren | 20040526 | ||
| 8 | IF_INHERIT_IF_INITIAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Vererbung wenn initial | 20030218 | ||
| 9 | IF_ONLY_WARN_IF_OUTSIDE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: "Warnung" bei Zeitraum außerhalb (anstatt "Fehler") | 20051109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zeitraum ist fehlerhaft | 20021031 |
Method CHECK_PERIODS_OF_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM_FIELDNAME | Call by reference | Type reference (TYPE) | DD03L-FIELDNAME | 'VALIDFROM' | Feldname Datum ab | 20040526 | ||
| 2 | ID_DATETO_FIELDNAME | Call by reference | Type reference (TYPE) | DD03L-FIELDNAME | 'VALIDTO' | Feldname Datum bis | 20040526 | ||
| 3 | ID_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text für Ausgabe "TEXT: Zeitraum fehlerhaft" | 20040526 | |||
| 4 | IF_IGNORE_EMPTY_PERIODS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Initiale Zeiträume ignorieren | 20040526 | ||
| 5 | IO_MSGLIST | Call by reference | Object reference (TYPE REF TO) | IF_RECA_MESSAGE_LIST | Nachrichtensammler | 20040526 | |||
| 6 | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Zeiträumen | 20040526 |
Method CHECK_PERIODS_OF_TABLE on class CL_RECA_DATE has no exception.
Method CONVERT_DATE_TO_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE_INTERNAL | Call by reference | Type reference (TYPE) | DATUM | Datum | 20040430 | |||
| 2 | ID_DATE_EXTERNAL | Call by reference | Type reference (TYPE) | CSEQUENCE | Datum in externer Darstellung | 20040430 |
Method CONVERT_DATE_TO_INTERNAL on class CL_RECA_DATE has no exception.
Method CONVERT_DATE_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Datum als String (10 Zeichen!) | 20021015 | |||
| 2 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20021015 |
Method CONVERT_DATE_TO_STRING on class CL_RECA_DATE has no exception.
Method CONVERT_DATE_TO_STRING_X Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE_STRING_L | Call by reference | Type reference (TYPE) | CSEQUENCE | Datum als String | 20060221 | |||
| 2 | ED_DATE_STRING_M | Call by reference | Type reference (TYPE) | CSEQUENCE | Datum als String | 20060221 | |||
| 3 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20060221 | |||
| 4 | ID_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20070201 |
Method CONVERT_DATE_TO_STRING_X on class CL_RECA_DATE has no exception.
Method CONVERT_RANGE_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_RANGE_STRING | Call by reference | Type reference (TYPE) | CSEQUENCE | Zeitraum als String "von - bis" (23 Zeichen!) | 20010906 | |||
| 2 | ID_DATEFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | RECA0_DATE-MIN | Datum: ab | 20010906 | ||
| 3 | ID_DATETO | Call by reference | Type reference (TYPE) | RECADATETO | RECA0_DATE-MAX | Datum: bis | 20010906 | ||
| 4 | ID_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Sprache | 20070125 | ||
| 5 | IF_NO_CONVERSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Keine Zeitraumkonvertierung | 20030611 |
Method CONVERT_RANGE_TO_STRING on class CL_RECA_DATE has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Ausgabedatum | 20030822 | |||
| 2 | EF_IS_END_OF_MONTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | Ultimokennzeichen für das Ausgabedatum | 20030822 | |||
| 3 | ID_CALENDAR_DAYS | Call by reference | Type reference (TYPE) | SIMPLE | Additive Anzahl von Kalendertagen | 20030822 | |||
| 4 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Eingabedatum | 20030822 | |||
| 5 | ID_DAYS | Call by reference | Type reference (TYPE) | SIMPLE | Additive Anzahl von Zinstagen | 20030822 | |||
| 6 | ID_MONTHS | Call by reference | Type reference (TYPE) | SIMPLE | Additive Anzahl von Monaten | 20030822 | |||
| 7 | ID_YEARS | Call by reference | Type reference (TYPE) | SIMPLE | Additive Anzahl von Jahren | 20030822 | |||
| 8 | IF_IS_END_OF_MONTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | Ultimokennzeichen für das Eingabedatum | 20030822 | |||
| 9 | IF_SET_LAST_DAY_OF_MONTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | Ausgabedatum auf ultimo setzen | 20030822 |
Method CREATE on class CL_RECA_DATE has no exception.
Method CREATE_DATE_RANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATES_CUT | Value transfer | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit geschnittenen von-bis Daten | 20010525 | |||
| 2 | IF_INCLUDE_GAPS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Zeitraum-Lücken mit berücksichtigen | 20010912 | ||
| 3 | IT_DATES_OVERLAP | Call by reference | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit überlappenden von-bis Daten | 20010525 |
Method CREATE_DATE_RANGES on class CL_RECA_DATE has no exception.
Method CREATE_DATE_RANGES_COMPRESSED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATES_CUT | Value transfer | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit großenis Daten | 20010525 | |||
| 2 | IT_DATES_OVERLAP | Call by reference | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit überlappenden von-bis Daten | 20010525 |
Method CREATE_DATE_RANGES_COMPRESSED on class CL_RECA_DATE has no exception.
Method CUT_DATE_RANGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATES_CUT | Value transfer | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit geschnittenen von-bis Daten | 20010525 | |||
| 2 | IT_DATES_OVERLAP | Call by reference | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit überlappenden von-bis Daten | 20010525 |
Method CUT_DATE_RANGES on class CL_RECA_DATE has no exception.
Method END_OF_MONTH_DETERMINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_IS_END_OF_MONTH | Value transfer | Type reference (TYPE) | ABAP_BOOL | Ultimokennzeichen | 20090130 | |||
| 2 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Eingabedatum | 20090130 |
Method END_OF_MONTH_DETERMINE on class CL_RECA_DATE has no exception.
Method FILL_DATE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATE_TABLE | Call by reference | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle mit Zeiträumen | 20031209 | |||
| 2 | ID_DATEFROM_FIELDNAME | Call by reference | Type reference (TYPE) | DD03L-FIELDNAME | 'VALIDFROM' | Feldname Datum ab | 20010531 | ||
| 3 | ID_DATETO_FIELDNAME | Call by reference | Type reference (TYPE) | DD03L-FIELDNAME | 'VALIDTO' | Feldname Datum bis | 20010531 | ||
| 4 | IT_SRC_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Sourcetabelle mit Zeiträumen | 20010531 |
Method FILL_DATE_TABLE on class CL_RECA_DATE has no exception.
Method GET_CALENDAR_UNITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_UNIT_DAY | Call by reference | Type reference (TYPE) | T006-MSEHI | Maßeinheit für Tag | 20021024 | |||
| 2 | ED_UNIT_MONTH | Call by reference | Type reference (TYPE) | T006-MSEHI | Maßeinheit für Monat | 20021024 | |||
| 3 | ED_UNIT_WEEK | Call by reference | Type reference (TYPE) | T006-MSEHI | Maßeinheit für Woche | 20021024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20021024 |
Method GET_CURRENT_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE | Call by reference | Type reference (TYPE) | DATUM | Datum aus UTC in gewünschter Zeitzone | 20011128 | |||
| 2 | ED_TIME | Call by reference | Type reference (TYPE) | UZEIT | Zeit aus UTC in gewünschter Zeitzone | 20011128 | |||
| 3 | ED_TIMESTAMP | Call by reference | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20011128 | |||
| 4 | ID_TIMEZONE | Call by reference | Type reference (TYPE) | TZNZONE | SY-ZONLO | Zeitzone für die Ausgabe | 20050511 |
Method GET_CURRENT_DATE on class CL_RECA_DATE has no exception.
Method GET_DATE_DIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_CALENDAR_DAYS | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Kalendertage | 20040513 | |||
| 2 | ED_MONTHS | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Monate | 20040513 | |||
| 3 | ED_YEARS | Call by reference | Type reference (TYPE) | NUMERIC | Anzahl Jahre | 20040513 | |||
| 4 | ID_DATE_FROM | Call by reference | Type reference (TYPE) | SYDATUM | Von-Datum | 20040513 | |||
| 5 | ID_DATE_TO | Call by reference | Type reference (TYPE) | SYDATUM | Bis-Datum | 20040513 |
Method GET_DATE_DIFF on class CL_RECA_DATE has no exception.
Method GET_DATE_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DATE_MONTH_BEG | Value transfer | Type reference (TYPE) | SYDATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20021218 | |||
| 2 | ED_DATE_MONTH_END | Value transfer | Type reference (TYPE) | SYDATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20021218 | |||
| 3 | ED_MONTH | Value transfer | Type reference (TYPE) | BUMON | Monat | 20021218 | |||
| 4 | ED_YEAR | Value transfer | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20021218 | |||
| 5 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20021218 | |||
| 6 | ID_MONTH_OFFSET | Call by reference | Type reference (TYPE) | I | 0 | Monate im Voraus oder zurück | 20030307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20021218 |
Method GET_DAYS_BETWEEN_TWO_DATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: Gültig ab | 20060622 | |||
| 2 | ID_DATETO | Call by reference | Type reference (TYPE) | RECADATETO | Datum: Gültig bis | 20060622 | |||
| 3 | RD_DAYS | Value transfer | Type reference (TYPE) | INT4 | Anzahl Tage | 20060622 |
Method GET_DAYS_BETWEEN_TWO_DATES on class CL_RECA_DATE has no exception.
Method GET_INTERSERCTING_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PERIOD_1 | Call by reference | Type reference (TYPE) | RECADATERANGE | 1. Zeitraum von-bis | 20060602 | |||
| 2 | IS_PERIOD_2 | Call by reference | Type reference (TYPE) | RECADATERANGE | 2. Zeitraum von-bis | 20060602 | |||
| 3 | RS_INTERSECTION | Value transfer | Type reference (TYPE) | RECADATERANGE | Überscheidung | 20060707 |
Method GET_INTERSERCTING_PERIOD on class CL_RECA_DATE has no exception.
Method GET_LEAP_DAYS_BETWEEN_2_DATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | Datum: Gültig ab | 20130108 | |||
| 2 | ID_DATETO | Call by reference | Type reference (TYPE) | RECADATETO | Datum: Gültig bis | 20130108 | |||
| 3 | RD_DAYS | Value transfer | Type reference (TYPE) | INT4 | Anzahl Tage | 20130108 |
Method GET_LEAP_DAYS_BETWEEN_2_DATES on class CL_RECA_DATE has no exception.
Method GET_WEEKDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | RECAKEYDATE | Aktuelles Datum des Applikationsservers | 20061213 | |||
| 2 | ID_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20061213 | ||
| 3 | RD_WEEKDAY | Value transfer | Type reference (TYPE) | CASDAYATTR-WEEKDAY_L | Name des Tages | 20070531 |
Method GET_WEEKDAY on class CL_RECA_DATE has no exception.
Method GET_WEEKDAY_SHORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | RECAKEYDATE | Stichtag | 20070531 | |||
| 2 | ID_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20070531 | ||
| 3 | RD_WEEKDAY_S | Value transfer | Type reference (TYPE) | CASDAYATTR-WEEKDAY_S | Kurzbezeichnung des Tages | 20070531 |
Method GET_WEEKDAY_SHORT on class CL_RECA_DATE has no exception.
Method GET_WEEK_INFO_BY_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_WEEK | Call by reference | Type reference (TYPE) | KWEEK | Woche | 20050531 | |||
| 2 | ED_WEEK_BEGIN | Call by reference | Type reference (TYPE) | SYDATUM | Wochenbegin | 20050531 | |||
| 3 | ED_WEEK_END | Call by reference | Type reference (TYPE) | SYDATUM | Wochenende | 20050531 | |||
| 4 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Aktuelles Datum des Applikationsservers | 20050531 |
Method GET_WEEK_INFO_BY_DATE on class CL_RECA_DATE has no exception.
Method IS_DATEFROM_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATEFROM | Call by reference | Type reference (TYPE) | RECADATEFROM | allg. Datum: gültig ab | 20020404 | |||
| 2 | RF_INITIAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bool: Initial | 20020404 |
Method IS_DATEFROM_INITIAL on class CL_RECA_DATE has no exception.
Method IS_DATETO_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATETO | Call by reference | Type reference (TYPE) | RECADATETO | allg. Datum: gültig bis | 20020404 | |||
| 2 | RF_INITIAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bool: Initial | 20020404 |
Method IS_DATETO_INITIAL on class CL_RECA_DATE has no exception.
Method IS_DATE_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum | 20020404 | |||
| 2 | RF_INITIAL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bool: Initial | 20020404 |
Method IS_DATE_INITIAL on class CL_RECA_DATE has no exception.
Method IS_DATE_OK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum | 20020809 | |||
| 2 | RF_DATE_IS_OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bool: Datum ist in Ordnung | 20020809 |
Method IS_DATE_OK on class CL_RECA_DATE has no exception.
Method MERGE_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MAIN_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20080430 | ||||
| 2 | ID_ADD_DATEFROM_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20080430 | |||
| 3 | ID_ADD_DATETO_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20080430 | |||
| 4 | ID_MAIN_DATEFROM_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20080430 | |||
| 5 | ID_MAIN_DATETO_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Feldname | 20080430 | |||
| 6 | IT_ADD_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20080430 | ||||
| 7 | IT_FIELDNAME | Call by reference | Type reference (TYPE) | RE_T_FIELDNAME | Feldnamen | 20080430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler | 20080430 |
Method MONTHS_BETWEEN_TWO_DATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE_FROM | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20011126 | |||
| 2 | ID_DATE_TO | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20011126 | |||
| 3 | IF_INCL_TO | Call by reference | Type reference (TYPE) | ABAP_BOOL | ' ' | 20011126 | |||
| 4 | RD_MONTHS | Value transfer | Type reference (TYPE) | INT4 | Natürliche Zahl | 20011126 |
Method MONTHS_BETWEEN_TWO_DATES on class CL_RECA_DATE has no exception.
Method SET_TO_BEGIN_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Eingabedatum | 20070711 | |||
| 2 | RD_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Ausgabedatum | 20070711 |
Method SET_TO_BEGIN_OF_MONTH on class CL_RECA_DATE has no exception.
Method SET_TO_END_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Eingabedatum | 20070711 | |||
| 2 | RD_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Ausgabedatum | 20070711 |
Method SET_TO_END_OF_MONTH on class CL_RECA_DATE has no exception.
Method SET_TO_NEXT_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Eingabedatum | 20080208 | |||
| 2 | RD_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Ausgabedatum | 20080208 |
Method SET_TO_NEXT_DAY on class CL_RECA_DATE has no exception.
Method SPLIT_TABLE_IN_DATERANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20080430 | ||||
| 2 | ID_DATEFROM_FIELDNAME | Call by reference | Type reference (TYPE) | RECAFIELDNAME | Select-Options: Feldname | 20080430 | |||
| 3 | ID_DATETO_FIELDNAME | Call by reference | Type reference (TYPE) | RECAFIELDNAME | Select-Options: Feldname | 20080430 | |||
| 4 | IT_DATERANGE | Call by reference | Type reference (TYPE) | RE_T_RECADATERANGE | Tabelle von Zeiträumen | 20080430 |
Method SPLIT_TABLE_IN_DATERANGE on class CL_RECA_DATE has no exception.
Method SUB_MONTHS_FROM_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20030110 | |||
| 2 | ID_MONTHS | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20030110 | |||
| 3 | RD_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20030110 |
Method SUB_MONTHS_FROM_DATE on class CL_RECA_DATE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 110 |