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
⤷
⤷
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 | 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 | Instance attribute | Public | Type reference (TYPE) | I | Number of days contained in a payroll period. | 20020725 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | DATUM | Starting period for payment of allowance. | 20020725 | |||
| 3 | Constant | Private | Type reference (TYPE) | XFLAG | ' ' | false | 20020725 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | DATUM | Date person was fired. | 20020725 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | PABRP | Abrechnungsperiode | 20020725 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20020725 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | PBE02_GENIO_TAB | Input data for calculation | 20020725 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | PBE02_GENIO_TAB | Table containing splitted payments. | 20020725 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | XFLAG | true or false | 20020725 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | ABKRS | Payroll Area | 20020725 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | PERSNO | Personalnummer | 20020725 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | I | Remaining days | 20020725 | |||
| 13 | Constant | Private | Type reference (TYPE) | XFLAG | 'X' | true... | 20020725 | ||
| 14 | Instance attribute | Public | Type reference (TYPE) | I | Worked days to dismissal | 20020725 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor loads basic data for dismissal allowance | 20020725 | |
| 2 | Instance method | Private | Method | Fills gen_input_tab with dummy data for test. | 20020725 | |
| 3 | Instance method | Private | Method | Basic employee data | 20020725 | |
| 4 | Instance method | Private | Method | Get dates for payroll period | 20020725 | |
| 5 | Instance method | Private | Method | Splits amount in periods for blue collars | 20020725 | |
| 6 | Instance method | Private | Method | Splits amount in periods. Result will be in SPLITTED_PAY. | 20020725 | |
| 7 | 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 | DATE | Call by reference | Type reference (TYPE) | D | Use this to find the first relevant company leave after | 20041228 | |||
| 2 | IS_TEST | Call by reference | Type reference (TYPE) | XFLAG | ' ' | Used for testing the class | 20020725 | ||
| 3 | PERS_NB | Call by reference | Type reference (TYPE) | PERSNO | Personal Number | 20020725 | |||
| 4 | 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 | 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 | IT0001 is not mantained | 20020725 | ||
| 2 | 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 | DAYS_FROM_BEGDA | Call by reference | Type reference (TYPE) | I | Number of days from begin | 20020725 | |||
| 2 | DAYS_IN_PERIOD | Call by reference | Type reference (TYPE) | I | Days till end of period | 20020725 | |||
| 3 | DAYS_TO_ENDDA | Call by reference | Type reference (TYPE) | I | Number of days to end | 20020725 | |||
| 4 | PERIOD | Call by reference | Type reference (TYPE) | PABRP | Payroll period | 20020725 | |||
| 5 | PERIOD_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date of Payroll Period | 20020725 | |||
| 6 | PERIOD_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date of payroll period | 20020725 | |||
| 7 | TARGET_DATE | Call by reference | Type reference (TYPE) | DATUM | Date of a given payroll period | 20020725 | |||
| 8 | YEAR | Call by reference | Type reference (TYPE) | PABRJ | Abrechnungsjahr | 20020725 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Could not obtain the payroll period dates. | 20020725 | ||
| 2 | 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 |