SAP ABAP Class CL_HRPAYBE_SPLIT_ALLOWANCE (Used for splitting dismissal allowance for BE payroll calc.)
Hierarchy
☛
SAP_HRCBE (Software Component) Sub component SAP_HRCBE of SAP_HR
⤷ PA-PA-BE (Application Component) Belgium
⤷ PB12 (Package) HR Master Data: Belgium
⤷ PA-PA-BE (Application Component) Belgium
⤷ PB12 (Package) HR Master Data: Belgium
Properties
Class | CL_HRPAYBE_SPLIT_ALLOWANCE | |
Short Description | Used for splitting dismissal allowance for BE payroll calc. | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PB12 | HR Master Data: Belgium |
Created | 20020725 | SAP |
Last change | 20050219 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | PBE02 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRPAYBE_SPLIT_ALLOWANCE has no interface implemented.
Friends
Class CL_HRPAYBE_SPLIT_ALLOWANCE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DAYS_IN_PERIOD | Instance attribute | Public | Type reference (TYPE) | I | Number of days contained in a payroll period. | 20020725 | ||
2 | DISMISS_PAY_DATE | Instance attribute | Private | Type reference (TYPE) | DATUM | Starting period for payment of allowance. | 20020725 | ||
3 | FALSE | Constant | Private | Type reference (TYPE) | XFLAG | ' ' | false | 20020725 | |
4 | FIREDATE | Instance attribute | Public | Type reference (TYPE) | DATUM | Date person was fired. | 20020725 | ||
5 | FIRE_PERIOD | Instance attribute | Public | Type reference (TYPE) | PABRP | Abrechnungsperiode | 20020725 | ||
6 | FIRE_YEAR | Instance attribute | Public | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20020725 | ||
7 | GEN_INPUT_TAB | Instance attribute | Public | Type reference (TYPE) | PBE02_GENIO_TAB | Input data for calculation | 20020725 | ||
8 | GEN_OUTPUT_TAB | Instance attribute | Public | Type reference (TYPE) | PBE02_GENIO_TAB | Table containing splitted payments. | 20020725 | ||
9 | IS_BLUE_COLLAR | Instance attribute | Public | Type reference (TYPE) | XFLAG | true or false | 20020725 | ||
10 | PAYROLL_AREA | Instance attribute | Public | Type reference (TYPE) | ABKRS | Payroll Area | 20020725 | ||
11 | PERSONNEL_NB | Instance attribute | Private | Type reference (TYPE) | PERSNO | Personalnummer | 20020725 | ||
12 | REMAINING_DAYS | Instance attribute | Public | Type reference (TYPE) | I | Remaining days | 20020725 | ||
13 | TRUE | Constant | Private | Type reference (TYPE) | XFLAG | 'X' | true... | 20020725 | |
14 | WORKED_DAYS | Instance attribute | Public | Type reference (TYPE) | I | Worked days to dismissal | 20020725 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor loads basic data for dismissal allowance | 20020725 |
2 | FILL_INPUT_FOR_TEST | Instance method | Private | Method | Fills gen_input_tab with dummy data for test. | 20020725 |
3 | GET_BASIC_EE_DATA | Instance method | Private | Method | Basic employee data | 20020725 |
4 | GET_PERIOD_DATES | Instance method | Private | Method | Get dates for payroll period | 20020725 |
5 | SPLIT_AMOUNT_BLUE_COL | Instance method | Private | Method | Splits amount in periods for blue collars | 20020725 |
6 | SPLIT_AMOUNT_IN_PERIODS | Instance method | Private | Method | Splits amount in periods. Result will be in SPLITTED_PAY. | 20020725 |
7 | SPLIT_AMOUNT_WHITE_COL | Instance method | Private | Method | Splits amount in periods for white collars | 20020725 |
Events
# | Event | Type | Visibility | Description | Created on |
---|---|---|---|---|---|
1 | NOT_FIRED | Instance Event (0) |
Public (2) |
The chosen person was not fired. | 20020725 |
2 | NO_DISMISSAL_DATA | Instance Event (0) |
Public (2) |
There is no dismissal data | 20020725 |
Types
Class CL_HRPAYBE_SPLIT_ALLOWANCE has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DATE | Call by reference | Type reference (TYPE) | D | Use this to find the first relevant company leave after | 20041228 | ||
2 | Importing | IS_TEST | Call by reference | Type reference (TYPE) | XFLAG | ' ' | Used for testing the class | 20020725 | |
3 | Importing | PERS_NB | Call by reference | Type reference (TYPE) | PERSNO | Personal Number | 20020725 | ||
4 | Importing | P_GEN_INPUT_TAB | Call by reference | Type reference (TYPE) | PBE02_GENIO_TAB | Table for input parameters. | 20020725 |
Method CONSTRUCTOR on class CL_HRPAYBE_SPLIT_ALLOWANCE has no exception.
Method FILL_INPUT_FOR_TEST Signature
Method FILL_INPUT_FOR_TEST on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
Method FILL_INPUT_FOR_TEST on class CL_HRPAYBE_SPLIT_ALLOWANCE has no exception.
Method GET_BASIC_EE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DATE | Call by reference | Type reference (TYPE) | D | Use this to find the first relevant company leave after | 20041228 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_IT0001 | IT0001 is not mantained | 20020725 | |
2 | T503_ANSTA_NOT_MANTAINED | Field ANSTA of table T503 is not mantained! | 20020725 |
Method GET_PERIOD_DATES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | DAYS_FROM_BEGDA | Call by reference | Type reference (TYPE) | I | Number of days from begin | 20020725 | ||
2 | Exporting | DAYS_IN_PERIOD | Call by reference | Type reference (TYPE) | I | Days till end of period | 20020725 | ||
3 | Exporting | DAYS_TO_ENDDA | Call by reference | Type reference (TYPE) | I | Number of days to end | 20020725 | ||
4 | Exporting | PERIOD | Call by reference | Type reference (TYPE) | PABRP | Payroll period | 20020725 | ||
5 | Exporting | PERIOD_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date of Payroll Period | 20020725 | ||
6 | Exporting | PERIOD_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date of payroll period | 20020725 | ||
7 | Importing | TARGET_DATE | Call by reference | Type reference (TYPE) | DATUM | Date of a given payroll period | 20020725 | ||
8 | Exporting | YEAR | Call by reference | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20020725 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | T549A_NOT_MANTAINED | Could not obtain the payroll period dates. | 20020725 | |
2 | T549Q_NOT_MANTAINED | Table t549q is not mantained. | 20020725 |
Method SPLIT_AMOUNT_BLUE_COL Signature
Method SPLIT_AMOUNT_BLUE_COL on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
Method SPLIT_AMOUNT_BLUE_COL on class CL_HRPAYBE_SPLIT_ALLOWANCE has no exception.
Method SPLIT_AMOUNT_IN_PERIODS Signature
Method SPLIT_AMOUNT_IN_PERIODS on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
Method SPLIT_AMOUNT_IN_PERIODS on class CL_HRPAYBE_SPLIT_ALLOWANCE has no exception.
Method SPLIT_AMOUNT_WHITE_COL Signature
Method SPLIT_AMOUNT_WHITE_COL on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
Method SPLIT_AMOUNT_WHITE_COL on class CL_HRPAYBE_SPLIT_ALLOWANCE has no exception.
Event Signatures
Event NOT_FIRED Signature
Event NOT_FIRED on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
Event NO_DISMISSAL_DATA Signature
Event NO_DISMISSAL_DATA on class CL_HRPAYBE_SPLIT_ALLOWANCE has no parameter.
History
Last changed by/on | SAP | 20050219 |
SAP Release Created in | 600 |