SAP ABAP Class CL_HRPAYCH_ADDRESS (Address editing)
Hierarchy
SAP_HRCCH (Software Component) Sub component SAP_HRCCH of SAP_HR
   PA-PA-CH (Application Component) Switzerland
     PB02 (Package) HR Master Data: Switzerland
Properties
Class CL_HRPAYCH_ADDRESS  
Short Description Address editing    
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 20040401   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SZADR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYCH_ADDRESS has no interface implemented.
Friends
Class CL_HRPAYCH_ADDRESS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_BUSINESS_ADD_IN_01 Static Attribute Private Object reference (TYPE REF TO) IF_EX_HRPAYCHQSTEEADR BAdI: Determine Employee Address 20101206
2 A_BUSINESS_ADD_IN_02 Static Attribute Private Object reference (TYPE REF TO) IF_EX_HRPAYCHQSTEEADR_PR BAdI: Print Formatting of Employee Address 20101206
3 FALSE Constant Private Type reference (TYPE) BOOLE_D ' ' False 20040401
4 MO_MESSAGE_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER 20110407
5 MT_ITP0001 Instance attribute Private Type reference (TYPE) P0001_TAB Table Infotype 0001 20110407
6 MT_ITP0038 Instance attribute Private Type reference (TYPE) P0038_TAB Table Infotype 0038 20110407
7 TRUE Constant Private Type reference (TYPE) BOOLE_D 'X' True 20040401
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Private Method Add a Message to the Message Handler 20110407
2 ADD_MESSAGE_SY Instance method Private Method Add an SY Message to the Message Handler 20110407
3 ASSIGN_ADDRESS_VIA_ADRS_MGMT Instance method Private Method Reading of Table T536C 20110407
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20101206
5 CONSTRUCTOR Instance method Public Constructor Constructor of Class 20110407
6 GET_ADDRESS_VIA_ADRS_MGMT Static method Public Method Reading of Table T536C 20071016
7 GET_AKANT_FROM_IT0038 Instance method Private Method Read the Workplace Canton from Infotype 0038 20110407
8 GET_AKANT_FROM_MGMT Instance method Private Method Read the Workplace Canton from the Characteristic 20110407
9 GET_EMPLOYEE_ADDRESS Static method Public Method Address of Employee 20040401
10 GET_EMPLOYEE_WP_CANTON Instance method Public Method Read the Workplace Canton 20110407
11 GET_EMPLOYER_ADDRESS Static method Public Method Employer's Address 20040406
12 PRINT_WP_CANTON Instance method Public Method Do you want to print the workplace canton? 20110504
Events
Class CL_HRPAYCH_ADDRESS has no event.
Types
Class CL_HRPAYCH_ADDRESS has no local type.
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID 'HRPAYCH01' Nachrichtenklasse 20110407
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20110407
3 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY 'W' Nachrichtentyp 20110407
4 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 20110407
5 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 20110407
6 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 20110407
7 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Nachrichtenvariable 20110407

Method ADD_MESSAGE on class CL_HRPAYCH_ADDRESS has no exception.

Method ADD_MESSAGE_SY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SYST Call by reference Type reference (TYPE) SYST ABAP-Systemfelder 20110407

Method ADD_MESSAGE_SY on class CL_HRPAYCH_ADDRESS has no exception.

Method ASSIGN_ADDRESS_VIA_ADRS_MGMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ADDRESS Call by reference Type reference (TYPE) ADRS Übergabestruktur für Funktionsbaustein zur Adreßaufbereitung 20110407
2 Exporting EX_ADDRESS_COMP Call by reference Type reference (TYPE) HRADDRESS_COMP Additional Address Information incl. email 20110407
3 Exporting EX_ADDRESS_DETAIL Call by reference Type reference (TYPE) SADR Adressverwaltung: Firmendaten 20110407
4 Exporting EX_ADDRESS_VALUE Call by reference Type reference (TYPE) ADDR1_VAL Rückgabestruktur für Adresse 20110407
5 Importing IM_ANART Call by reference Type reference (TYPE) T536C-ANART Anschriftenart 20110407
6 Importing IM_ANKEY Call by reference Type reference (TYPE) T536C-ANKEY Anschriftenart 20110407
7 Changing MESSAGES Call by reference Type reference (TYPE) HRPAYCH_PERNR_MESSAGE_LIST Meldungsliste mit Personalnummer und Anwendungsschlüssel 20110407

Method ASSIGN_ADDRESS_VIA_ADRS_MGMT on class CL_HRPAYCH_ADDRESS has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_P0001 Value transfer Type reference (TYPE) P0001_TAB Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) 20110407
2 Importing IT_P0038 Value transfer Type reference (TYPE) P0038_TAB 20110407
3 Importing MESSAGE_HANDLER Value transfer Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20110407

Method CONSTRUCTOR on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_ADDRESS_VIA_ADRS_MGMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ADDRESS Call by reference Type reference (TYPE) ADRS Übergabestruktur für Funktionsbaustein zur Adreßaufbereitung 20071016
2 Exporting EX_ADDRESS_COMP Call by reference Type reference (TYPE) HRADDRESS_COMP Additional Address Information incl. email 20071016
3 Exporting EX_ADDRESS_DETAIL Call by reference Type reference (TYPE) SADR Adressverwaltung: Firmendaten 20071016
4 Exporting EX_ADDRESS_VALUE Call by reference Type reference (TYPE) ADDR1_VAL Rückgabestruktur für Adresse 20071016
5 Importing IM_ANKEY Call by reference Type reference (TYPE) T536C-ANKEY Anschriftenart 20071016
6 Changing MESSAGES Call by reference Type reference (TYPE) HRPAYCH_PERNR_MESSAGE_LIST Meldungsliste mit Personalnummer und Anwendungsschlüssel 20071016

Method GET_ADDRESS_VIA_ADRS_MGMT on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_AKANT_FROM_IT0038 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_AKANT Call by reference Type reference (TYPE) P02_AKANT Kanton des Arbeitsortes 20110407
2 Importing IV_TAX_BEGDA Value transfer Type reference (TYPE) P0038-BEGDA Gültigkeitsbeginn 20110407
3 Importing IV_TAX_ENDDA Value transfer Type reference (TYPE) P0038-ENDDA Gültigkeitsende 20110407

Method GET_AKANT_FROM_IT0038 on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_AKANT_FROM_MGMT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REGION Call by reference Type reference (TYPE) REGIO Kanton des Arbeitsortes 20110407
2 Importing IV_TAX_BEGDA Call by reference Type reference (TYPE) P0038-BEGDA Gültigkeitsbeginn 20110407
3 Importing IV_TAX_ENDDA Call by reference Type reference (TYPE) P0038-ENDDA Gültigkeitsende 20110407

Method GET_AKANT_FROM_MGMT on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_EMPLOYEE_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ADDRESS Call by reference Type reference (TYPE) HRPAYCHEAD Adresse des Mitarbeiters 20040401
2 Importing APPL Call by reference Type reference (TYPE) P_APPL Teilapplikation 20050426
3 Exporting ES_PRINTFORM_ADDRESS Call by reference Type reference (TYPE) P02_QST_EEADDR Für Druck aufbereitete Adresse des Mitarbeiters 20101206
4 Importing I0002 Call by reference Type reference (TYPE) P0002_TAB Personal-Stammsatz Infotyp 0002 (Daten zur Person) 20040401
5 Importing I0006 Call by reference Type reference (TYPE) P0006_TAB Personal-Stammsatz Infotyp 0006 (Anschriften) 20040401
6 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20040401
7 Importing IV_NUM_LINES_PRINTFORM Call by reference Type reference (TYPE) ADRS-ANZZL 0 Maximale Zeilenzahl für Druckaufbereitung (0 = aus) 20101206
8 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040401
9 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPAYCH_MESSAGE_HANDLER HR-CH: Fehlermeldungen 20040401
10 Importing MOLGA Call by reference Type reference (TYPE) MOLGA Ländergruppierung 20040401
11 Importing REFDA Call by reference Type reference (TYPE) BEGDA SY-DATUM Referenzdatum 20040406
12 Importing REPID Call by reference Type reference (TYPE) SYREPID ABAP-Programm, aktuelles Rahmenprogramm 20040401

Method GET_EMPLOYEE_ADDRESS on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_EMPLOYEE_WP_CANTON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_AKANT Call by reference Type reference (TYPE) P02_AKANT Arbeitsplatzkanton 20110407
2 Importing IV_BEGDA Value transfer Type reference (TYPE) P0038-BEGDA Gültigkeitsbeginn 20110407
3 Importing IV_ENDDA Value transfer Type reference (TYPE) P0038-ENDDA Gültigkeitsende 20110407

Method GET_EMPLOYEE_WP_CANTON on class CL_HRPAYCH_ADDRESS has no exception.

Method GET_EMPLOYER_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ADDRESS Call by reference Type reference (TYPE) HRPAYCHCAD Adresse und Ansprechpartner der Firma 20040406
2 Importing APPLICATION_KEY Call by reference Type reference (TYPE) P02_ANWSCHCH Anwendungsschlüssel Schweiz 20040406
3 Importing LANGU Value transfer Type reference (TYPE) SYLANGU Sprache 20040406
4 Importing PAYROLL_UNIT Call by reference Type reference (TYPE) P02_ABREH HR-CH: Abrechnungseinheit 20040406
5 Importing REFDA Call by reference Type reference (TYPE) BEGDA Referenzdatum 20040406

Method GET_EMPLOYER_ADDRESS on class CL_HRPAYCH_ADDRESS has no exception.

Method PRINT_WP_CANTON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENDDA Value transfer Type reference (TYPE) ENDDA Gültigkeitsende 20110504
2 Importing IV_KANTO Value transfer Type reference (TYPE) P02_CQKAN Steuerkanton 20110504
3 Importing IV_QSTPF Value transfer Type reference (TYPE) P02_QSTPF QSt Steuerpflicht 20110504
4 Returning RV_PRINT_WPCANT Value transfer Type reference (TYPE) P02_QST_PRINT_WPCANT Andrucken des Arbeitsplatzkantons 20110504

Method PRINT_WP_CANTON on class CL_HRPAYCH_ADDRESS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 500