PS0021 SAP (HR Master Record: Infotype 0021 (Family)) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0021 (Family)




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




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

PS0021 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: Infotype 0021 (Family)" 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_PS0021 TYPE PS0021.

The PS0021 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0021 (Family) data available in SAP. These include FGBDT (Date of Birth), FGBLD (Country of Birth), FANAT (Nationality), FASEX (Gender Key).. 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 PS0021 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
FAMSAType of Family Record FAMSACHAR4SUBTY
FGBDTDate of Birth GBDATDATS8PDATEGBDAT
FGBLDCountry of Birth GBLNDCHAR3T005LAND1
FANATNationality NATSLCHAR3T005LAND1NAT
FASEXGender Key GESCHCHAR1GESCH
FAVORFirst Name PAD_VORNACHAR40PAD_VORNM
FANAMLast Name PAD_NACHNCHAR40PAD_NACHN
FGBOTBirthplace PAD_GBORTCHAR40PAD_ORT01
FGDEPState GBDEPCHAR3T005SREGIO
ERBNRReference Personnel Number for Family Member ERBNRCHAR12CHAR12
FGBNAName at Birth PAD_NAME2CHAR40PAD_NACHN
FNAC2Second Name PAD_NACH2CHAR40PAD_NACHN
FCNAMComplete Name PAD_CNAMECHAR80TEXT80
FKNZNName Format Indicator for Employee in a List KNZNMNUMC2KNZN2
FINITInitials INITSCHAR10TEXT10
FVRSWName Prefix VORSWCHAR15T535NTITEL
FVRS2Name Prefix VORSWCHAR15T535NTITEL
FNMZUOther Title NAMZUCHAR15T535NTITEL
AHVNRAHV Number AHVNRCHAR11AHVNRP02_AHVNR
KDSVHRelationship to Child KDSVHCHAR2T577AUSPR
KDBSLAllowance Authorization KDBSLCHAR2T577AUSPR
KDUTBAddress of Child KDUTBCHAR2T577AUSPR
KDGBRChild Allowance Entitlement KDGBRCHAR2T577AUSPR
KDARTChild Type KDARTCHAR2T577AUSPR
KDZUGChild Bonuses KDZUGCHAR2T577AUSPR
KDZULChild Allowances KDZULCHAR2T577AUSPR
KDVBESickness Certificate Authorization KDVBECHAR2T577AUSPR
ERMNRAuthority Number ERMNRCHAR8CHAR8
AUSVL1st Part of SI Number (Sequential Number) AUSVLNUMC4NUM4
AUSVG2nd Part of SI Number (Birth Date) AUSVGNUMC8NUM8
FASDTEnd of Family Member's Education/Training FASDTDATS8DATUM
FASARSchool Type of Family Member FASARCHAR2T517TSLART
FASINEducational Institute FASINCHAR20TEXT20
EGAGAEmployer of Family Member EGAGACHAR8VARGA
FANA2Second Nationality NATS2CHAR3T005LAND1
FANA3Third Nationality NATS3CHAR3T005LAND1
BETRGAmount BETRGCURR9(2) WERTV5
TITELTitle TITELCHAR15T535NTITEL
EMRGNEmergency Contact PAD_EMRGNCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table PS0021

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