SAP ABAP Class CL_HRPAYLA_TERMINATION_CE (Termination class for LA countries)
Hierarchy
EA-HRCMX (Software Component) Sub component EA-HRCMX of EA-HR
   PY-MX-RP (Application Component) Reporting
     PAOC_PAY_MX_RP (Package) Reporting of Mexico payroll Add-on development
Properties
Class CL_HRPAYLA_TERMINATION_CE  
Short Description Termination class for LA countries    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_PAY_MX_RP   Reporting of Mexico payroll Add-on development 
Created 20080420   SAP 
Last change 20081217   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 PLA00 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYLA_TERMINATION_CE has no interface implemented.
Friends
Class CL_HRPAYLA_TERMINATION_CE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BYPASS_IT0 Instance attribute Private Type reference (TYPE) PLATRM_IGMED Ignore infotype 0000 20080420
2 DO_MASTERDATA Instance attribute Private Type reference (TYPE) PLATRM_PMDAT Process master data 20080420
3 DO_PAYROLL Instance attribute Private Type reference (TYPE) PLATRM_RUNPY Process payroll 20080420
4 DO_SIMULATION Instance attribute Private Type reference (TYPE) PLATRM_TEST Test mode 20080420
5 DO_TIMEVAL Instance attribute Private Type reference (TYPE) PLATRM_RUNTE Process Time eval. 20080420
6 G_EDTVAR Instance attribute Private Type reference (TYPE) HRCEDTVA Variant remuneration statement 20080420
7 G_ISOCOD Instance attribute Private Type reference (TYPE) INTCA Country ISO code 20080420
8 G_MASSG Instance attribute Private Type reference (TYPE) MASSG Reason for Action 20080420
9 G_MASSN Instance attribute Private Type reference (TYPE) MASSN Action Type 20080420
10 G_MOLGA Instance attribute Private Type reference (TYPE) MOLGA Country Grouping 20080420
11 G_OFFDAYS Instance attribute Private Type reference (TYPE) PLATRM_RDAYS Offdays wrt term date 20080420
12 G_PRENOT Instance attribute Private Type reference (TYPE) PLATRM_PRENOT0 Flag to consider quotas generated during prenotice period 20080420
13 G_REQPDT Instance attribute Private Type reference (TYPE) PLATRM_PAYDT Requested Pay Date 20080420
14 G_TDATE Instance attribute Private Type reference (TYPE) PLATRM_TDATE Date 20080420
15 G_TEEGR Instance attribute Private Type reference (TYPE) P_99S_TEEGR Employee group for severance pay calculations 20080420
16 G_TIMLOG Instance attribute Private Type reference (TYPE) PLATRM_TLOG Active Time eval. log 20080420
17 G_TSCHE Instance attribute Private Type reference (TYPE) SCHEMA Time eval. schema 20080420
18 G_TTYPE Instance attribute Private Type reference (TYPE) PLATRM_TTYPE Termination type 20080420
19 IFTP0 Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYMX_INFOTYPE0 Class for Infotype 0000 20080420
20 IFTP416 Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYMX_INFOTYPE416 Class for Infotype 0416 20080420
21 IFTP_TRM Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYLA_TRM_COUNTRY Termination infotype 20080420
22 LOG_OBJ Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYMX_APPLOG Class for Application log 20080420
23 ONLY_ADDPAY Instance attribute Private Type reference (TYPE) PLATRM_POADP Complementary term. 20080420
24 ONLY_FIRED Instance attribute Private Type reference (TYPE) PLATRM_PSIT0 Select only fired ee. 20080420
25 PAYROLL Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYMX_PAYROLL Class for payroll execution 20080420
26 PERNR_TAB Instance attribute Private Type reference (TYPE) PMXGEN_T_PERNR Table with pernr and error code from payroll run 20080420
27 SIMUL_OBJS Instance attribute Private Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
28 TDATE_TABLE Instance attribute Private Type reference (TYPE) PLA00_PERNR_TDATE_TAB Table of pernr/tdate 20080420
Methods
# Method Level Visibility Method type Description Created on
1 ADD_EE Instance method Public Method Add employee to the list 20080420
2 CHECK_IT0 Instance method Private Method Check consistency of IT 0000 20080420
3 CHECK_PAYDATE Instance method Private Method Check requested paydate and correct it when necessary 20080420
4 CHECK_PROTECTIONS Instance method Private Method Check against dissmissal protection 20080420
5 COMPENSATE_VAC Instance method Private Method Compensate ( or liquidate ) contingents 20080420
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080420
7 GENERATE_INFOTYPES Instance method Public Method Generate infotypes ( simulate or update them ) 20080420
8 GET_EE_INFO_TAB Instance method Public Method Read table with employee information 20080420
9 GET_MESSAGES Instance method Public Method Get table of generated messages 20080420
10 GET_PAYSLIP Instance method Public Method Get payslip 20080420
11 GET_TDATE Instance method Public Method Read Termination Date 20080420
12 GET_TRM_PAYMENTS Instance method Public Method Get relevant results from payroll run 20080420
13 MSG_TO_LOG Instance method Private Method Add message to the application log 20080420
14 QUOTA_GENERATION Instance method Private Method Additional actions to generate the quotas 20080420
15 REJECT_EE Instance method Public Method Discard employee from processing 20080420
16 SETUP_MASTER_DATA Instance method Private Method Setup for master data process 20080420
17 SETUP_PAYROLL Instance method Private Method Setup payroll run 20080420
18 SETUP_TIME_INFOTYPES Instance method Private Method Setup for running Time Management 20080420
19 SHOW_LOG Instance method Public Method Show termination log 20080420
20 SHOW_PAYROLL_LOG Instance method Public Method Show payroll log 20080420
21 SHOW_TIME_LOG Instance method Public Method Show TImeMngmt Log 20080420
22 SUBMIT_PAYROLL Instance method Public Method Submit payroll run 20080420
23 SUBMIT_TIME Instance method Public Method Submit RPTIME00 20080420
Events
Class CL_HRPAYLA_TERMINATION_CE has no event.
Types
Class CL_HRPAYLA_TERMINATION_CE 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 Importing COIND_TAB Call by reference Type reference (TYPE) PLATRM_T_COINDPAYMENTS Table of coind payments for Termination 20080420
2 Importing FIRED Value transfer Type reference (TYPE) CHAR1 Employee already fired (IT0) 20080420
3 Importing KTART_TAB Call by reference Type reference (TYPE) PLATIM_T_KTART Quota Types Table 20080420
4 Importing MASSG Value transfer Type reference (TYPE) MASSG Reason for Action 20080420
5 Importing MASSN Value transfer Type reference (TYPE) MASSN Action Type 20080420
6 Importing PERNR Value transfer Type reference (TYPE) P_PERNR Personnel number 20080420
7 Importing QCOMP_TAB Call by reference Type reference (TYPE) PMXTIME_T_CMPCL Class to store compensation types 20080420
8 Importing REQPAYDT Value transfer Type reference (TYPE) PLATRM_PAYDT Requested payment date 20080420
9 Importing TDATE Value transfer Type reference (TYPE) PLATRM_TDATE Termination date 20080420
10 Importing TTYPE Value transfer Type reference (TYPE) PLATRM_TTYPE Termination Type 20080420
# Exception Resumable Description Created on
1 ERROR_INSERT_PAYR Error inserting employee for payroll run 20080420
2 IT0_ERROR No IT 0000 valid records 20080420
3 SETUP_ERROR Error setting up master data 20080420
4 TIME_EVAL_ERROR Error running time evaluation 20080420

Method CHECK_IT0 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATE Value transfer Type reference (TYPE) BEGDA Start Date 20080420
2 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
# Exception Resumable Description Created on
1 ACTIVE_AFTER Employee is active the day after termination 20080420
2 NOT_ACTIVE Employee is inactive 20080420
3 NO_RECORD_FOUND No valid records in IT 0000 at the termination date 20080420

Method CHECK_PAYDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
2 Changing REQ_BONDT Call by reference Type reference (TYPE) PLATRM_PAYDT Requested pay date 20080420
3 Changing RETCD Call by reference Type reference (TYPE) SYSUBRC Return value, return value after ABAP statements 20080420
4 Importing TDATE Value transfer Type reference (TYPE) PLATRM_TDATE Term. date 20080420

Method CHECK_PAYDATE on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method CHECK_PROTECTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATE Value transfer Type reference (TYPE) SYDATUM Date and time, current (application server) date 20080420
2 Importing MASSG Value transfer Type reference (TYPE) MASSG Reason for Action 20080420
3 Importing MASSN Value transfer Type reference (TYPE) MASSN Action Type 20080420
4 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
# Exception Resumable Description Created on
1 CANNOT_DISSMISS Employee is protected and cannot be dissmissed 20080420

Method COMPENSATE_VAC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CMPINFO Value transfer Type reference (TYPE) PMXTIME_T_CMPINFO Table type to compensate quota 20080420
2 Importing DATE Value transfer Type reference (TYPE) DATUM Date 20080420
3 Changing OBJ_IPREL Call by reference Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
4 Importing P2006_TAB Call by reference Type reference (TYPE) TIM_TMW_P2006_TAB Absence Quotas Table 20080420
5 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
6 Changing RETCD Call by reference Type reference (TYPE) SYSUBRC Return value, return value after ABAP statements 20080420

Method COMPENSATE_VAC on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COUNTRY_TRM_OBJ Call by reference Object reference (TYPE REF TO) CL_HRPAYLA_TRM_COUNTRY Country class for termination infotype 20080420
2 Importing OPTIONS Call by reference Type reference (TYPE) PLATRM_S_OPTIONS Options for termination program HLACTRM0 20080420
# Exception Resumable Description Created on
1 INVALID_PAYROLL_PROGRAM Invalid/not existing payroll (CALC) program 20080420
2 INVALID_PAYROLL_VARIANT Invalid/not existing payroll (CALC) variant 20080420
3 NO_PAYROLL_VARIANT No variant for 'CALC' spcified in table T52OCV 20080420

Method GENERATE_INFOTYPES Signature

Method GENERATE_INFOTYPES on class CL_HRPAYLA_TERMINATION_CE has no parameter.
Method GENERATE_INFOTYPES on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method GET_EE_INFO_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EE_DATA_TAB Call by reference Type reference (TYPE) PMXGEN_T_EEDATA Table to store personnel information data 20080420
2 Exporting ET_PERNR_TAB Call by reference Type reference (TYPE) PMXGEN_T_PERNR Table with pernr and error code from payroll run 20080420

Method GET_EE_INFO_TAB on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MSG_TAB Call by reference Type reference (TYPE) PLAGEN_T_RETURN Table for errors 20080420

Method GET_MESSAGES on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method GET_PAYSLIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420

Method GET_PAYSLIP on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method GET_TDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
2 Exporting TDATE Call by reference Type reference (TYPE) PLATRM_TDATE Termination Date 20080420

Method GET_TDATE on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method GET_TRM_PAYMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EE_RT_TAB Call by reference Type reference (TYPE) PMXGEN_T_EERT Table with short info about pernr an its RT table 20080420
2 Importing KEEP_BUFF Value transfer Type reference (TYPE) CHAR1 'X' Single-character flag 20080420

Method GET_TRM_PAYMENTS on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method MSG_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Call by reference Type reference (TYPE) SY-MSGID 'PLA' Messages, message class 20080420
2 Importing LEVEL Call by reference Type reference (TYPE) I 1 Level 20080420
3 Importing MSGV1 Call by reference Type reference (TYPE) ANY Message variable 1 20080420
4 Importing MSGV2 Call by reference Type reference (TYPE) ANY Message variable 2 20080420
5 Importing MSGV3 Call by reference Type reference (TYPE) ANY Message variable 3 20080420
6 Importing MSGV4 Call by reference Type reference (TYPE) ANY Message variable 4 20080420
7 Importing NUMBER Call by reference Type reference (TYPE) SY-MSGNO 899 Messages, message number 20080420
8 Importing PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20080420
9 Importing TYPE Call by reference Type reference (TYPE) SY-MSGTY 'S' Messages, message type 20080420

Method MSG_TO_LOG on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method QUOTA_GENERATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing END_DATE Value transfer Type reference (TYPE) DATUM Date 20080420
2 Changing OBJ_IPREL Call by reference Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
3 Changing P2006_TAB Call by reference Type reference (TYPE) TIM_TMW_P2006_TAB Absence Quotas Table 20080420
4 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
5 Importing QCOMP_TAB Value transfer Type reference (TYPE) PMXTIME_T_CMPCL Class to store compensation types 20080420
6 Importing QUOTAS_TAB Value transfer Type reference (TYPE) PLATIM_T_KTART Quota Types Table 20080420
# Exception Resumable Description Created on
1 QUOTA_SETUP_ERROR Error during quota generation 20080420

Method REJECT_EE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INIT Value transfer Type reference (TYPE) CHAR1 SPACE Single-character flag 20080420
2 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420

Method REJECT_EE on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method SETUP_MASTER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COIND_TAB Call by reference Type reference (TYPE) PLATRM_T_COINDPAYMENTS Table of coind payments for Termination 20080420
2 Importing FIRED Value transfer Type reference (TYPE) CHAR1 Single-character flag 20080420
3 Importing MASSG Value transfer Type reference (TYPE) MASSG Reason for Action 20080420
4 Importing MASSN Value transfer Type reference (TYPE) MASSN Action Type 20080420
5 Changing OBJ_IPREL Call by reference Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
6 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
7 Exporting PY_BYPASS Call by reference Type reference (TYPE) CHAR1 Flag for payroll bypassing 20080420
8 Changing RETCD Call by reference Type reference (TYPE) SYSUBRC Return code 20080420
9 Importing TDATE Value transfer Type reference (TYPE) PLATRM_TDATE Termination Date 20080420
10 Importing TTYPE Value transfer Type reference (TYPE) PLATRM_TTYPE Termination Type 20080420
# Exception Resumable Description Created on
1 COUNTRY_ERROR Country specific error 20080420
2 ERROR_ADD_PAYMNT Error inserting additional payments 20080420
3 ERROR_IT0_UPDATE Error in update of IT 0000 action 20080420
4 LOCK_FAILED Employee is locked 20080420

Method SETUP_PAYROLL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BONDT Value transfer Type reference (TYPE) BONDT Requested payment date 20080420
2 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
3 Changing RETCD Call by reference Type reference (TYPE) SYSUBRC Return value, return value after ABAP statements 20080420
4 Importing TDATE Value transfer Type reference (TYPE) PLATRM_TDATE Termination Date 20080420
# Exception Resumable Description Created on
1 INSERT_ERROR Error adding employee to payroll list 20080420

Method SETUP_TIME_INFOTYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CMPINFO Call by reference Type reference (TYPE) PMXTIME_T_CMPINFO Table type to compensate quota 20080420
2 Importing DATE Value transfer Type reference (TYPE) SYDATUM Date 20080420
3 Changing OBJ_IPREL Call by reference Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
4 Exporting P2006_TAB Call by reference Type reference (TYPE) TIM_TMW_P2006_TAB Absence Quotas Table 20080420
5 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
6 Importing QCOMP_TAB Call by reference Type reference (TYPE) PMXTIME_T_CMPCL Class to store compensation types 20080420
7 Importing QUOTAS_TAB Call by reference Type reference (TYPE) PLATIM_T_KTART Quota Types Table 20080420
8 Changing RETCD Call by reference Type reference (TYPE) SYSUBRC Return value, return value after ABAP statements 20080420
9 Changing SIMUL_DATA Call by reference Type reference (TYPE) PRELP_TAB Table of Generic Infotypes 20080420
10 Importing TTYPE Value transfer Type reference (TYPE) PLATRM_TTYPE Termination type 20080420
# Exception Resumable Description Created on
1 IT2013_UPDATE_ERROR Error updating IT 2013 20080420
2 LOCK_FAILED Error trying to lock employee 20080420
3 QUOTA_SETUP_ERROR Error setting up quotas 20080420

Method SHOW_LOG Signature

Method SHOW_LOG on class CL_HRPAYLA_TERMINATION_CE has no parameter.
Method SHOW_LOG on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method SHOW_PAYROLL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
2 Changing SPOOL_TAB Call by reference Type reference (TYPE) PLAGEN_T_SPOOL Table with spool numbers and ID 20080420

Method SHOW_PAYROLL_LOG on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method SHOW_TIME_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
2 Changing SPOOL_TAB Call by reference Type reference (TYPE) PLAGEN_T_SPOOL Table with spool numbers and ID 20080420

Method SHOW_TIME_LOG on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method SUBMIT_PAYROLL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OPTIONS Call by reference Type reference (TYPE) PLATRM_S_OPTIONS Options for termination program HLACTRM0 20080420

Method SUBMIT_PAYROLL on class CL_HRPAYLA_TERMINATION_CE has no exception.

Method SUBMIT_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OBJ_IPREL Call by reference Object reference (TYPE REF TO) CL_HRPAY99_FILL_INFOTYPES Preassign Infotypes for Function Module HR_PAYROLL 20080420
2 Changing P2006_TAB Call by reference Type reference (TYPE) TIM_TMW_P2006_TAB Absence Quotas Table 20080420
3 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personnel Number 20080420
4 Importing QCOMP_TAB Value transfer Type reference (TYPE) PMXTIME_T_CMPCL Class to store compensation types 20080420
5 Importing SIMUL_DATA Value transfer Type reference (TYPE) PRELP_TAB Table of Generic Infotypes 20080420
6 Importing TDATE Value transfer Type reference (TYPE) SYDATUM Date and time, current (application server) date 20080420
# Exception Resumable Description Created on
1 TIME_EVAL_ERROR Error running time evaluation 20080420
History
Last changed by/on SAP  20081217 
SAP Release Created in 600