SAP ABAP Class CL_HRTIM_ARCH_UTILITY (Time Management Utility Class for Archiving/Destruction)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PT (Application Component) Personnel Time Management
     PTIM (Package) HR Time Management Application Development
Properties
Class CL_HRTIM_ARCH_UTILITY  
Short Description Time Management Utility Class for Archiving/Destruction    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package PTIM   HR Time Management Application Development 
Created 20110419   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 CX_PA_ARCH Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 PAR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRTIM_ARCH_UTILITY has no interface implemented.
Friends
Class CL_HRTIM_ARCH_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_T7PMN Static Attribute Private Type reference (TYPE) TT_T7PMN 20110519
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_PERIODS_FOR_XAWART Static method Private Method 20110519
2 CHECK_FOR_PURL_PCALE Static method Private Method Used by RPUDESTROY_ABSENCE 20111017
3 CLASS_CONSTRUCTOR Static method Public Constructor 20110519
4 CREATE_COMPENSATION Static method Public Method Used by RPUDESTROY_ABSENCE 20110506
5 GET_DATE Static method Private Method Used by RPUDESTROY_ABSENCE 20110506
6 GET_DOCNR Static method Private Method Used by RPUDESTROY_ABSENCE 20110506
7 GET_MOAWB Static method Public Method Determines MOAWB 20110517
8 GET_STYPE_SUBTY Static method Private Method Used by RPUDESTROY_ABSENCE 20110506
9 GET_SUBTY_GROUP Static method Public Method Determines the AO Subgroup from the Subtype of the Absence 20110517
10 GET_XAWART_FROM_PM Static method Private Method Searches for a XWART of Table T7PMN 20110517
11 MODIFY_CLUSTER_PC Static method Public Method Used by RPUDESTROY_ABSENCE 20111017
12 REPLACE_ABSENCE Static method Private Method Determines Anonymous Absences for Position Management 20110519
13 REPLACE_ABSENCES_FOR_PM Static method Public Method Determines Anonymous Absences for Position Management 20110517
14 SET_T7PMN Static method Private Method 20110519
Events
Class CL_HRTIM_ARCH_UTILITY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_XAWART_PERIODS Private See coding 20110519 BEGIN OF ts_xawart_periods, begda TYPE begda, endda TYPE endda, xawart TYPE pt_xawart, END OF ts_xawart_periods
2 TT_T7PMN Private See coding 20110519 tt_t7pmn TYPE TABLE OF t7pmn
3 TT_XAWART_PERIODS Private See coding 20110519 tt_xawart_periods TYPE TABLE OF ts_xawart_periods
Method Signatures

Method CALCULATE_PERIODS_FOR_XAWART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XAWART_PERIODS Call by reference Type reference (TYPE) TT_XAWART_PERIODS 20110519
2 Importing IT_T7PMN Call by reference Type reference (TYPE) TT_T7PMN 20110519
3 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20110519
4 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 20110519

Method CALCULATE_PERIODS_FOR_XAWART on class CL_HRTIM_ARCH_UTILITY has no exception.

Method CHECK_FOR_PURL_PCALE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ABSTP Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20120516
2 Exporting EV_IS_PCALE Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20111017
3 Exporting EV_IS_PURL Call by reference Type reference (TYPE) BOOLEAN boolsche Variable (X=true, -=false, space=unknown) 20111017
4 Importing IS_P0001 Call by reference Type reference (TYPE) P0001 Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20111017
5 Importing IS_PA200X Call by reference Type reference (TYPE) PRELP Personalzeitsatz-Infotyp 2001 (Abwesenheiten) 20111017

Method CHECK_FOR_PURL_PCALE on class CL_HRTIM_ARCH_UTILITY has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRTIM_ARCH_UTILITY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRTIM_ARCH_UTILITY has no exception.

Method CREATE_COMPENSATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PA0416 Call by reference Type reference (TYPE) STANDARD TABLE Struktur Infotyp Zeitkontingentabgeltungen 20110506
2 Exporting ET_PTQUODED_COMP Call by reference Type reference (TYPE) TIM_QUOTADED_TAB Tabelle über Abtragungen von Personenzeitkontingenten 20110506
3 Importing IT_PA200X Call by reference Type reference (TYPE) STANDARD TABLE 20111017
4 Importing IT_PTQUODED Call by reference Type reference (TYPE) TIM_QUOTADED_TAB Tabelle über Abtragungen von Personenzeitkontingenten 20110506
5 Importing I_UPDATE_DB Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE True=Update auf Datenbank 20110506
# Exception Resumable Description Created on
1 CX_PA_ARCH PA Archivierung: Ausnahmen 20111104

Method GET_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20110506
2 Importing IS_PRELP Call by reference Type reference (TYPE) PRELP Puffer Personalstammdaten 20111017
3 Importing IS_PTQUODED Call by reference Type reference (TYPE) PTQUODED Abtragung von Personenzeitkontingenten 20110506
# Exception Resumable Description Created on
1 CX_PA_ARCH PA Archivierung: Ausnahmen 20111104

Method GET_DOCNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOCNR Call by reference Type reference (TYPE) PTM_DOCNR Belegnummer für Personenzeitdaten 20110506

Method GET_DOCNR on class CL_HRTIM_ARCH_UTILITY has no exception.

Method GET_MOAWB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MOABW Call by reference Type reference (TYPE) MOABW Wertmaterial inventarisieren 20110517
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20110517
3 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 20110517
4 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personalnummer 20110517
# Exception Resumable Description Created on
1 CX_PA_ARCH PA Archivierung: Ausnahmen 20111104

Method GET_STYPE_SUBTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STYPE Call by reference Type reference (TYPE) QTYPE Art des Kontingenttyps (Ab-/Anwesenheitskontingent) 20110506
2 Exporting EV_SUBTY Call by reference Type reference (TYPE) SUBTY Subtyp 20110506
3 Importing IV_QUONR Call by reference Type reference (TYPE) PTM_QUONR Nummer für Personenzeitkontingente 20110506

Method GET_STYPE_SUBTY on class CL_HRTIM_ARCH_UTILITY has no exception.

Method GET_SUBTY_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SUBTY_GRP Call by reference Type reference (TYPE) HRARCH_AO_SUBGRP Name des Archivierungsteilobjekts 20110517
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20110517
3 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 20110517
4 Importing IV_INFTY Call by reference Type reference (TYPE) INFTY Infotyp 20110517
5 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personalnummer 20110517
6 Importing IV_SUBTY Call by reference Type reference (TYPE) SUBTY Subtyp 20110517
# Exception Resumable Description Created on
1 CX_PA_ARCH PA Archivierung: Ausnahmen 20111104

Method GET_XAWART_FROM_PM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XAWART_PERIODS Call by reference Type reference (TYPE) TT_XAWART_PERIODS 20110519
2 Importing IT_T7PMN Call by reference Type reference (TYPE) TT_T7PMN 20110519
3 Importing IV_AWART Call by reference Type reference (TYPE) AWART Ab- oder Anwesenheitsart 20110517
4 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20110518
5 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 20110517
6 Importing IV_MOABW Call by reference Type reference (TYPE) MOABW Gruppierung d. Personalteilbereiche f. Ab-/Anwesenheitsarten 20110517

Method GET_XAWART_FROM_PM on class CL_HRTIM_ARCH_UTILITY has no exception.

Method MODIFY_CLUSTER_PC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PA200X Call by reference Type reference (TYPE) PRELP_TAB Tabelle von generischen Infotypen 20111017
2 Importing IV_DELPRD Call by reference Type reference (TYPE) ABAP_BOOL 20111017
# Exception Resumable Description Created on
1 CX_PA_ARCH PA Archivierung: Ausnahmen 20111104

Method REPLACE_ABSENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ARCH_ABSENCES Call by reference Type reference (TYPE) TIM_ANONYM_ARCH Anonyme Archivierung von Abwesenheiten 20110519
2 Importing IS_PA2001 Call by reference Type reference (TYPE) PA2001 Tabelle von Infotypen 2001 20110519
3 Importing IV_MOABW Call by reference Type reference (TYPE) MOABW Gruppierung d. Personalteilbereiche f. Ab-/Anwesenheitsarten 20110519

Method REPLACE_ABSENCE on class CL_HRTIM_ARCH_UTILITY has no exception.

Method REPLACE_ABSENCES_FOR_PM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ARCH_ABSENCES Call by reference Type reference (TYPE) TIM_ANONYM_ARCH_TAB Anonyme Archivierung von Abwesenheiten 20110517
2 Importing IT_PA2001 Call by reference Type reference (TYPE) STANDARD TABLE 20110517

Method REPLACE_ABSENCES_FOR_PM on class CL_HRTIM_ARCH_UTILITY has no exception.

Method SET_T7PMN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_T7PMN Call by reference Type reference (TYPE) TT_T7PMN 20110519

Method SET_T7PMN on class CL_HRTIM_ARCH_UTILITY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in