SAP ABAP Class CL_HRPAYDEPF_TOOLS (Garnishment Tools)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-NT-GR (Application Component) Garnishment/Cession
     P01P (Package) HR Germany: Garnishments
Properties
Class CL_HRPAYDEPF_TOOLS  
Short Description Garnishment Tools    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P01P   HR Germany: Garnishments 
Created 20070514   SAP 
Last change 20071120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRPAYDEPF_TOOLS has no forward declaration.
Interfaces
Class CL_HRPAYDEPF_TOOLS has no interface implemented.
Friends
Class CL_HRPAYDEPF_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_DEMOLGA Constant Private Type reference (TYPE) MOLGA '01' Personnel Country Grouping (Germany) 20070522
2 C_FALSE Constant Private Type reference (TYPE) BOOLE_D ' ' Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ') 20070524
3 C_TRUE Constant Private Type reference (TYPE) BOOLE_D 'X' Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ') 20070524
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_PFAENDUNGSGRENZE_850C Static method Public Method Calculate Garnishment Limit and Check Net Amount 20070522
2 CHECK_RANGFOLGE Static method Public Method Overriding Garnishment 20070522
3 GET_ACTIVE_INTERVALS Static method Public Method Read Active Garnishment Intervals 20070919
4 MAX_VAL Static method Private Method Calculate Maximum Value 20070522
5 MIN_VAL Static method Private Method Calculate Minimum Value 20070522
6 PROCESS_STEP1_850C Static method Private Method Step One of Garnishment Calculation (Section 850C) 20070522
7 PROCESS_STEP2_850C Static method Private Method Step Two of Garnishment Calculation (Section 850C) 20070522
8 PROCESS_STEP3_850C Static method Private Method Step Three of Garnishment Calculation (Section 850C) 20070522
9 PROCESS_STEP4_850C Static method Private Method Step Four of Garnishment Calculation (Section 850C) 20070522
10 PROCESS_STEP5_850C Static method Private Method Step Five of Garnishment Calculation (Section 850C) 20070522
11 PROCESS_STEP6_850C Static method Private Method Step Six of Garnishment Calculation (Section 850C) 20070522
12 READ_PFAENDUNGSKONSTANTEN Static method Public Method Import Garnishment Constants 20070522
13 ROUND Static method Private Method Rounding of Values 20070522
14 ROUND_ALLOWANCE Static method Private Method Rounding of Exemptions 20070522
Events
Class CL_HRPAYDEPF_TOOLS has no event.
Types
Class CL_HRPAYDEPF_TOOLS has no local type.
Method Signatures

Method CHECK_PFAENDUNGSGRENZE_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NETTO_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070522
2 Exporting E_PFAENDBARERBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing I_DATUM Call by reference Type reference (TYPE) ENDDA Stichtag 20070522
4 Importing I_NETTO Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
5 Importing I_UNBER Call by reference Type reference (TYPE) UNBER Anzahl der Unterhaltsberechtigten 20070522
# Exception Resumable Description Created on
1 NOT_ALL_CONSTANTS_DECLARED Es wurden nicht alle Pfändungskonstanten deklariert 20070522

Method CHECK_RANGFOLGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VORRANGIG Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070522
2 Importing IT_P0111 Call by reference Type reference (TYPE) P0111_TAB Personal-Stammsatz Infotyp 0111 (Pf. Verwaltungsdaten) 20070522
3 Importing I_BEGDA Call by reference Type reference (TYPE) BEGDA Gültigkeitsbeginn 20070522
4 Importing I_ENDDA Call by reference Type reference (TYPE) ENDDA Gültigkeitsende 20070522
5 Importing I_PFDAT Call by reference Type reference (TYPE) PFDTM Zustellungsdatum / Vertragsbeginn 20070522
6 Importing I_PFUHR Call by reference Type reference (TYPE) PFUHR Uhrzeit der Pfändungszustellung / des Vertragbeginns 20070522

Method CHECK_RANGFOLGE on class CL_HRPAYDEPF_TOOLS has no exception.

Method GET_ACTIVE_INTERVALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_READ_INFOTYPE Call by reference Object reference (TYPE REF TO) IF_HRPA_READ_INFOTYPE Lesen von Infotypsätzen 20070919
2 Importing IT_P0111 Call by reference Type reference (TYPE) P0111_TAB Personal-Stammsatz Infotyp 0111 (Pf. Verwaltungsdaten) 20080129
3 Importing I_BEGDA Call by reference Type reference (TYPE) BEGDA '18000101' Gültigkeitsbeginn 20070919
4 Importing I_ENDDA Call by reference Type reference (TYPE) ENDDA '99991231' Gültigkeitsende 20070919
5 Importing I_PERNR Call by reference Type reference (TYPE) P_PERNR Personalnummer 20070919
6 Returning RT_ACTIVE_GARNISHMENT Value transfer Type reference (TYPE) HRPAYDEPFT_ACTIVE_GARNISHMENT Pfändung Entstehungsprinzip: Intervalle mit aktiver Pfändung 20070919

Method GET_ACTIVE_INTERVALS on class CL_HRPAYDEPF_TOOLS has no exception.

Method MAX_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_MAXVALUE Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070524
2 Importing I_VALUE1 Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing I_VALUE2 Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522

Method MAX_VAL on class CL_HRPAYDEPF_TOOLS has no exception.

Method MIN_VAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_MINVALUE Call by reference Type reference (TYPE) ANY Personalabrechnung: Betrag 20070524
2 Importing I_VALUE1 Call by reference Type reference (TYPE) ANY Personalabrechnung: Betrag 20070522
3 Importing I_VALUE2 Call by reference Type reference (TYPE) ANY Personalabrechnung: Betrag 20070522

Method MIN_VAL on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP1_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_NETTO Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070524
2 Exporting E_VOLL_PFBTR Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing IS_PFCONSTANTS Call by reference Type reference (TYPE) HRPAYDEPFS_PFCONSTS Konstanten für die Pfänungsberechnung 20070524

Method PROCESS_STEP1_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP2_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_BERECH_GRUNDLAGE Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
2 Exporting E_BETRAG_MIT_SCHUTZ Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing IS_PFCONSTANTS Call by reference Type reference (TYPE) HRPAYDEPFS_PFCONSTS Konstanten für die Pfänungsberechnung 20070524
4 Importing I_NETTO Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522

Method PROCESS_STEP2_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP3_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FREIBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
2 Importing IS_PFCONSTANTS Call by reference Type reference (TYPE) HRPAYDEPFS_PFCONSTS Konstanten für die Pfänungsberechnung 20070524
3 Importing I_UNBER Call by reference Type reference (TYPE) UNBER Anzahl der Unterhaltsberechtigten 20070522

Method PROCESS_STEP3_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP4_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MEHRBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
2 Importing I_BERECH_GRUNDLAGE Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing I_FREIBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522

Method PROCESS_STEP4_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP5_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_FREIBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070524
2 Importing IS_PFCONSTANTS Call by reference Type reference (TYPE) HRPAYDEPFS_PFCONSTS Konstanten für die Pfänungsberechnung 20070524
3 Importing I_MEHRBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
4 Importing I_UNBER Call by reference Type reference (TYPE) UNBER Anzahl der Unterhaltsberechtigten 20070522

Method PROCESS_STEP5_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method PROCESS_STEP6_850C Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VORL_PFBTR Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
2 Importing I_FREIBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing I_MEHRBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
4 Importing I_VOLL_PFBTR Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522

Method PROCESS_STEP6_850C on class CL_HRPAYDEPF_TOOLS has no exception.

Method READ_PFAENDUNGSKONSTANTEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PFCONSTANTS Call by reference Type reference (TYPE) HRPAYDEPFS_PFCONSTS Konstanten für die Pfänungsberechnung 20070524
2 Importing I_DATUM Call by reference Type reference (TYPE) ENDDA Stichtag 20070522
# Exception Resumable Description Created on
1 NOT_ALL_CONSTANTS_DECLARED Es wurden nicht alle Konstanten gefüllt 20070522

Method ROUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ROUNDVALUE Call by reference Type reference (TYPE) P Personalabrechnung: Betrag 20070522
2 Importing I_ROUNDCONSTANT Call by reference Type reference (TYPE) ABRWT Wert der Abrechnungskonstanten 20070522
3 Importing I_VALUE Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522

Method ROUND on class CL_HRPAYDEPF_TOOLS has no exception.

Method ROUND_ALLOWANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_FREIBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070524
2 Importing I_MEHRBETRAG Call by reference Type reference (TYPE) MAXBT Personalabrechnung: Betrag 20070522
3 Importing I_SUMME_ZEHNTEL Call by reference Type reference (TYPE) P 20070522

Method ROUND_ALLOWANCE on class CL_HRPAYDEPF_TOOLS has no exception.
History
Last changed by/on SAP  20071120 
SAP Release Created in