PS0002 SAP (HR Master Record: Infotype 0002 (Personal Data)) Structure details
Description: HR Master Record: Infotype 0002 (Personal Data)
Structure field list including key, data, relationships and ABAP select examples
PS0002 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 0002 (Personal Data)" 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_PS0002 TYPE PS0002.
The PS0002 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0002 (Personal Data) data available in SAP. These include NACHN (Last Name), NAME2 (Name at Birth), NACH2 (Second Name), VORNA (First Name).. 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 PS0002 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 |
INITS | Initials | INITS | CHAR | 10 | TEXT10 | ||||
NACHN | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
NAME2 | Name at Birth | PAD_NAME2 | CHAR | 40 | PAD_NACHN | ||||
NACH2 | Second Name | PAD_NACH2 | CHAR | 40 | PAD_NACHN | ||||
VORNA | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
CNAME | Complete Name | PAD_CNAME | CHAR | 80 | TEXT80 | ||||
TITEL | Title | TITEL | CHAR | 15 | T535N | TITEL | |||
TITL2 | Second Title | TITL2 | CHAR | 15 | T535N | TITEL | |||
NAMZU | Other Title | NAMZU | CHAR | 15 | T535N | TITEL | |||
VORSW | Name Prefix | VORSW | CHAR | 15 | T535N | TITEL | |||
VORS2 | Second Name Prefix | VORS2 | CHAR | 15 | T535N | TITEL | |||
RUFNM | Nickname | PAD_RUFNM | CHAR | 40 | PAD_VORNM | ||||
MIDNM | Middle Name | PAD_MIDNM | CHAR | 40 | PAD_VORNM | ||||
KNZNM | Name Format Indicator for Employee in a List | KNZNM | NUMC | 2 | KNZN2 | ||||
ANRED | Form-of-Address Key | ANRDE | CHAR | 1 | T522G | ANRDE | |||
GESCH | Gender Key | GESCH | CHAR | 1 | GESCH | ||||
GBDAT | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
GBLND | Country of Birth | GBLND | CHAR | 3 | T005 | LAND1 | |||
GBDEP | State | GBDEP | CHAR | 3 | T005S | REGIO | |||
GBORT | Birthplace | PAD_GBORT | CHAR | 40 | PAD_ORT01 | ||||
NATIO | Nationality | NATSL | CHAR | 3 | T005 | LAND1 | NAT | ||
NATI2 | Second Nationality | NATS2 | CHAR | 3 | T005 | LAND1 | |||
NATI3 | Third Nationality | NATS3 | CHAR | 3 | T005 | LAND1 | |||
SPRSL | Communication Language | PAD_SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
KONFE | Religious Denomination Key | KONFE | CHAR | 2 | Assigned to domain | KONFE | |||
FAMST | Marital Status Key | FAMST | CHAR | 1 | Assigned to domain | FAMST | |||
FAMDT | Valid From Date of Current Marital Status | FAMDT | DATS | 8 | DATUM | ||||
ANZKD | Number of Children | ANZKD | DEC | 3 | DEC03 | ||||
NACON | Name Connection | NACON | CHAR | 1 | CHAR1 | ||||
PERMO | Modifier for Personnel Identifier | PIDMO | CHAR | 2 | CHAR2 | ||||
PERID | Personnel ID Number | PRDNI | CHAR | 20 | CHAR20 | ||||
GBPAS | Date of Birth According to Passport | GBPAS | DATS | 8 | DATUM | ||||
FNAMK | First name (Katakana) | P22J_PFNMK | CHAR | 40 | P22J_PNAME | ||||
LNAMK | Last name (Katakana) | P22J_PLNMK | CHAR | 40 | P22J_PNAME | ||||
FNAMR | First Name (Romaji) | P22J_PFNMR | CHAR | 40 | P22J_PNAME | ||||
LNAMR | Last Name (Romaji) | P22J_PLNMR | CHAR | 40 | P22J_PNAME | ||||
NABIK | Name of Birth (Katakana) | P22J_PNBIK | CHAR | 40 | P22J_PNAME | ||||
NABIR | Name of Birth (Romaji) | P22J_PNBIR | CHAR | 40 | P22J_PNAME | ||||
NICKK | Koseki (Katakana) | P22J_PNCKK | CHAR | 40 | P22J_PNAME | ||||
NICKR | Koseki (Romaji) | P22J_PNCKR | CHAR | 40 | P22J_PNAME | ||||
GBJHR | Year of Birth | GBJHR | NUMC | 4 | GJAHR | GJAHR | |||
GBMON | Month of Birth | GBMON | NUMC | 2 | NUM2 | ||||
GBTAG | Birth Date (to Month/Year) | GBTAG | NUMC | 2 | NUM2 | ||||
NCHMC | Last Name (Field for Search Help) | NACHNMC | CHAR | 25 | CHAR25 | ||||
VNAMC | First Name (Field for Search Help) | VORNAMC | CHAR | 25 | CHAR25 | ||||
NAMZ2 | Name Affix for Name at Birth | NAMZ2 | CHAR | 15 | T535N | TITEL |
Key field | Non-key field |
How do I retrieve data from SAP structure PS0002 using ABAP code?
As PS0002 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 PS0002 as there is no data to select.How to access SAP table PS0002
Within an ECC or HANA version of SAP you can also view further information about PS0002 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