P0789 SAP (HR Master Record for Infotype 0789) Structure details

Dictionary Type: Structure
Description: HR Master Record for Infotype 0789




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




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

P0789 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 "HR Master Record for Infotype 0789" 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_P0789 TYPE P0789.

The P0789 table consists of various fields, each holding specific information or linking keys about HR Master Record for Infotype 0789 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 P0789 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
ARTType of Bonus (Child-Rear/Suppl.Child-Rear/Care/Care Child) PDE_PBSVAVG_P50A_ZUSCHLAGSARTCHAR4T591ASUBTY_591A
IT0021_SUBTYSubtype PDE_PBSVAVG_P50A_IT0021_SUBTYCHAR4SUBTYSUB
IT0021_OBJPSObject Identification PDE_PBSVAVG_P50A_IT0021_OBJPSCHAR2OBJPSOPS
TRFGBPay Scale Area PDE_PBSVAVG_P50A_TRFGBCHAR2T510GTRFGB
VERS_PFLICHTIGIndicator: Pension-Relevant Period PDE_PBSVAVG_P50A_PFLICHTIGCHAR1XFELD
RELEVANT_P50EIndicator: Time Relevant for Temporary Granting PDE_PBSVAVG_P50A_REL_P50ECHAR1XFELD
RGF_DZ_JAHRE_MANManual Value: Pensionable Employment Period Years PDE_PBSVAVG_P50A_MAN_RGF_DZ_JDEC2DEC2
RGF_DZ_TAGE_MANObsolete PDE_PBSVAVG_P50A_MAN_RGF_DZ_TDEC3DEC3
DEZ_JAHRE_MANDecimal Years - Subinterval for Child Rearing/Care Periods PDE_PBSVAVG_P50A_DEZIMAL_JAHREDEC6(4) DEC2_4
RGF_DZ_JAHRE_CALPensionable Employment Period (Years) PDE_PBSVAVG_P50A_RGF_DZ_JAHREDEC2DEC2
RGF_DZ_TAGE_CALObsolete PDE_PBSVAVG_P50A_RGF_DZ_TAGEDEC3DEC3
DEZ_JAHRE_CALDecimal Years - Subinterval for Child Rearing/Care Periods PDE_PBSVAVG_P50A_DEZIMAL_JAHREDEC6(4) DEC2_4
BEITRAGS_BEMGRContribution Assessment Basis PDE_PBSVAVG_P50A_BEITRAG_BEMGRCURR15(2) PRBETRG
WAERS_BEMGRCurrency Key WAERSCUKY5T500WWAERSFWS
EIN_MEHRKINDFALLNumber of Children for Calculating KEEZ Section 50 B PDE_PBSVAVG_P50B_KEEZ_KINDERCHAR1PDE_PBSVAVG_P50B_KEEZ_KINDER
EHEZEITLength of Marriage PDE_PBSVAVG_P50B_EHEZEITCHAR1BOOLE
RGF_DZ_TAGE_CAL4Pensionable Employment Period in Decimal Days (Calc) PDE_PBSVAVG_P50_RGFDZ_TAGE_CALDEC7(4) PDE_PBSVAVG_P50_RGFDZ_TAGE_CAL
RGF_DZ_TAGE_MAN4Pensionable Employment Period in Decimal Days (Manual) PDE_PBSVAVG_P50_RGFDZ_TAGE_MANDEC7(4) PDE_PBSVAVG_P50_RGFDZ_TAGE_MAN
PFLEGESTUFECare Level for Calculating Bonuses for Care of Family Member PDE_PBSVAVG_P50_PFLEGESTUFECHAR1PDE_PBSVAVG_P50_PFLEGESTUFE
PFLEGEAUFWANDCare Time for Calculating Bonuses for Care of Family Member PDE_PBSVAVG_P50_PFLEGEAUFWANDDEC5(2) STDAZ
ENTGELTPUNKTERemuneration Points PDE_PBSVAVG_ENTGPDEC7(4) ENTGP

Key field Non-key field



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

As P0789 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 P0789 as there is no data to select.

How to access SAP table P0789

Within an ECC or HANA version of SAP you can also view further information about P0789 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!