SAP ABAP Class CL_HRPAYMX_PAYROLL (Class for payroll execution)
Hierarchy
☛
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
⤷
PY-XX-RS (Application Component) Reuse Services for Country Development
⤷
P99L (Package) Payroll Latin America
⤷
⤷
Properties
| Class | CL_HRPAYMX_PAYROLL | |
| Short Description | Class for payroll execution | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | P99L | Payroll Latin America |
| Created | 20001215 | SAP |
| Last change | 20040819 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPAYMX_PAYROLL has no forward declaration.
Interfaces
Class CL_HRPAYMX_PAYROLL has no interface implemented.
Friends
Class CL_HRPAYMX_PAYROLL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | PMXGEN_T_PERNR | Table with pernr and error code from payroll run | 20001215 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | HRCEDTVA | Display variant remuneration statement | 20010405 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | MOLGA | Country Grouping | 20010608 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | PAY_OCRSN | Reason for Off-Cycle Payroll | 20010316 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | PAY_OCRSN | Reason for Off-Cycle Payroll | 20051103 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | PAY_OCRSN | Reason for Off-Cycle Payroll | 20010316 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | PMXGEN_T_PAYDATA | Table with useful information to run payroll | 20001215 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | PRT_PROT | Activate log | 20010117 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | SY-REPID | Payroll program | 20010405 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | PMXPAY_T_RT_TAB | Table with pernr and its RT table from payroll run | 20010209 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | XFELD | Simulation flag | 20020415 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | SW_INTIM | Integration with Time Management | 20010117 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | VARIANT | Payroll variant | 20010405 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add employee to be procesed by payroll | 20001215 | |
| 2 | Instance method | Public | Method | Free payroll buffers from memory | 20010122 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20001215 | |
| 4 | Instance method | Public | Method | Fill payslip | 20010612 | |
| 5 | Instance method | Private | Method | Insert entry into internal table with payroll parameters | 20010316 | |
| 6 | Instance method | Private | Method | Fix RRDAT field of IT 0003 when neeed for simulation | 20010322 | |
| 7 | Instance method | Public | Method | Get payslip | 20010215 | |
| 8 | Instance method | Private | Method | Get payroll period and area for a given date | 20010321 | |
| 9 | Instance method | Public | Method | Return table with pernr and its RT tables | 20010209 | |
| 10 | Instance method | Private | Method | Import RT from memory | 20010321 | |
| 11 | Instance method | Private | Method | Import RT from memory | 20010626 | |
| 12 | Instance method | Public | Method | Discard employee from further processing | 20010124 | |
| 13 | Instance method | Public | Method | Show payroll log | 20001215 | |
| 14 | Instance method | Public | Method | Submit payroll | 20001215 |
Events
Class CL_HRPAYMX_PAYROLL has no event.
Types
Class CL_HRPAYMX_PAYROLL has no local type.
Method Signatures
Method ADD_EE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PAYDT | Value transfer | Type reference (TYPE) | BONDT | Relevant payroll date | 20010321 | |||
| 2 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010316 | |||
| 3 | REQ_BONDT | Value transfer | Type reference (TYPE) | BONDT | Requested payment date | 20010612 | |||
| 4 | RUNTY | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Payroll run type | 20010316 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid runty parameter | 20010316 | ||
| 2 | No valid results in cluster (rgdir) | 20010503 | ||
| 3 | Error determining payroll period | 20010503 | ||
| 4 | Employee already present in list | 20010316 |
Method CLEAR_BUFFERS Signature
Method CLEAR_BUFFERS on class CL_HRPAYMX_PAYROLL has no parameter.
Method CLEAR_BUFFERS on class CL_HRPAYMX_PAYROLL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MOLGA | Value transfer | Type reference (TYPE) | MOLGA | Country Grouping | 20010608 | |||
| 2 | OPTIONS | Value transfer | Type reference (TYPE) | PLATRM_S_OPTIONS | Options for termination program HLACTRM0 | 20051103 | |||
| 3 | PY_REPID | Value transfer | Type reference (TYPE) | SY-REPID | Payroll program | 20010405 | |||
| 4 | PY_VARIANT | Value transfer | Type reference (TYPE) | VARIANT | Payroll variant | 20010405 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid/not existing payroll (CALC) program in table T52OCV | 20020730 | ||
| 2 | Invalid/not existing payroll (CALC) variant in table T52OCV | 20020730 | ||
| 3 | No variant for 'CALC' spcified in table T52OCV | 20020730 |
Method FILL_FORM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20010612 | |||
| 2 | EDT_VAR | Value transfer | Type reference (TYPE) | HRCEDTVA | Display variant remuneration statement | 20010612 | |||
| 3 | INFTYP_REC | Value transfer | Type reference (TYPE) | PRELP | HR Master Data Buffer | 20040401 | |||
| 4 | PERNR | Value transfer | Type reference (TYPE) | P_PERNR | Personnel number | 20010612 |
Method FILL_FORM on class CL_HRPAYMX_PAYROLL has no exception.
Method FILL_REGULAR_RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Value transfer | Type reference (TYPE) | BONDT | Payroll relevant date | 20010316 | |||
| 2 | PERNR | Value transfer | Type reference (TYPE) | P_PERNR | Personnel number | 20010316 | |||
| 3 | REQ_BONDT | Value transfer | Type reference (TYPE) | BONDT | Requested payroll payment date | 20010612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No record found in cluster | 20010503 | ||
| 2 | Error determining payroll period | 20010503 |
Method FORCE_IT3_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LOG_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYMX_APPLOG | Class for Application log | 20050815 | |||
| 2 | OBJ_IPREL | Call by reference | Object reference (TYPE REF TO) | CL_HRPAY99_FILL_INFOTYPES | Iprel object | 20010322 | |||
| 3 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010322 | |||
| 4 | RRDAT | Value transfer | Type reference (TYPE) | P0003-RRDAT | HR Master Record: Infotype 0003 (Payroll Status) | 20010322 |
Method FORCE_IT3_DATE on class CL_HRPAYMX_PAYROLL has no exception.
Method GET_EDT_FORM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORM | Call by reference | Type reference (TYPE) | ANY TABLE | Table of type PC408 | 20010417 | |||
| 2 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010215 |
Method GET_EDT_FORM on class CL_HRPAYMX_PAYROLL has no exception.
Method GET_PAYROLL_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ABKRS | Call by reference | Type reference (TYPE) | ABKRS | Payroll Area | 20010321 | |||
| 2 | DATE | Value transfer | Type reference (TYPE) | SYDATE | Date data element for SYST | 20010321 | |||
| 3 | PABRJ | Call by reference | Type reference (TYPE) | PABRJ | Accounting year | 20010321 | |||
| 4 | PABRP | Call by reference | Type reference (TYPE) | PABRP | Accounting period | 20010321 | |||
| 5 | PERIOD | Call by reference | Type reference (TYPE) | PC261-INPER | In-period for payroll | 20010321 | |||
| 6 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error readind IT 0001 | 20010322 | ||
| 2 | Error reading table T549A | 20010322 | ||
| 3 | Error reading table T549Q | 20010322 |
Method GET_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PAYDATA | Call by reference | Type reference (TYPE) | PMXGEN_T_PAYDATA | Table with useful information to run payroll | 20010212 | |||
| 2 | RT_TABLE | Call by reference | Type reference (TYPE) | PMXPAY_T_RT_TAB | Table with pernr and its RT table from payroll run | 20010209 |
Method GET_RESULTS on class CL_HRPAYMX_PAYROLL has no exception.
Method IMPORT_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error getting results from memory | 20010322 |
Method IMPORT_RT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BONDT | Value transfer | Type reference (TYPE) | BONDT | Off-cycle payroll payment date | 20010626 | |||
| 2 | DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20010626 | |||
| 3 | FPPER_DATE | Call by reference | Type reference (TYPE) | PC261-FPBEG | Start date of payroll period (FOR period) | 20010628 | |||
| 4 | NETO | Call by reference | Type reference (TYPE) | PRBETRG | Net payment | 20010628 | |||
| 5 | PAYID | Value transfer | Type reference (TYPE) | PAYID | Payroll identifier | 20010626 | |||
| 6 | PAYTY | Value transfer | Type reference (TYPE) | PAYTY | Payroll type | 20010626 | |||
| 7 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010626 | |||
| 8 | RT | Call by reference | Type reference (TYPE) | HRPAY99_RT | Results Table | 20010626 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NO RESULTS FOUND | 20010626 |
Method REJECT_EE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERNR | Value transfer | Type reference (TYPE) | PERNR_D | Personnel Number | 20010124 |
Method REJECT_EE on class CL_HRPAYMX_PAYROLL has no exception.
Method SHOW_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20010207 | |||
| 2 | SPOOL_NR_TAB | Call by reference | Type reference (TYPE) | PLAGEN_T_SPOOL | Table of spool number s and ID | 20011031 |
Method SHOW_LOG on class CL_HRPAYMX_PAYROLL has no exception.
Method SUBMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EMPLOYEE_TAB | Call by reference | Type reference (TYPE) | PMXGEN_T_PERNR | Table with pernr and error code from payroll run | 20010129 | |||
| 2 | LOG_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYMX_APPLOG | Class for Application log | 20050815 | |||
| 3 | MODE | Value transfer | Type reference (TYPE) | CHAR10 | 'SIMULATION' | Flag for simualtion | 20001215 | ||
| 4 | OFF_CYCLE | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Off-cycle payroll indicator | 20010111 | ||
| 5 | PAYROLL_INFO | Call by reference | Type reference (TYPE) | PMXGEN_T_PAYDATA | Table with useful information to run payroll | 20010808 | |||
| 6 | RETRO | Value transfer | Type reference (TYPE) | DATUM | Specify key date | 20010109 | |||
| 7 | SIM_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_HRPAY99_FILL_INFOTYPES | IPREL object with infotypes to simulate | 20001215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error importing RT table from memory | 20010322 | ||
| 2 | Error determining payroll period | 20010322 |
History
| Last changed by/on | SAP | 20040819 |
| SAP Release Created in | 46C |