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

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




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




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

BAPIHR0002A 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: 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_BAPIHR0002A TYPE BAPIHR0002A.

The BAPIHR0002A table consists of various fields, each holding specific information or linking keys about HR: HR Master Record Infotype 0002 (Personal Data) data available in SAP. These include OBJ_ID (Personnel Number), INFOTYPE (Infotype), SUBTYPE (Subtype), OBJECT_IDENTIFICATION (Object Identification).. 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: Cannot Be Enhanced


SAP BAPIHR0002A 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
OBJ_IDPersonnel Number PERNR_DNUMC8PERNRPER
INFOTYPEInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYPESubtype SUBTYCHAR4SUBTYSUB
OBJECT_IDENTIFICATIONObject Identification OBJPSCHAR2OBJPSOPS
LOCKINDICLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
TO_DATEEnd Date ENDDADATS8DATUM
FROM_DATEStart Date BEGDADATS8DATUM
IT_REC_NONumber of Infotype Record with Same Key SEQNRNUMC3NUM03
FIRST_NAME_KATAKANA_40CFirst name (Katakana) P22J_PFNMKCHAR40P22J_PNAME
LAST_NAME_KATAKANA_40CLast name (Katakana) P22J_PLNMKCHAR40P22J_PNAME
FIRST_NAME_ROMAJI_40CFirst Name (Romaji) P22J_PFNMRCHAR40P22J_PNAME
LAST_NAME_ROMAJI_40CLast Name (Romaji) P22J_PLNMRCHAR40P22J_PNAME
NAME_OF_BIRTH_KATAKANA_40CName of Birth (Katakana) P22J_PNBIKCHAR40P22J_PNAME
NAME_OF_BIRTH_ROMAJI_40CName of Birth (Romaji) P22J_PNBIRCHAR40P22J_PNAME
NICKNAME_KATAKANA_40CKoseki (Katakana) P22J_PNCKKCHAR40P22J_PNAME
NICKNAME_ROMAJI_40CKoseki (Romaji) P22J_PNCKRCHAR40P22J_PNAME

Key field Non-key field



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

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

How to access SAP table BAPIHR0002A

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