SAP ABAP Class CL_HRPA_CH_EMPL_ATTRIB (HR-CH: Employee Attributes to Infotypes)
Hierarchy
☛
EA-HRCCH (Software Component) Sub component EA-HRCCH of EA-HR
⤷
PA-PA-CH (Application Component) Switzerland
⤷
PAOC_PAD_CH (Package) Add-On Development for Personnel Administration: Switzerland
⤷
⤷
Properties
| Class | CL_HRPA_CH_EMPL_ATTRIB | |
| Short Description | HR-CH: Employee Attributes to Infotypes | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | PAOC_PAD_CH | Add-On Development for Personnel Administration: Switzerland |
| Created | 20020826 | SAP |
| Last change | 20021025 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_HRPA_CH_EMPL_ATTRIB has no interface implemented.
Friends
Class CL_HRPA_CH_EMPL_ATTRIB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | P02_APPLI | Context: Sub-Application Code | 20020911 | |||
| 2 | Instance attribute | Private | See coding | Internal Representation of PCH01 as Table | 20020829 | ||||
| 3 | Instance attribute | Private | See coding | Buffer: Attributes of Check Table | 20020829 | ||||
| 4 | Instance attribute | Private | See coding | Buffer: Attributes of Text Table | 20020829 | ||||
| 5 | Instance attribute | Private | See coding | Buffer: Classes of Check Table | 20020829 | ||||
| 6 | Instance attribute | Private | See coding | Buffer: Classes of Text Table | 20020829 | ||||
| 7 | Instance attribute | Private | See coding | Buffer: Messages for EE Attribute Combination | 20020829 | ||||
| 8 | Instance attribute | Private | See coding | Buffer: Assignment of EE Attribute Classes to IT Fields | 20020829 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | INFTY | Context: Infotype | 20020829 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | MOLGA | Context: Country Grouping | 20020829 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | I | 8 | No. of EEs in PCH01 | 20020827 | ||
| 12 | Constant | Protected | Type reference (TYPE) | ARBGB | '5C' | Default Message Class | 20020827 | ||
| 13 | Constant | Protected | Type reference (TYPE) | MSGNR | 555 | Default Message No. for Error | 20020827 | ||
| 14 | Constant | Protected | Type reference (TYPE) | MSGNR | 556 | Default Message No. for Warning | 20020827 | ||
| 15 | Constant | Public | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D=>FALSE | False | 20020827 | ||
| 16 | Constant | Public | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D=>TRUE | True | 20020827 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Insert Message in Message Handler | 20020912 | |
| 2 | Instance method | Protected | Method | Run All Checks for Employee Attributes | 20020912 | |
| 3 | Instance method | Private | Method | Check Compatibility of Two Attributes acc. to T5CAR | 20020906 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20020911 | |
| 5 | Instance method | Private | Method | All Consistency Checks Between (Class, Attribute) Pairs | 20020905 | |
| 6 | Instance method | Protected | Method | Fill Default Values acc. to Customizing in Structure | 20020827 | |
| 7 | Instance method | Public | Method | List of Fields Not to Be Checked Generically for EE | 20020911 | |
| 8 | Instance method | Private | Method | Read Customizing Tables If Not Done Already | 20020829 | |
| 9 | Instance method | Private | Method | Create Internal Table Representation of EE from PCH01 | 20020912 | |
| 10 | Instance method | Private | Method | Read Customizing acc. to Times from T5CA0 (Attributes) | 20020911 | |
| 11 | Instance method | Private | Method | Read Customizing from Buffered T5CA1 (Attribute Texts) | 20020905 | |
| 12 | Instance method | Private | Method | Read Customizing from Buffered T5CAQ (Classes) | 20020905 | |
| 13 | Instance method | Private | Method | Read Customizing from Buffered T5CAQ (Classes) | 20020829 | |
| 14 | Instance method | Private | Method | Read Customizing from Buffered T5CAS (Assignmnt of IT field) | 20020829 | |
| 15 | Instance method | Private | Method | All Consistency Checks for an Individual (Class, Att.) Pair | 20020905 | |
| 16 | Instance method | Public | Method | EE-Specific Logic on Record Creation of Infotypes with EE | 20020911 | |
| 17 | Instance method | Public | Method | EE-Specific Logic on Insert of Infotypes with EE | 20020911 | |
| 18 | Instance method | Public | Method | EE-Specific Logic on Modify of Infotypes with EE | 20020911 |
Events
Class CL_HRPA_CH_EMPL_ATTRIB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | _ATTRIBS_LINE_TYPE | Private | See coding | Line Type for Internal Display of PCH01 as Table | 20020829 | |
Method Signatures
Method ADD_NEW_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELD_NAMES | Call by reference | Type reference (TYPE) | HRPAD_FIELD_TAB | Feldnamen ohne Präfix P**** | 20020912 | |||
| 2 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020912 | |||
| 3 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020912 | |||
| 4 | MSGID | Call by reference | Type reference (TYPE) | SYMSG-MSGID | Nachrichtenklasse | 20020912 | |||
| 5 | MSGNO | Call by reference | Type reference (TYPE) | SYMSG-MSGNO | Nachrichtennummer | 20020912 | |||
| 6 | MSGTY | Call by reference | Type reference (TYPE) | SYMSG-MSGTY | Nachrichtentyp | 20020912 | |||
| 7 | MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20020912 | ||||
| 8 | MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20020912 | ||||
| 9 | MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20020912 | ||||
| 10 | MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20020912 |
Method ADD_NEW_MESSAGE on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method ALL_CHECKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020912 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020912 | |||
| 3 | P_OLD_PCH01 | Call by reference | Type reference (TYPE) | PCH01 | alter Satz, falls P_SW_MODIFY=true | 20020912 | |||
| 4 | P_PCH01 | Call by reference | Type reference (TYPE) | PCH01 | zu prüfende Felder | 20020912 | |||
| 5 | P_RDATE | Call by reference | Type reference (TYPE) | BEGDA | Stichtag für Lesen der Customizingtabellen | 20020912 | |||
| 6 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '-' | Subtyp | 20020912 | ||
| 7 | P_SW_MODIFY | Call by reference | Type reference (TYPE) | BOOLE_D | FALSE | true, falls alter Satz geändert wird | 20020912 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HR: Stammdaten, unerfüllte Programmbedingung | 20020912 |
Method CHECK_ATTR_COMBI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020906 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020906 | |||
| 3 | P_ATTRIBS1 | Call by reference | Type reference (TYPE) | _ATTRIBS_LINE_TYPE | 20020906 | ||||
| 4 | P_ATTRIBS2 | Call by reference | Type reference (TYPE) | _ATTRIBS_LINE_TYPE | 20020906 | ||||
| 5 | P_RDATE | Call by reference | Type reference (TYPE) | ENDDA | Gültigkeitsende | 20020906 |
Method CHECK_ATTR_COMBI on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_APPLI | Call by reference | Type reference (TYPE) | P02_APPLI | Teil-Applikationscode | 20020911 | |||
| 2 | P_INFTY | Call by reference | Type reference (TYPE) | INFTY | Infotyp | 20020911 | |||
| 3 | P_MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Ländergruppierung | 20020911 |
Method CONSTRUCTOR on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method CROSS_CHECKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020905 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020905 | |||
| 3 | P_PCH01 | Call by reference | Type reference (TYPE) | PCH01 | HR-CH: MA-Attribute | 20020905 | |||
| 4 | P_RDATE | Call by reference | Type reference (TYPE) | ENDDA | Gültigkeitsende | 20020905 | |||
| 5 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtyp | 20020905 |
Method CROSS_CHECKS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method FILL_PROPOSED_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020911 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020827 | |||
| 3 | PCH01 | Call by reference | Type reference (TYPE) | PCH01 | zu füllende Strukur MA-Attribute | 20020906 | |||
| 4 | P_RDATE | Call by reference | Type reference (TYPE) | BEGDA | Stichtag für Existenzprüfung Defaultwert in T5CA0 | 20020911 | |||
| 5 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtyp | 20020906 |
Method FILL_PROPOSED_VALUES on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method FOREIGN_KEY_EXCLUDED_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXCLUDED_FIELDS | Call by reference | Type reference (TYPE) | HR_FIELDLIST_TAB | Liste von Feldnamen | 20020911 |
Method FOREIGN_KEY_EXCLUDED_FIELDS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method LOAD_TABLES Signature
Method LOAD_TABLES on class CL_HRPA_CH_EMPL_ATTRIB has no parameter.
Method LOAD_TABLES on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method MOVE_PCH01_TO_A_ATTRIBS_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PCH01 | Call by reference | Type reference (TYPE) | PCH01 | HR-CH: MA-Attribute | 20020912 |
Method MOVE_PCH01_TO_A_ATTRIBS_TAB on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method RE5CA0_BY_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ACLAS | Call by reference | Type reference (TYPE) | P02_ACLAS | Ablaufklasse | 20020911 | |||
| 2 | P_ATTRI | Call by reference | Type reference (TYPE) | P02_ATTRI | HR-CH: MA-Attribut | 20020911 | |||
| 3 | P_RDATE | Call by reference | Type reference (TYPE) | ENDDA | Stichtag zum Lesen der Customizingtabelle | 20020911 | |||
| 4 | P_WA_T5CA0 | Value transfer | Type reference (TYPE) | T5CA0 | MA-Attribute | 20020911 |
Method RE5CA0_BY_DATE on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method RE5CA1 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ACLAS | Call by reference | Type reference (TYPE) | P02_ACLAS | Ablaufklasse | 20020905 | |||
| 2 | P_ATTRI | Call by reference | Type reference (TYPE) | P02_ATTRI | HR-CH: MA-Attribut | 20020905 | |||
| 3 | P_WA_T5CA1 | Value transfer | Type reference (TYPE) | T5CA1 | MA-Attribute | 20020905 |
Method RE5CA1 on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method RE5CAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ACLAS | Call by reference | Type reference (TYPE) | P02_ACLAS | HR-CH: Klasse von MA-Attributen | 20020905 | |||
| 2 | P_WA_T5CAP | Value transfer | Type reference (TYPE) | T5CAP | MA-Attributklassen | 20020905 |
Method RE5CAP on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method RE5CAQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ACLAS | Call by reference | Type reference (TYPE) | P02_ACLAS | HR-CH: Klasse von MA-Attributen | 20020829 | |||
| 2 | P_WA_T5CAQ | Value transfer | Type reference (TYPE) | T5CAQ | Bezeichnungen zu MA-Attributklassen | 20020829 |
Method RE5CAQ on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method RE5CAS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_FNUMB | Call by reference | Type reference (TYPE) | NUM2 | zweistelliger numerischer Wert | 20020829 | |||
| 2 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtyp | 20020829 | |||
| 3 | P_WA_T5CAS | Value transfer | Type reference (TYPE) | T5CAS | Zuordnung von MA-Attributklassen zu IT-Eingabefeldern | 20020829 |
Method RE5CAS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method SINGLE_CHECKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020905 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020905 | |||
| 3 | OLD_PCH01 | Call by reference | Type reference (TYPE) | PCH01 | HR-CH: MA-Attribute | 20020911 | |||
| 4 | PCH01 | Call by reference | Type reference (TYPE) | PCH01 | zu prüfende MA-Attribute | 20020905 | |||
| 5 | P_FNUMB | Call by reference | Type reference (TYPE) | NUM2 | Nummer des zu prüfenden Klassen/Attribut-Paares | 20020905 | |||
| 6 | P_RDATE | Call by reference | Type reference (TYPE) | ENDDA | Stichtag zum Lesen der Customizingtabellen | 20020905 | |||
| 7 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtyp | 20020905 | |||
| 8 | P_SW_MODIFY | Call by reference | Type reference (TYPE) | BOOLE_D | FALSE | true, falls alter Satz geändert wird | 20020911 |
Method SINGLE_CHECKS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method SPECIFIC_INITIAL_COMPUTATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020911 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020911 | |||
| 3 | PNNNN | Call by reference | Type reference (TYPE) | ANY | Infotypsatz mit MA | 20020911 | |||
| 4 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '-' | Subtyp | 20020911 |
Method SPECIFIC_INITIAL_COMPUTATIONS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method SPECIFIC_INSERT_COMPUTATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020911 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020911 | |||
| 3 | PNNNN | Call by reference | Type reference (TYPE) | ANY | Infotypsatz mit MA | 20020911 | |||
| 4 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '-' | Subtyp | 20020911 |
Method SPECIFIC_INSERT_COMPUTATIONS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
Method SPECIFIC_MODIFY_COMPUTATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20020911 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR-Stammdaten: Meldungen | 20020911 | |||
| 3 | OLD_PNNNN | Call by reference | Type reference (TYPE) | ANY | alter Infotypsatz mit MA | 20020911 | |||
| 4 | PNNNN | Call by reference | Type reference (TYPE) | ANY | Infotypsatz mit MA | 20020911 | |||
| 5 | P_SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '-' | Subtyp | 20020911 |
Method SPECIFIC_MODIFY_COMPUTATIONS on class CL_HRPA_CH_EMPL_ATTRIB has no exception.
History
| Last changed by/on | SAP | 20021025 |
| SAP Release Created in | 200 |