SAP ABAP Class CL_HRPAYFR_INTERVAL_COLLECTION (Interval collection)
Hierarchy
☛
SAP_HRCFR (Software Component) Sub component SAP_HRCFR of SAP_HR
⤷
PY-FR (Application Component) France
⤷
PC06 (Package) HR Payroll: France
⤷
⤷
Properties
| Class | CL_HRPAYFR_INTERVAL_COLLECTION | |
| Short Description | Interval collection | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC06 | HR Payroll: France |
| Created | 20110517 | 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_HRPAYFR_INTERVAL_COLLECTION has no interface implemented.
Friends
Class CL_HRPAYFR_INTERVAL_COLLECTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HRPAYFR_FACTORY | Factory interface | 20110602 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | PFRDS_T_INTERVAL | 20110602 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | STRING | Vector containing active statuses | 20110602 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | BEGDA | Start date | 20110602 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | ENDDA | End date | 20110602 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds all the intervals (except if initial) of a collection | 20110602 | |
| 2 | Instance method | Public | Method | Adds an interval | 20110602 | |
| 3 | Instance method | Public | Method | Splits collection perdiods from dated entry table | 20110602 | |
| 4 | Instance method | Public | Method | Adds in the end | 20110602 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20110602 | |
| 6 | Instance method | Public | Method | Deletes empty intervals | 20110711 | |
| 7 | Instance method | Protected | Method | Deletes empty intervals | 20110711 | |
| 8 | Instance method | Public | Method | Determines start and end date of the collection in question | 20110729 | |
| 9 | Instance method | Public | Method | Processes each interval of the collection (in current order) | 20110602 | |
| 10 | Instance method | Public | Method | Determines the interval | 20110602 | |
| 11 | Instance method | Public | Method | Determines the intervals | 20110602 | |
| 12 | Instance method | Public | Method | Determines the intervals | 20110711 | |
| 13 | Instance method | Public | Method | Insert one interval into another interval and delimit | 20110711 | |
| 14 | Instance method | Public | Method | Redirects the interval to a key date | 20110602 | |
| 15 | Instance method | Public | Method | Redirects the collection interval number | 20110602 | |
| 16 | Instance method | Public | Method | Merges the intervals | 20110602 | |
| 17 | Instance method | Public | Method | Deletes the intervals of type, expanding previous interval | 20110602 | |
| 18 | Instance method | Public | Method | Replaces intervals of type with clone of the selected inter. | 20110602 | |
| 19 | Instance method | Public | Method | Set bukrs, werks and btrtl to periods | 20130221 | |
| 20 | Instance method | Public | Method | Sorts by start date | 20110602 | |
| 21 | Instance method | Public | Method | Sorts by end date | 20110602 | |
| 22 | Instance method | Public | Method | Splits an interval at a key date | 20110602 | |
| 23 | Instance method | Public | Method | Split collection using table of dates and optional new type | 20110711 | |
| 24 | Instance method | Public | Method | Adds log entries to table | 20110926 |
Events
Class CL_HRPAYFR_INTERVAL_COLLECTION has no event.
Types
Class CL_HRPAYFR_INTERVAL_COLLECTION has no local type.
Method Signatures
Method ADD_COLLECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IVAL_COLL | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYFR_INTERVAL_COLLECTION | 20110602 | ||||
| 2 | IV_CLONE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Clone objects before adding to collection | 20110711 | ||
| 3 | IV_KEEP_SPLIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130403 |
Method ADD_COLLECTION on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method ADD_INTERVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IVAL | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | 20110602 | ||||
| 2 | IV_KEEP_SPLIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interval start/end has to be within collection start/end | 20110602 |
Method ADD_INTERVAL_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBSERVER | Call by reference | Object reference (TYPE REF TO) | IF_HR99S00_OBSERVER | 20110602 | ||||
| 2 | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Time dependant table | 20110602 | |||
| 3 | IV_BEG_COMP | Call by reference | Type reference (TYPE) | TABNAME | 'BEGDA' | Table name | 20110602 | ||
| 4 | IV_END_COMP | Call by reference | Type reference (TYPE) | TABNAME | 'ENDDA' | Table name | 20110602 | ||
| 5 | IV_TYPE | Call by reference | Type reference (TYPE) | I | 20110602 |
Method ADD_INTERVAL_TABLE on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method APPEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PERIOD | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | 20110602 |
Method APPEND on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IVAL_FACT | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_FACTORY | Factory class for creating intervals | 20110602 | |||
| 2 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start date | 20110602 | |||
| 3 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date | 20110602 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Any of the input dates are initial | 20110926 |
Method DELETE_ACTIVE_TYPES Signature
Method DELETE_ACTIVE_TYPES on class CL_HRPAYFR_INTERVAL_COLLECTION has no parameter.
Method DELETE_ACTIVE_TYPES on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method DELETE_DURATION_ZERO Signature
Method DELETE_DURATION_ZERO on class CL_HRPAYFR_INTERVAL_COLLECTION has no parameter.
Method DELETE_DURATION_ZERO on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method EXTEND_COLL_VALIDITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start date | 20110729 | |||
| 2 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date | 20110729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110729 |
Method FOR_EACH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROCESSOR | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_PROCESS_INTERVAL | Interface used when processing a set of interval objects | 20110602 | |||
| 2 | IV_AUTO_SPLIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Split periods not only on personnel actions | 20130221 | ||
| 3 | IV_KEEP_SPLIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130403 |
Method FOR_EACH on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LV_INDEX | Call by reference | Type reference (TYPE) | I | 20110602 | ||||
| 2 | RO_PERIOD | Value transfer | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | 20110602 |
Method GET on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method GET_INTERVALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_IVALS | Call by reference | Type reference (TYPE) | PFRDS_T_INTERVAL | 20110602 | ||||
| 2 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start date | 20110602 | ||
| 3 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End date | 20110602 | ||
| 4 | IV_TYPE | Call by reference | Type reference (TYPE) | I | Only return intervals of certain type | 20110729 |
Method GET_INTERVALS on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method GET_INTERVALS_OVERLAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_IVALS | Call by reference | Type reference (TYPE) | PFRDS_T_INTERVAL | 20110711 | ||||
| 2 | IT_CONDITION | Call by reference | Type reference (TYPE) | PFRDS_T_INTERVAL_SEL | 20110711 | ||||
| 3 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start date | 20110711 | ||
| 4 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End date | 20110711 |
Method GET_INTERVALS_OVERLAP on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method INSERT_INTO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NEW_IVAL | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | Interval management | 20110711 | |||
| 2 | IO_TARGET_IVAL | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | Interval management | 20110711 |
Method INSERT_INTO on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method INTERSECTION_INTERVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20110602 | ||||
| 2 | RO_IVAL | Value transfer | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | 20110602 |
Method INTERSECTION_INTERVAL on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NOT_INITIAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Only count non initial intervals | 20110729 | ||
| 2 | RV_LENGTH | Value transfer | Type reference (TYPE) | I | 20110602 |
Method LENGTH on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method MERGE_INTERVALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_COMPARATOR | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_COMPARATOR | 20110602 | ||||
| 2 | IV_AUTO_SPLIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Split periods not only on personnel actions | 20130221 |
Method MERGE_INTERVALS on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method REMOVE_INTERVALS_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TYPE | Call by reference | Type reference (TYPE) | I | 20110602 |
Method REMOVE_INTERVALS_TYPE on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method REPLACE_INTERVALS_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_IVAL | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYFR_INTERVAL | 20110602 | ||||
| 2 | IV_SKIP_FIRST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110602 | |||
| 3 | IV_SKIP_LAST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110602 | |||
| 4 | IV_TYPE | Call by reference | Type reference (TYPE) | I | 20110602 |
Method REPLACE_INTERVALS_TYPE on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method SET_SIREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_WPBP | Call by reference | Type reference (TYPE) | HRPAY99_WPBP | WPBP table | 20130221 |
Method SET_SIREN on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method SORT_BY_BEGDA Signature
Method SORT_BY_BEGDA on class CL_HRPAYFR_INTERVAL_COLLECTION has no parameter.
Method SORT_BY_BEGDA on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method SORT_BY_ENDDA Signature
Method SORT_BY_ENDDA on class CL_HRPAYFR_INTERVAL_COLLECTION has no parameter.
Method SORT_BY_ENDDA on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method SPLIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Split only active interval | 20110926 | ||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20110602 | ||||
| 3 | IV_TYPE_LEFT | Call by reference | Type reference (TYPE) | I | Type of split interval | 20110711 | |||
| 4 | IV_TYPE_RIGHT | Call by reference | Type reference (TYPE) | I | Type of new interval | 20110711 |
Method SPLIT on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method SPLIT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBSERVER | Call by reference | Object reference (TYPE REF TO) | IF_HR99S00_OBSERVER | Observer interface | 20111223 | |||
| 2 | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110711 | ||||
| 3 | IV_ACT_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Split only active intervals | 20110926 | ||
| 4 | IV_FIELD | Call by reference | Type reference (TYPE) | TABNAME | 'BEGDA' | Table name | 20110711 | ||
| 5 | IV_FIRST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Include first entry in table | 20110711 | ||
| 6 | IV_TYPE_LEFT | Call by reference | Type reference (TYPE) | I | Type of split interval | 20110926 | |||
| 7 | IV_TYPE_RIGHT | Call by reference | Type reference (TYPE) | I | Type of split interval | 20110926 |
Method SPLIT_TABLE on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
Method STRINGIFY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_LOG | Call by reference | Type reference (TYPE) | PFRDS_T_LOG | 20110926 |
Method STRINGIFY on class CL_HRPAYFR_INTERVAL_COLLECTION has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |