P0845 SAP (Work Relationships) Structure details

Dictionary Type: Structure
Description: Work Relationships




ABAP Code to SELECT data from P0845
Related tables to P0845
Access table P0845




Structure field list including key, data, relationships and ABAP select examples

P0845 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Work Relationships" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_P0845 TYPE P0845.

The P0845 table consists of various fields, each holding specific information or linking keys about Work Relationships data available in SAP. These include PERNR (Personnel Number), INFTY (Infotype), SUBTY (Subtype), OBJPS (Object Identification).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP P0845 structure 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
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
INFTYInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
RGRNDLegal Basis for Reimbursements PDE_PBSVAVG_ERST_RGRNDCHAR2T7DEPBSVAVG05PDE_PBSVAVG_ERST_RGRND
TRGERPrevious Public Sector Employer PDE_PBSVAVG_FRUEHERE_DIENSTHCHAR2CHAR2
TRFARPay scale type TRFARCHAR2T510ATRFAR
TRFGBPay Scale Area TRFGBCHAR2T510GTRFGB
TRFGRPay Scale Group TRFGRCHAR8T510TRFGR
TRFSTPay Scale Level TRFSTCHAR2T510TRFST
REFNRReference Number for Uniqueness from Infotype 0845 PDE_PBSVAVG_ERST_REFNRCHAR2
ERH_ABFINDUNGReceived Severance Pay PDE_PBS_VLTSV_ERHALT_ABFINDUNGCURR13(2) P_AMT07V
ERH_ABF_WAERSCurrency Key WAERSCUKY5T500WWAERSFWS
ERH_ABF_EINGANGIncoming Payments of Received Severance Payment PDE_PBS_VLTSV_DATE_ERH_ABFDATS8DATUM
DH_FRUEHERPrevious Public Sector Employer PDE_PBS_VLTSV_FRUEHERER_DHCHAR8T536CANSSL
DH_NEUNew Public Sector Employer PDE_PBS_VLTSV_P10_DH_NEUCHAR8T536CANSSL
ARTOwn Role Regarding Change of Public Sector Employer PDE_PBS_VLTSV_P10_ARTNUMC1PDE_PBS_VLTSV_P10_ART
AZ_ERST_P10Case Number PDE_PBS_VLTSV_P10_AZCHAR20TEXT20
BETRG_ERST_P10Stipulated Reimbursement Amount PDE_PBS_VLTSV_P10_ERSTBETRGCURR9(2) BETRG
ERST_TYPSubtype of Reimbursement PDE_PBS_VLTSV_P10_SUBTY_ERSTCHAR4T591ASUBTY_591A

Key field Non-key field



How do I retrieve data from SAP structure P0845 using ABAP code?

As P0845 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on P0845 as there is no data to select.

How to access SAP table P0845

Within an ECC or HANA version of SAP you can also view further information about P0845 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!