BAPIP0021ID SAP (HR Master Record: Infotype 0021 (Family/Rel.Person) ID) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0021 (Family/Rel.Person) ID




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




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

BAPIP0021ID 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/Rel.Person) ID" 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_BAPIP0021ID TYPE BAPIP0021ID.

The BAPIP0021ID table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0021 (Family/Rel.Person) ID 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: Cannot Be Enhanced


SAP BAPIP0021ID 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
MEMBERTYPEType of Family Record FAMSACHAR4SUBTY
NAMEOFSUBTYPEName of Subtype SBTTXCHAR40TEXT40
COMPLETENAMEComplete Name PAD_CNAMECHAR80TEXT80
TITLETitle TITELCHAR15Assigned to domainTITEL
OTHERTITLEOther Title NAMZUCHAR15Assigned to domainTITEL
NAMEFORMATName Format Indicator for Employee in a List KNZNMNUMC2KNZN2
GENDERKEYGender Key GESCHCHAR1GESCH
NAMEOFGENDERShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
BIRTHPLACEBirthplace PAD_GBORTCHAR40PAD_ORT01
BIRTHDATEDate of Birth GBDATDATS8PDATEGBDAT
NATIONALITYNationality NATSLCHAR3Assigned to domainLAND1NAT
NAMEOFNATIONationality NATIOCHAR15TEXT15
COUNTRYOFBIRTHCountry of Birth GBLNDCHAR3Assigned to domainLAND1
NAMEOFCOUNTRYCountry Name LANDXCHAR15TEXT15
IDENTITYTYPEIdentity Type PID_IDTYPCHAR3CHAR3
NAMEOFIDTYPEDescription PID_DESCRCHAR38TEXT38
MARRIAGECERTMarriage certificate PID_MARCTCHAR25CHAR25
JOBTITLEJob Title STLTXCHAR25TEXT25
EMPLOYERNAMEEmployer of family member (Indonesia) PID_SPEMSCHAR40TEXT40
TAXDEPENDENTDependent for Tax purposes (Yes/No) (Indonesia) PID_DEPTXCHAR1XFELD
IDNUMBERIdentity Card Number PID_IDNUMCHAR30CHAR30
IDTYPEType of Identity Card (Indonesia) PID_IDCTYCHAR5CHAR5
IDISSUEDATEDate of Issue of Identity Card (Indonesia) PID_IDDATDATS8DATUM
IDISSUEPLACEPlace of Issue of Identity Card PID_IDPLACHAR30TEXT30
IDEXPIRYDATEExpiry Date of Identity Card (Indonesia) PID_IDEXPDATS8DATUM
PHONENUMBERTelephone Number TELNRCHAR14TELNR
STREETHouse number and street STRASCHAR30TEXT30
2NDSTREET2nd Address Line LOCATCHAR30TEXT30
CITYCity ORT01CHAR25TEXT25
POSTALCODEPostal Code PSTLZ_HRCHAR10PSTLZ
DISTRICTDistrict ORT02CHAR25TEXT25
ADDRCOUNTRYKEYCountry Key LAND1CHAR3Assigned to domainLAND1LND
ADDRCOUNTRYNAMECountry Name LANDXCHAR15TEXT15
PASSPORTNUMBERPassport Number PID_PASNRCHAR30CHAR30
PASSPORTTYPEPassport Type PID_PASTYCHAR20CHAR20
PASSISSUEDATEDate of issue of Passport (Indonesia) PID_ISSUEDATS8DATUM
PASSEXPIRYDATEDate of expiry of Passport (Indonesia) PID_EXPIRDATS8DATUM
PASSISSUEPLACEPlace of Issue of Passport PID_PLACECHAR25TEXT25
PASSCOUNTRYKEYCountry Key LAND1CHAR3Assigned to domainLAND1LND
PASSCOUNTRYNAMECountry Name LANDXCHAR15TEXT15

Key field Non-key field



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

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

How to access SAP table BAPIP0021ID

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