PS0021 SAP (HR Master Record: Infotype 0021 (Family)) Structure details
Description: HR Master Record: Infotype 0021 (Family)
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 |
FAMSA | Type of Family Record | FAMSA | CHAR | 4 | SUBTY | ||||
FGBDT | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
FGBLD | Country of Birth | GBLND | CHAR | 3 | T005 | LAND1 | |||
FANAT | Nationality | NATSL | CHAR | 3 | T005 | LAND1 | NAT | ||
FASEX | Gender Key | GESCH | CHAR | 1 | GESCH | ||||
FAVOR | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
FANAM | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
FGBOT | Birthplace | PAD_GBORT | CHAR | 40 | PAD_ORT01 | ||||
FGDEP | State | GBDEP | CHAR | 3 | T005S | REGIO | |||
ERBNR | Reference Personnel Number for Family Member | ERBNR | CHAR | 12 | CHAR12 | ||||
FGBNA | Name at Birth | PAD_NAME2 | CHAR | 40 | PAD_NACHN | ||||
FNAC2 | Second Name | PAD_NACH2 | CHAR | 40 | PAD_NACHN | ||||
FCNAM | Complete Name | PAD_CNAME | CHAR | 80 | TEXT80 | ||||
FKNZN | Name Format Indicator for Employee in a List | KNZNM | NUMC | 2 | KNZN2 | ||||
FINIT | Initials | INITS | CHAR | 10 | TEXT10 | ||||
FVRSW | Name Prefix | VORSW | CHAR | 15 | T535N | TITEL | |||
FVRS2 | Name Prefix | VORSW | CHAR | 15 | T535N | TITEL | |||
FNMZU | Other Title | NAMZU | CHAR | 15 | T535N | TITEL | |||
AHVNR | AHV Number | AHVNR | CHAR | 11 | AHVNR | P02_AHVNR | |||
KDSVH | Relationship to Child | KDSVH | CHAR | 2 | T577 | AUSPR | |||
KDBSL | Allowance Authorization | KDBSL | CHAR | 2 | T577 | AUSPR | |||
KDUTB | Address of Child | KDUTB | CHAR | 2 | T577 | AUSPR | |||
KDGBR | Child Allowance Entitlement | KDGBR | CHAR | 2 | T577 | AUSPR | |||
KDART | Child Type | KDART | CHAR | 2 | T577 | AUSPR | |||
KDZUG | Child Bonuses | KDZUG | CHAR | 2 | T577 | AUSPR | |||
KDZUL | Child Allowances | KDZUL | CHAR | 2 | T577 | AUSPR | |||
KDVBE | Sickness Certificate Authorization | KDVBE | CHAR | 2 | T577 | AUSPR | |||
ERMNR | Authority Number | ERMNR | CHAR | 8 | CHAR8 | ||||
AUSVL | 1st Part of SI Number (Sequential Number) | AUSVL | NUMC | 4 | NUM4 | ||||
AUSVG | 2nd Part of SI Number (Birth Date) | AUSVG | NUMC | 8 | NUM8 | ||||
FASDT | End of Family Member's Education/Training | FASDT | DATS | 8 | DATUM | ||||
FASAR | School Type of Family Member | FASAR | CHAR | 2 | T517T | SLART | |||
FASIN | Educational Institute | FASIN | CHAR | 20 | TEXT20 | ||||
EGAGA | Employer of Family Member | EGAGA | CHAR | 8 | VARGA | ||||
FANA2 | Second Nationality | NATS2 | CHAR | 3 | T005 | LAND1 | |||
FANA3 | Third Nationality | NATS3 | CHAR | 3 | T005 | LAND1 | |||
BETRG | Amount | BETRG | CURR | 9(2) | WERTV5 | ||||
TITEL | Title | TITEL | CHAR | 15 | T535N | TITEL | |||
EMRGN | Emergency Contact | PAD_EMRGN | CHAR | 1 | XFELD |
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 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