BAPIP0002HK 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 BAPIP0002HK
Related tables to BAPIP0002HK
Access table BAPIP0002HK




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

BAPIP0002HK 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_BAPIP0002HK TYPE BAPIP0002HK.

The BAPIP0002HK 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 EMPLOYEENO (Personnel Number), SUBTYPE (Subtype), OBJECTID (Object Identification), LOCKINDIC (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: Not classified


SAP BAPIP0002HK 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
EMPLOYEENOPersonnel Number PERNR_DNUMC8PERNRPER
SUBTYPESubtype SUBTYCHAR4SUBTYSUB
OBJECTIDObject Identification OBJPSCHAR2OBJPSOPS
LOCKINDICLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
VALIDENDEnd Date ENDDADATS8DATUM
VALIDBEGINStart Date BEGDADATS8DATUM
RECORDNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
FORMOFADDRESSForm-of-Address Key ANRDECHAR1T522GANRDE
FIRSTNAMEFirst Name PAD_VORNACHAR40PAD_VORNM
LASTNAMELast Name PAD_NACHNCHAR40PAD_NACHN
NAMEATBIRTHName at Birth PAD_NAME2CHAR40PAD_NACHN
SECONDNAMESecond Name PAD_NACH2CHAR40PAD_NACHN
MIDDLENAMEMiddle Name PAD_MIDNMCHAR40PAD_VORNM
FULLNAMEComplete Name PAD_CNAMECHAR80TEXT80
KNOWNASNickname PAD_RUFNMCHAR40PAD_VORNM
ACADEMICGRADETitle TITELCHAR15T535NTITEL
SECONDTITLESecond Title TITL2CHAR15Assigned to domainTITEL
OTHERTITLEOther Title NAMZUCHAR15Assigned to domainTITEL
SURNAMEPREFIXName Prefix VORSWCHAR15T535NTITEL
SECONDPREFIXSecond Name Prefix VORS2CHAR15Assigned to domainTITEL
INITIALSInitials INITSCHAR10TEXT10
GENDERGender Key GESCHCHAR1GESCH
DATEOFBIRTHDate of Birth GBDATDATS8PDATEGBDAT
BIRTHPLACEBirthplace PAD_GBORTCHAR40PAD_ORT01
STATEOFBIRTHState GBDEPCHAR3T005SREGIO
COUNTRYOFBIRTHCountry of Birth GBLNDCHAR3T005LAND1
MARITALSTATUSMarital Status Key FAMSTCHAR1T502TFAMST
MARITALSINCEValid From Date of Current Marital Status FAMDTDATS8DATUM
NUMBEROFCHILDNumber of Children ANZKCNUMC3NUM3
RELIGIONReligious Denomination Key KONFECHAR2T516TKONFE
LANGUAGELanguage Key SPRSLLANG1T002ISOLASPRAS
LANGUAGE_ISO2-Character SAP Language Code LAISOCHAR2LAISO
NATIONALITYNationality NATSLCHAR3T005LAND1NAT
SECONDNATIOSecond Nationality NATS2CHAR3Assigned to domainLAND1
THIRDNATIOThird Nationality NATS3CHAR3Assigned to domainLAND1
IDNUMBERPersonnel ID Number PRDNICHAR20CHAR20
NAMEFORMADDRESLong Text: Form of Address ANRLTCHAR15TEXT15
NAMEOFGENDERShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
NAMESTATEBIRTHDescription BEZEI20CHAR20TEXT20
NAMEBIRCOUNTRYCountry Name LANDXCHAR15TEXT15
NAMEMARITALMarital Status FATXTCHAR6FATXT
NAMERELIGIONReligious Denomination Long Text KNFTXCHAR25TEXT25
NAMEOFLANGUAGEName of Language SPTXTCHAR16SPTXT16DSB
NAMEOFNATIONationality NATIOCHAR15TEXT15
NAMEOFNATIO2Nationality NATIOCHAR15TEXT15
NAMEOFNATIO3Nationality NATIOCHAR15TEXT15
NAMEFORMATINDIName Format Indicator for Employee in a List KNZNMNUMC2KNZN2
MARRIAGENUMBERMarriage Certificate Number PHK_MACNOCHAR20CHAR20

Key field Non-key field



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

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

How to access SAP table BAPIP0002HK

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