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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PFRDS 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 MO_FACTORY Instance attribute Private Object reference (TYPE REF TO) IF_HRPAYFR_FACTORY Factory interface 20110602
2 MT_PERIODS Instance attribute Protected Type reference (TYPE) PFRDS_T_INTERVAL 20110602
3 MV_ACTIVE Instance attribute Protected Type reference (TYPE) STRING Vector containing active statuses 20110602
4 MV_BEGDA Instance attribute Public Type reference (TYPE) BEGDA Start date 20110602
5 MV_ENDDA Instance attribute Public Type reference (TYPE) ENDDA End date 20110602
Methods
# Method Level Visibility Method type Description Created on
1 ADD_COLLECTION Instance method Public Method Adds all the intervals (except if initial) of a collection 20110602
2 ADD_INTERVAL Instance method Public Method Adds an interval 20110602
3 ADD_INTERVAL_TABLE Instance method Public Method Splits collection perdiods from dated entry table 20110602
4 APPEND Instance method Public Method Adds in the end 20110602
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110602
6 DELETE_ACTIVE_TYPES Instance method Public Method Deletes empty intervals 20110711
7 DELETE_DURATION_ZERO Instance method Protected Method Deletes empty intervals 20110711
8 EXTEND_COLL_VALIDITY Instance method Public Method Determines start and end date of the collection in question 20110729
9 FOR_EACH Instance method Public Method Processes each interval of the collection (in current order) 20110602
10 GET Instance method Public Method Determines the interval 20110602
11 GET_INTERVALS Instance method Public Method Determines the intervals 20110602
12 GET_INTERVALS_OVERLAP Instance method Public Method Determines the intervals 20110711
13 INSERT_INTO Instance method Public Method Insert one interval into another interval and delimit 20110711
14 INTERSECTION_INTERVAL Instance method Public Method Redirects the interval to a key date 20110602
15 LENGTH Instance method Public Method Redirects the collection interval number 20110602
16 MERGE_INTERVALS Instance method Public Method Merges the intervals 20110602
17 REMOVE_INTERVALS_TYPE Instance method Public Method Deletes the intervals of type, expanding previous interval 20110602
18 REPLACE_INTERVALS_TYPE Instance method Public Method Replaces intervals of type with clone of the selected inter. 20110602
19 SET_SIREN Instance method Public Method Set bukrs, werks and btrtl to periods 20130221
20 SORT_BY_BEGDA Instance method Public Method Sorts by start date 20110602
21 SORT_BY_ENDDA Instance method Public Method Sorts by end date 20110602
22 SPLIT Instance method Public Method Splits an interval at a key date 20110602
23 SPLIT_TABLE Instance method Public Method Split collection using table of dates and optional new type 20110711
24 STRINGIFY 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 Importing IO_IVAL_COLL Call by reference Object reference (TYPE REF TO) CL_HRPAYFR_INTERVAL_COLLECTION 20110602
2 Importing IV_CLONE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Clone objects before adding to collection 20110711
3 Importing 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 Importing IO_IVAL Call by reference Object reference (TYPE REF TO) IF_HRPAYFR_INTERVAL 20110602
2 Importing IV_KEEP_SPLIT Call by reference Type reference (TYPE) ABAP_BOOL 20130403
# Exception Resumable Description Created on
1 INTERVAL_NOT_WITHIN_COLLECTION 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 Importing IO_OBSERVER Call by reference Object reference (TYPE REF TO) IF_HR99S00_OBSERVER 20110602
2 Importing IT_TABLE Call by reference Type reference (TYPE) STANDARD TABLE Time dependant table 20110602
3 Importing IV_BEG_COMP Call by reference Type reference (TYPE) TABNAME 'BEGDA' Table name 20110602
4 Importing IV_END_COMP Call by reference Type reference (TYPE) TABNAME 'ENDDA' Table name 20110602
5 Importing 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 Importing 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 Importing IO_IVAL_FACT Call by reference Object reference (TYPE REF TO) IF_HRPAYFR_FACTORY Factory class for creating intervals 20110602
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Start date 20110602
3 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA End date 20110602
# Exception Resumable Description Created on
1 INVALID_COLLECTION_DATES 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 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Start date 20110729
2 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA End date 20110729
# Exception Resumable Description Created on
1 DECREASE_NOT_POSSIBLE 20110729

Method FOR_EACH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing IV_AUTO_SPLIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Split periods not only on personnel actions 20130221
3 Importing 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 Importing LV_INDEX Call by reference Type reference (TYPE) I 20110602
2 Returning 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 Exporting ET_IVALS Call by reference Type reference (TYPE) PFRDS_T_INTERVAL 20110602
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA '18000101' Start date 20110602
3 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA '99991231' End date 20110602
4 Importing 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 Exporting ET_IVALS Call by reference Type reference (TYPE) PFRDS_T_INTERVAL 20110711
2 Importing IT_CONDITION Call by reference Type reference (TYPE) PFRDS_T_INTERVAL_SEL 20110711
3 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA '18000101' Start date 20110711
4 Importing 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 Importing IO_NEW_IVAL Call by reference Object reference (TYPE REF TO) IF_HRPAYFR_INTERVAL Interval management 20110711
2 Importing 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 Importing IV_DATE Call by reference Type reference (TYPE) D 20110602
2 Returning 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 Importing IV_NOT_INITIAL Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Only count non initial intervals 20110729
2 Returning 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 Importing IO_COMPARATOR Call by reference Object reference (TYPE REF TO) IF_HRPAYFR_COMPARATOR 20110602
2 Importing 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 Importing 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 Importing IO_IVAL Call by reference Object reference (TYPE REF TO) IF_HRPAYFR_INTERVAL 20110602
2 Importing IV_SKIP_FIRST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110602
3 Importing IV_SKIP_LAST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110602
4 Importing 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 Importing 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 Importing IV_ACT_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Split only active interval 20110926
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20110602
3 Importing IV_TYPE_LEFT Call by reference Type reference (TYPE) I Type of split interval 20110711
4 Importing 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 Importing IO_OBSERVER Call by reference Object reference (TYPE REF TO) IF_HR99S00_OBSERVER Observer interface 20111223
2 Importing IT_TABLE Call by reference Type reference (TYPE) STANDARD TABLE 20110711
3 Importing IV_ACT_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Split only active intervals 20110926
4 Importing IV_FIELD Call by reference Type reference (TYPE) TABNAME 'BEGDA' Table name 20110711
5 Importing IV_FIRST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Include first entry in table 20110711
6 Importing IV_TYPE_LEFT Call by reference Type reference (TYPE) I Type of split interval 20110926
7 Importing 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 Changing 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