PA0845 SAP (HR Master Record Infotype 0845 (Work Relationships)) Table details
Dictionary Type: Table
Description: HR Master Record Infotype 0845 (Work Relationships)
Description: HR Master Record Infotype 0845 (Work Relationships)
Table field list including key, data, relationships and ABAP select examples
PA0845 is a standard SAP Table which is used to store HR Master Record Infotype 0845 (Work Relationships) data and is available within R/3 SAP systems depending on the version and release level.
The PA0845 table consists of various fields, each holding specific information or linking keys about HR Master Record Infotype 0845 (Work Relationships) data available in SAP. These include PERNR (Personnel number), SUBTY (Subtype), OBJPS (Object Identification), SPRPS (Lock Indicator for HR Master Data Record).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PA0845 table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
PERNR | Personnel number | PERSNO | NUMC | 8 | PA0003 | PERSNO | PER | ||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXEX | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
ITBLD | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
PREAS | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESE1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESE2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
GRPVL | Grouping Value for Personnel Assignments | PCCE_GPVAL | CHAR | 4 | PCCE_GPVAL | ||||
RGRND | Legal Basis for Reimbursements | PDE_PBSVAVG_ERST_RGRND | CHAR | 2 | Assigned to domain | PDE_PBSVAVG_ERST_RGRND | |||
TRGER | Previous Public Sector Employer | PDE_PBSVAVG_FRUEHERE_DIENSTH | CHAR | 2 | CHAR2 | ||||
TRFAR | Pay scale type | TRFAR | CHAR | 2 | T510A | TRFAR | |||
TRFGB | Pay Scale Area | TRFGB | CHAR | 2 | T510G | TRFGB | |||
TRFGR | Pay Scale Group | TRFGR | CHAR | 8 | T510 | TRFGR | |||
TRFST | Pay Scale Level | TRFST | CHAR | 2 | T510 | TRFST | |||
REFNR | Reference Number for Uniqueness from Infotype 0845 | PDE_PBSVAVG_ERST_REFNR | CHAR | 2 | |||||
ERH_ABFINDUNG | Received Severance Pay | PDE_PBS_VLTSV_ERHALT_ABFINDUNG | CURR | 13(2) | P_AMT07V | ||||
ERH_ABF_WAERS | Currency Key | WAERS | CUKY | 5 | T500W | WAERS | FWS | ||
ERH_ABF_EINGANG | Incoming Payments of Received Severance Payment | PDE_PBS_VLTSV_DATE_ERH_ABF | DATS | 8 | DATUM | ||||
DH_FRUEHER | Previous Public Sector Employer | PDE_PBS_VLTSV_FRUEHERER_DH | CHAR | 8 | T536C | ANSSL | |||
DH_NEU | New Public Sector Employer | PDE_PBS_VLTSV_P10_DH_NEU | CHAR | 8 | T536C | ANSSL | |||
ART | Own Role Regarding Change of Public Sector Employer | PDE_PBS_VLTSV_P10_ART | NUMC | 1 | PDE_PBS_VLTSV_P10_ART | ||||
AZ_ERST_P10 | Case Number | PDE_PBS_VLTSV_P10_AZ | CHAR | 20 | TEXT20 | ||||
BETRG_ERST_P10 | Stipulated Reimbursement Amount | PDE_PBS_VLTSV_P10_ERSTBETRG | CURR | 9(2) | BETRG | ||||
ERST_TYP | Subtype of Reimbursement | PDE_PBS_VLTSV_P10_SUBTY_ERST | CHAR | 4 | T591A | SUBTY_591A |
Key field | Non-key field |
How do I retrieve data from SAP table PA0845 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PA0845 to SELECT all data from the tableDATA: WA_PA0845 TYPE PA0845.
SELECT SINGLE *
FROM PA0845
INTO CORRESPONDING FIELDS OF WA_PA0845
WHERE...
How to access SAP table PA0845
Within an ECC or HANA version of SAP you can also view further information about PA0845 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects