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

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




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




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

BAPIP0021PL 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) PL" 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_BAPIP0021PL TYPE BAPIP0021PL.

The BAPIP0021PL table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0021 (Family/Rel.Person) PL 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 BAPIP0021PL 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 PPL_FAMSACHAR4SUBTY
NAMEOFSUBTYPEName of Subtype SBTTXCHAR40TEXT40
LASTNAMELast Name PAD_NACHNCHAR40PAD_NACHN
FIRSTNAMEFirst Name PAD_VORNACHAR40PAD_VORNM
MAIDENNAMEName at Birth PAD_NAME2CHAR40PAD_NACHN
GENDERGender Key GESCHCHAR1GESCH
NAMEOFGENDERShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
DATEOFBIRTHDate of Birth GBDATDATS8PDATEGBDAT
BIRTHPLACEBirthplace PAD_GBORTCHAR40PAD_ORT01
NATIONALITYNationality NATSLCHAR3T005LAND1NAT
NATIONALITY2Second Nationality NATS2CHAR3T005LAND1
NATIONALITY3Third Nationality NATS3CHAR3T005LAND1
NAMEOFNATIONationality NATIOCHAR15TEXT15
NAMEOFNATIO2Nationality NATIOCHAR15TEXT15
NAMEOFNATIO3Nationality NATIOCHAR15TEXT15
OTHERADDRESSRelevancy of family member address PPL_CNADRCHAR1AS4FLAG
PHONENUMBERTelephone Number TELNRCHAR14TELNR
STREETANDHOUSEStreet and House Number PAD_STRASCHAR60PAD_STRAS
HOUSENUMBERHouse Number PAD_HSNMRCHAR10PAD_HSNMR
FLATNUMBERIdentification of an apartment in a building PAD_POSTACHAR10PAD_HSNMR
CITYCity PAD_ORT01CHAR40PAD_ORT01
DISTRICTDistrict PAD_ORT02CHAR40PAD_ORT01
STATESTATE (State, Province, County) REGIOCHAR3T005SREGIO
NAMEOFSTATEDescription BEZEI20CHAR20TEXT20
COUNTYCounty Code COUNCCHAR3Assigned to domainCOUNC
NAMEOFCOUNTYDescription BEZEI20CHAR20TEXT20
POSTALCODEPostal Code PSTLZ_HRCHAR10PSTLZ
COUNTRYCountry Key LAND1CHAR3T005LAND1LND
NAMEOFCOUNTRYCountry Name LANDXCHAR15TEXT15
DATEOFSEPLegal Separation Date SEPDTDATS8DATUM
NAMEOFPHYS1Benefit Physician Name BEN_DOCNAMCHAR30TEXT30
PHYSICIANID1Benefit Physician ID BEN_DOCIDCHAR20CHAR20
NAMEOFPHYS2Benefit Physician Name BEN_DOCNAMCHAR30TEXT30
PHYSICIANID2Benefit Physician ID BEN_DOCIDCHAR20CHAR20
STUDENTStudent Indicator BEN03CHAR1XFELD
COBRACOBRA Indicator BEN04CHAR1XFELD
MEDICAREBenefit Indicator for Medicare BEN_MEDICCHAR1XFELD
DISABILITYDisability PPL_DISABCHAR1XFELD
DATEOFDISABDate of Determination of Disability Status DISDTDATS8DATUM
DATEDISABLEARNDate Employer Learned of Disability Status DISLEDATS8DATUM
SMOKERBenefit smoker indicator BEN_SMOKERCHAR1BEN_SMOKER
HEALTHINSURANCEHealth insurance of family member PPL_UZCZRCHAR1AS4FLAG
EXCLUSIVESUPPORTExclusive support of family member PPL_EXSUPCHAR1AS4FLAG
COMMHOUSEHOLDCommon household with family member PPL_CNHLDCHAR1AS4FLAG
IDTYPEType of identification (IC type) ICTYPCHAR2Assigned to domainICTYP
IDCARDTEXTIC description ICTXTCHAR30TEXT30
IDNUMBERIC number PPL_ICNUMCHAR20PPL_ICNUM
PESELPESEL number PPL_PESELCHAR11CHAR11
NIPNIP number PPL_NIP00CHAR10CHAR10
DISABILITYLEVELDisability level PPL_STPNSCHAR1PPL_STPNS
TERY2Municipality GUS code according to TERYT PPL_TERY2CHAR3CHAR3
NAMEOFDISTRICTDescription BEZEI40CHAR40TEXT40

Key field Non-key field



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

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

How to access SAP table BAPIP0021PL

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