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 | 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 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_HRPAYCHQSTEEADR | BAdI: Determine Employee Address | 20101206 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_HRPAYCHQSTEEADR_PR | BAdI: Print Formatting of Employee Address | 20101206 | |||
| 3 | Constant | Private | Type reference (TYPE) | BOOLE_D | ' ' | False | 20040401 | ||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HRPAYCH_MESSAGE_HANDLER | 20110407 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | P0001_TAB | Table Infotype 0001 | 20110407 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | P0038_TAB | Table Infotype 0038 | 20110407 | |||
| 7 | Constant | Private | Type reference (TYPE) | BOOLE_D | 'X' | True | 20040401 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add a Message to the Message Handler | 20110407 | |
| 2 | Instance method | Private | Method | Add an SY Message to the Message Handler | 20110407 | |
| 3 | Instance method | Private | Method | Reading of Table T536C | 20110407 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101206 | |
| 5 | Instance method | Public | Constructor | Constructor of Class | 20110407 | |
| 6 | Static method | Public | Method | Reading of Table T536C | 20071016 | |
| 7 | Instance method | Private | Method | Read the Workplace Canton from Infotype 0038 | 20110407 | |
| 8 | Instance method | Private | Method | Read the Workplace Canton from the Characteristic | 20110407 | |
| 9 | Static method | Public | Method | Address of Employee | 20040401 | |
| 10 | Instance method | Public | Method | Read the Workplace Canton | 20110407 | |
| 11 | Static method | Public | Method | Employer's Address | 20040406 | |
| 12 | 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 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | 'HRPAYCH01' | Nachrichtenklasse | 20110407 | ||
| 2 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20110407 | |||
| 3 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'W' | Nachrichtentyp | 20110407 | ||
| 4 | IV_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20110407 | |||
| 5 | IV_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20110407 | |||
| 6 | IV_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20110407 | |||
| 7 | 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 | 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 | EX_ADDRESS | Call by reference | Type reference (TYPE) | ADRS | Übergabestruktur für Funktionsbaustein zur Adreßaufbereitung | 20110407 | |||
| 2 | EX_ADDRESS_COMP | Call by reference | Type reference (TYPE) | HRADDRESS_COMP | Additional Address Information incl. email | 20110407 | |||
| 3 | EX_ADDRESS_DETAIL | Call by reference | Type reference (TYPE) | SADR | Adressverwaltung: Firmendaten | 20110407 | |||
| 4 | EX_ADDRESS_VALUE | Call by reference | Type reference (TYPE) | ADDR1_VAL | Rückgabestruktur für Adresse | 20110407 | |||
| 5 | IM_ANART | Call by reference | Type reference (TYPE) | T536C-ANART | Anschriftenart | 20110407 | |||
| 6 | IM_ANKEY | Call by reference | Type reference (TYPE) | T536C-ANKEY | Anschriftenart | 20110407 | |||
| 7 | 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 | IT_P0001 | Value transfer | Type reference (TYPE) | P0001_TAB | Personal-Stammsatz Infotyp 0001 (Org. Zuordnung) | 20110407 | |||
| 2 | IT_P0038 | Value transfer | Type reference (TYPE) | P0038_TAB | 20110407 | ||||
| 3 | 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 | EX_ADDRESS | Call by reference | Type reference (TYPE) | ADRS | Übergabestruktur für Funktionsbaustein zur Adreßaufbereitung | 20071016 | |||
| 2 | EX_ADDRESS_COMP | Call by reference | Type reference (TYPE) | HRADDRESS_COMP | Additional Address Information incl. email | 20071016 | |||
| 3 | EX_ADDRESS_DETAIL | Call by reference | Type reference (TYPE) | SADR | Adressverwaltung: Firmendaten | 20071016 | |||
| 4 | EX_ADDRESS_VALUE | Call by reference | Type reference (TYPE) | ADDR1_VAL | Rückgabestruktur für Adresse | 20071016 | |||
| 5 | IM_ANKEY | Call by reference | Type reference (TYPE) | T536C-ANKEY | Anschriftenart | 20071016 | |||
| 6 | 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 | EV_AKANT | Call by reference | Type reference (TYPE) | P02_AKANT | Kanton des Arbeitsortes | 20110407 | |||
| 2 | IV_TAX_BEGDA | Value transfer | Type reference (TYPE) | P0038-BEGDA | Gültigkeitsbeginn | 20110407 | |||
| 3 | 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 | EV_REGION | Call by reference | Type reference (TYPE) | REGIO | Kanton des Arbeitsortes | 20110407 | |||
| 2 | IV_TAX_BEGDA | Call by reference | Type reference (TYPE) | P0038-BEGDA | Gültigkeitsbeginn | 20110407 | |||
| 3 | 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 | ADDRESS | Call by reference | Type reference (TYPE) | HRPAYCHEAD | Adresse des Mitarbeiters | 20040401 | |||
| 2 | APPL | Call by reference | Type reference (TYPE) | P_APPL | Teilapplikation | 20050426 | |||
| 3 | ES_PRINTFORM_ADDRESS | Call by reference | Type reference (TYPE) | P02_QST_EEADDR | Für Druck aufbereitete Adresse des Mitarbeiters | 20101206 | |||
| 4 | I0002 | Call by reference | Type reference (TYPE) | P0002_TAB | Personal-Stammsatz Infotyp 0002 (Daten zur Person) | 20040401 | |||
| 5 | I0006 | Call by reference | Type reference (TYPE) | P0006_TAB | Personal-Stammsatz Infotyp 0006 (Anschriften) | 20040401 | |||
| 6 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20040401 | |||
| 7 | IV_NUM_LINES_PRINTFORM | Call by reference | Type reference (TYPE) | ADRS-ANZZL | 0 | Maximale Zeilenzahl für Druckaufbereitung (0 = aus) | 20101206 | ||
| 8 | LANGU | Value transfer | Type reference (TYPE) | SYLANGU | Sprache | 20040401 | |||
| 9 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPAYCH_MESSAGE_HANDLER | HR-CH: Fehlermeldungen | 20040401 | |||
| 10 | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Ländergruppierung | 20040401 | |||
| 11 | REFDA | Call by reference | Type reference (TYPE) | BEGDA | SY-DATUM | Referenzdatum | 20040406 | ||
| 12 | 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 | EV_AKANT | Call by reference | Type reference (TYPE) | P02_AKANT | Arbeitsplatzkanton | 20110407 | |||
| 2 | IV_BEGDA | Value transfer | Type reference (TYPE) | P0038-BEGDA | Gültigkeitsbeginn | 20110407 | |||
| 3 | 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 | ADDRESS | Call by reference | Type reference (TYPE) | HRPAYCHCAD | Adresse und Ansprechpartner der Firma | 20040406 | |||
| 2 | APPLICATION_KEY | Call by reference | Type reference (TYPE) | P02_ANWSCHCH | Anwendungsschlüssel Schweiz | 20040406 | |||
| 3 | LANGU | Value transfer | Type reference (TYPE) | SYLANGU | Sprache | 20040406 | |||
| 4 | PAYROLL_UNIT | Call by reference | Type reference (TYPE) | P02_ABREH | HR-CH: Abrechnungseinheit | 20040406 | |||
| 5 | 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 | IV_ENDDA | Value transfer | Type reference (TYPE) | ENDDA | Gültigkeitsende | 20110504 | |||
| 2 | IV_KANTO | Value transfer | Type reference (TYPE) | P02_CQKAN | Steuerkanton | 20110504 | |||
| 3 | IV_QSTPF | Value transfer | Type reference (TYPE) | P02_QSTPF | QSt Steuerpflicht | 20110504 | |||
| 4 | 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 |