BAPIP0002 SAP (HR Master Record: Infotype 0002 (Personal Data)) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0002 (Personal Data)




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




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

BAPIP0002 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_BAPIP0002 TYPE BAPIP0002.

The BAPIP0002 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 INFTY (Infotype), SUBTY (Subtype), OBJPS (Object Identification), SPRPS (Lock Indicator for HR Master Data Record).. 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 BAPIP0002 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
INITSInitials INITSCHAR10TEXT10
NACHNLast Name PAD_NACHNCHAR40PAD_NACHN
NAME2Name at Birth PAD_NAME2CHAR40PAD_NACHN
NACH2Second Name PAD_NACH2CHAR40PAD_NACHN
VORNAFirst Name PAD_VORNACHAR40PAD_VORNM
CNAMEComplete Name PAD_CNAMECHAR80TEXT80
TITELTitle TITELCHAR15T535NTITEL
TITL2Second Title TITL2CHAR15T535NTITEL
NAMZUOther Title NAMZUCHAR15T535NTITEL
VORSWName Prefix VORSWCHAR15T535NTITEL
VORS2Second Name Prefix VORS2CHAR15T535NTITEL
RUFNMNickname PAD_RUFNMCHAR40PAD_VORNM
MIDNMMiddle Name PAD_MIDNMCHAR40PAD_VORNM
KNZNMName Format Indicator for Employee in a List KNZNMNUMC2KNZN2
ANREDForm-of-Address Key ANRDECHAR1T522GANRDE
GESCHGender Key GESCHCHAR1GESCH
GBDATDate of Birth GBDATDATS8PDATEGBDAT
GBLNDCountry of Birth GBLNDCHAR3T005LAND1
GBDEPState GBDEPCHAR3T005SREGIO
GBORTBirthplace PAD_GBORTCHAR40PAD_ORT01
NATIONationality NATSLCHAR3T005LAND1NAT
NATI2Second Nationality NATS2CHAR3T005LAND1
NATI3Third Nationality NATS3CHAR3T005LAND1
SPRSLLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
KONFEReligious Denomination Key KONFECHAR2T516TKONFE
FAMSTMarital Status Key FAMSTCHAR1T502TFAMST
FAMDTValid From Date of Current Marital Status FAMDTDATS8DATUM
ANZKDNumber of Children ANZKCNUMC3NUM3
NACONName Connection NACONCHAR1CHAR1
PERMOModifier for Personnel Identifier PIDMOCHAR2CHAR2
PERIDPersonnel ID Number PRDNICHAR20CHAR20
GBPASDate of Birth According to Passport GBPASDATS8DATUM
FNAMKFirst name (Katakana) P22J_PFNMKCHAR40P22J_PNAME
LNAMKLast name (Katakana) P22J_PLNMKCHAR40P22J_PNAME
FNAMRFirst Name (Romaji) P22J_PFNMRCHAR40P22J_PNAME
LNAMRLast Name (Romaji) P22J_PLNMRCHAR40P22J_PNAME
NABIKName of Birth (Katakana) P22J_PNBIKCHAR40P22J_PNAME
NABIRName of Birth (Romaji) P22J_PNBIRCHAR40P22J_PNAME
NICKKKoseki (Katakana) P22J_PNCKKCHAR40P22J_PNAME
NICKRKoseki (Romaji) P22J_PNCKRCHAR40P22J_PNAME
GBJHRYear of Birth GBJHRNUMC4GJAHRGJAHR
GBMONMonth of Birth GBMONNUMC2NUM2
GBTAGBirth Date (to Month/Year) GBTAGNUMC2NUM2
NCHMCLast Name (Field for Search Help) NACHNMCCHAR25CHAR25
VNAMCFirst Name (Field for Search Help) VORNAMCCHAR25CHAR25
SPRSL_ISO2-Character SAP Language Code LAISOCHAR2LAISO
NAMEOFANREDLong Text: Form of Address ANRLTCHAR15TEXT15
NAMEOFGESCHShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
NAMEOFGBDEPDescription BEZEI20CHAR20TEXT20
NAMEOFGBLNDCountry Name LANDXCHAR15TEXT15
NAMEOFFAMSTMarital Status FATXTCHAR6FATXT
NAMEOFKONFEReligious Denomination Long Text KNFTXCHAR25TEXT25
NAMEOFSPRSLName of Language SPTXTCHAR16SPTXT16DSB
NAMEOFNATIONationality NATIOCHAR15TEXT15
NAMEOFNATI2Nationality NATIOCHAR15TEXT15
NAMEOFNATI3Nationality NATIOCHAR15TEXT15
DELIMIT_DATEKey date for delimiting an infotype record HRDELIMITDATEDATS8DATS
ONLY_GBDATFlag: Only Update on GBDAT ONLY_GBDATCHAR1CHAR1_X
NAMZ2Name Affix for Name at Birth NAMZ2CHAR15Assigned to domainTITEL

Key field Non-key field



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

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

How to access SAP table BAPIP0002

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