SAP ABAP Class CL_HRPAYCH_ERC (Employer Statement)
Hierarchy
SAP_HRCCH (Software Component) Sub component SAP_HRCCH of SAP_HR
   PA-PA-CH (Application Component) Switzerland
     PB02 (Package) HR Master Data: Switzerland
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYCH_LFORM HR-CH: Form 20090909
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYCH_MESSAGE_CONTAINER HR-CH: Messages 20040308
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYCH_SMARTFORM HR-CH: Smart forms 20040212
Properties
Class CL_HRPAYCH_ERC  
Short Description Employer Statement    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class 5C    
Program status P  SAP Standard Production Program 
Category 0   
Package PB02   HR Master Data: Switzerland 
Created 20040123   SAP 
Last change 20050409   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_HRPA_BOOLE_D Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_HRPAYCH_LFORM HR-CH: Form 20090909
2 IF_HRPAYCH_MESSAGE_CONTAINER HR-CH: Messages 20040308
3 IF_HRPAYCH_SMARTFORM HR-CH: Smart forms 20040212
Friends
Class CL_HRPAYCH_ERC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_BUSINESS_ADD_IN Static Attribute Private Object reference (TYPE REF TO) IF_EX_HRPAYCHERC0 BAdI Interface IF_EX_HRPAYCHERC0 20040217
2 A_MESSAGE_LIST Instance attribute Private Object reference (TYPE REF TO) CL_HRPAYCH_MESSAGE_LIST Error Messages 20040308
3 A_OUTPUT Instance attribute Public Type reference (TYPE) HRPAYCHERC_OUTPUT Employer Statement (Output Structure) 20040123
4 A_PERNR Instance attribute Private Type reference (TYPE) PERNR_D Personnel Number 20040123
5 A_REFDA Instance attribute Private Type reference (TYPE) BEGDA Valid-From Date 20040123
6 C_APPLICATION_KEY Instance attribute Private Type reference (TYPE) P02_ANWSCHCH 'AGBE' Application key Switzerland 20040406
7 C_FOGROUP Constant Protected Type reference (TYPE) HR99S_FOGROUP 'HR_CH_ERC' Form Group 20090909
8 FALSE Constant Private Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>FALSE False 20040123
9 TRUE Constant Private Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>TRUE True 20040123
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20040217
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040308
3 CREATE_TEST_OUTPUT Instance method Public Method Create test output 20040209
4 GET_ADDITIONAL_PAYMENTS Instance method Private Method Line 21: Additional Payments 20040206
5 GET_CHILD_ALLOWANCE Instance method Private Method Line 22: Child Benefits 20040206
6 GET_CONTRACT_DATA Instance method Private Method Data about employment relationship 20040123
7 GET_CONTRACT_FUNCTION Instance method Private Method Line 3: Active as 20040127
8 GET_CONTRACT_GLOBAL Instance method Private Method Line 8: Collective Agreement 20040127
9 GET_CONTRACT_INVESTMENT Instance method Private Method Line 4: Award 20040127
10 GET_CONTRACT_NORMAL_TIMES Instance method Private Method Lines 5,6: Normal Working Times 20040127
11 GET_CONTRACT_SOCIAL_INSURANCE Instance method Private Method Line 9: AHV Compensat. Office 20040127
12 GET_CONTRACT_TYPE Instance method Private Method Line 1: Type of Employment Relationship 20040123
13 GET_CONTRACT_WRITTEN_CONTRACT Instance method Private Method Line 7: Written Employment Contract 20040127
14 GET_FORMULAR_HEADER Instance method Private Method Determine Form Header 20040123
15 GET_OUTPUT_STRUCTURE Instance method Public Method Determine Output Structure 20040123
16 GET_PAYROLL_UNIT Instance method Private Method Determine Payroll Unit 20040129
17 GET_PAYROLL_UNIT_AHV Instance method Private Method Determine AHV payroll unit 20040129
18 GET_PENSION Instance method Private Method Lines 19, 20: Annuity/Pension, Pension Fund 20040206
19 GET_TERMINATION_DATA Instance method Private Method Data for the cancellation 20040128
20 GET_TERMINATION_KIND Instance method Private Method Line 10: Type and Date of Notice Given 20040128
21 GET_TERMINATION_LAST_DAYS Instance method Private Method Lines 14, 15: Last Work or Pay Day 20040128
22 GET_TERMINATION_NOTICE_PERIOD Instance method Private Method Line 11: Notice Period 20040128
23 GET_TERMINATION_PREVENTION Instance method Private Method Line 12: Prevention 20040128
24 GET_TERMINATION_REASON Instance method Private Method Line 13: Notice Reason 20040128
Events
Class CL_HRPAYCH_ERC has no event.
Types
Class CL_HRPAYCH_ERC has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRPAYCH_ERC has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRPAYCH_ERC has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_HRPAYCH_ERC has no parameter.
Method CONSTRUCTOR on class CL_HRPAYCH_ERC has no exception.

Method CREATE_TEST_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040308

Method CREATE_TEST_OUTPUT on class CL_HRPAYCH_ERC has no exception.

Method GET_ADDITIONAL_PAYMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040206
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_ADDITIONAL_PAYMENTS on class CL_HRPAYCH_ERC has no exception.

Method GET_CHILD_ALLOWANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040206
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_CHILD_ALLOWANCE on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040225
3 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040123
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20040123
5 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040123
6 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040123
7 Importing REFDA Value transfer Type reference (TYPE) BEGDA Gültigkeitsbeginn 20040123
8 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
9 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040127

Method GET_CONTRACT_DATA on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040127
3 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
4 Importing REFDA Value transfer Type reference (TYPE) BEGDA Gültigkeitsbeginn 20040127
5 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_CONTRACT_FUNCTION on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_GLOBAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
2 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040127

Method GET_CONTRACT_GLOBAL on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_INVESTMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_CONTRACT_INVESTMENT on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_NORMAL_TIMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
3 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040127

Method GET_CONTRACT_NORMAL_TIMES on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_SOCIAL_INSURANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040225
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20040127
4 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
5 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040127
6 Importing REFDA Value transfer Type reference (TYPE) BEGDA Gültigkeitsbeginn 20040127

Method GET_CONTRACT_SOCIAL_INSURANCE on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040123
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_CONTRACT_TYPE on class CL_HRPAYCH_ERC has no exception.

Method GET_CONTRACT_WRITTEN_CONTRACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040127
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_CONTRACT_WRITTEN_CONTRACT on class CL_HRPAYCH_ERC has no exception.

Method GET_FORMULAR_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0002 Call by reference Type reference (TYPE) P0002_TAB Personal-Stammsatz Infotyp 0002 (Daten zur Person) 20040209
2 Importing I0006 Call by reference Type reference (TYPE) P0006_TAB Personal-Stammsatz Infotyp 0006 (Anschriften) 20040209
3 Importing I0036 Call by reference Type reference (TYPE) P0036_TAB Personal-Stammsatz Infotyp 0036 (Sozialversicherung CH) 20040209
4 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040123
5 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040123
6 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040123
7 Importing REFDA Value transfer Type reference (TYPE) BEGDA Gültigkeitsbeginn 20040123

Method GET_FORMULAR_HEADER on class CL_HRPAYCH_ERC has no exception.

Method GET_OUTPUT_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Importing I0002 Call by reference Type reference (TYPE) P0002_TAB Personal-Stammsatz Infotyp 0002 (Daten zur Person) 20040209
3 Importing I0006 Call by reference Type reference (TYPE) P0006_TAB Personal-Stammsatz Infotyp 0006 (Anschriften) 20040209
4 Importing I0036 Call by reference Type reference (TYPE) P0036_TAB Personal-Stammsatz Infotyp 0036 (Sozialversicherung CH) 20040209
5 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040224
6 Importing LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU Sprache 20040123
7 Exporting OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040123
8 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040123
9 Importing PRINT_DATE Call by reference Type reference (TYPE) DATUM Datum 20040206
10 Importing REFDA Value transfer Type reference (TYPE) BEGDA Gültigkeitsbeginn 20040123
11 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_OUTPUT_STRUCTURE on class CL_HRPAYCH_ERC has no exception.

Method GET_PAYROLL_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040225
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20040129
4 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040129
5 Importing REFDA Value transfer Type reference (TYPE) BEGDA Referenzdatum 20040129
6 Exporting W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040129

Method GET_PAYROLL_UNIT on class CL_HRPAYCH_ERC has no exception.

Method GET_PAYROLL_UNIT_AHV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I0001 Call by reference Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20040209
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040225
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20040129
4 Importing PERNR Value transfer Type reference (TYPE) PERNR_D Personalnummer 20040129
5 Importing REFDA Value transfer Type reference (TYPE) BEGDA Referenzdatum 20040129
6 Exporting W5CS9 Call by reference Type reference (TYPE) T5CS9 HR-CH: Abrechnungseinheit AHV/ALV 20040129

Method GET_PAYROLL_UNIT_AHV on class CL_HRPAYCH_ERC has no exception.

Method GET_PENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040206
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
3 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040206

Method GET_PENSION on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040128
2 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
3 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
4 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040128

Method GET_TERMINATION_DATA on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_KIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040128
2 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
3 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_TERMINATION_KIND on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_LAST_DAYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_TERMINATION_LAST_DAYS on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_NOTICE_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040128
2 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
3 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
4 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040128

Method GET_TERMINATION_NOTICE_PERIOD on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_PREVENTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040128
2 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
3 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211

Method GET_TERMINATION_PREVENTION on class CL_HRPAYCH_ERC has no exception.

Method GET_TERMINATION_REASON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing OUTPUT Call by reference Type reference (TYPE) HRPAYCHERC_OUTPUT Arbeitgeberbescheinigung (Ausgabestruktur) 20040128
2 Importing W0600 Call by reference Type reference (TYPE) P0600 Personal-Stammsatz für Infotyp 0600 20040211
3 Importing W5CSJ Call by reference Type reference (TYPE) T5CSJ Abrechnungseinheiten zur Arbeitgeberbescheinigung 20040128

Method GET_TERMINATION_REASON on class CL_HRPAYCH_ERC has no exception.
History
Last changed by/on SAP  20050409 
SAP Release Created in 500