P0789 SAP (HR Master Record for Infotype 0789) Structure details
Description: HR Master Record for Infotype 0789
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 |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
INFTY | Infotype | INFTY | CHAR | 4 | T582A | INFOTYP | ITP | ||
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 | ||||
ART | Type of Bonus (Child-Rear/Suppl.Child-Rear/Care/Care Child) | PDE_PBSVAVG_P50A_ZUSCHLAGSART | CHAR | 4 | T591A | SUBTY_591A | |||
IT0021_SUBTY | Subtype | PDE_PBSVAVG_P50A_IT0021_SUBTY | CHAR | 4 | SUBTY | SUB | |||
IT0021_OBJPS | Object Identification | PDE_PBSVAVG_P50A_IT0021_OBJPS | CHAR | 2 | OBJPS | OPS | |||
TRFGB | Pay Scale Area | PDE_PBSVAVG_P50A_TRFGB | CHAR | 2 | T510G | TRFGB | |||
VERS_PFLICHTIG | Indicator: Pension-Relevant Period | PDE_PBSVAVG_P50A_PFLICHTIG | CHAR | 1 | XFELD | ||||
RELEVANT_P50E | Indicator: Time Relevant for Temporary Granting | PDE_PBSVAVG_P50A_REL_P50E | CHAR | 1 | XFELD | ||||
RGF_DZ_JAHRE_MAN | Manual Value: Pensionable Employment Period Years | PDE_PBSVAVG_P50A_MAN_RGF_DZ_J | DEC | 2 | DEC2 | ||||
RGF_DZ_TAGE_MAN | Obsolete | PDE_PBSVAVG_P50A_MAN_RGF_DZ_T | DEC | 3 | DEC3 | ||||
DEZ_JAHRE_MAN | Decimal Years - Subinterval for Child Rearing/Care Periods | PDE_PBSVAVG_P50A_DEZIMAL_JAHRE | DEC | 6(4) | DEC2_4 | ||||
RGF_DZ_JAHRE_CAL | Pensionable Employment Period (Years) | PDE_PBSVAVG_P50A_RGF_DZ_JAHRE | DEC | 2 | DEC2 | ||||
RGF_DZ_TAGE_CAL | Obsolete | PDE_PBSVAVG_P50A_RGF_DZ_TAGE | DEC | 3 | DEC3 | ||||
DEZ_JAHRE_CAL | Decimal Years - Subinterval for Child Rearing/Care Periods | PDE_PBSVAVG_P50A_DEZIMAL_JAHRE | DEC | 6(4) | DEC2_4 | ||||
BEITRAGS_BEMGR | Contribution Assessment Basis | PDE_PBSVAVG_P50A_BEITRAG_BEMGR | CURR | 15(2) | PRBETRG | ||||
WAERS_BEMGR | Currency Key | WAERS | CUKY | 5 | T500W | WAERS | FWS | ||
EIN_MEHRKINDFALL | Number of Children for Calculating KEEZ Section 50 B | PDE_PBSVAVG_P50B_KEEZ_KINDER | CHAR | 1 | PDE_PBSVAVG_P50B_KEEZ_KINDER | ||||
EHEZEIT | Length of Marriage | PDE_PBSVAVG_P50B_EHEZEIT | CHAR | 1 | BOOLE | ||||
RGF_DZ_TAGE_CAL4 | Pensionable Employment Period in Decimal Days (Calc) | PDE_PBSVAVG_P50_RGFDZ_TAGE_CAL | DEC | 7(4) | PDE_PBSVAVG_P50_RGFDZ_TAGE_CAL | ||||
RGF_DZ_TAGE_MAN4 | Pensionable Employment Period in Decimal Days (Manual) | PDE_PBSVAVG_P50_RGFDZ_TAGE_MAN | DEC | 7(4) | PDE_PBSVAVG_P50_RGFDZ_TAGE_MAN | ||||
PFLEGESTUFE | Care Level for Calculating Bonuses for Care of Family Member | PDE_PBSVAVG_P50_PFLEGESTUFE | CHAR | 1 | PDE_PBSVAVG_P50_PFLEGESTUFE | ||||
PFLEGEAUFWAND | Care Time for Calculating Bonuses for Care of Family Member | PDE_PBSVAVG_P50_PFLEGEAUFWAND | DEC | 5(2) | STDAZ | ||||
ENTGELTPUNKTE | Remuneration Points | PDE_PBSVAVG_ENTGP | DEC | 7(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 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