PEHV6 SAP (Master personnel record infotype 0021 (Family members)) Structure details

Dictionary Type: Structure
Description: Master personnel record infotype 0021 (Family members)




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




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

PEHV6 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 "Master personnel record infotype 0021 (Family members)" 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_PEHV6 TYPE PEHV6.

The PEHV6 table consists of various fields, each holding specific information or linking keys about Master personnel record infotype 0021 (Family members) 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 PEHV6 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
DATEOFBIRTHDate of Birth GBDATDATS8PDATEGBDAT
LANDOFBIRTHCountry of Birth GBLNDCHAR3Assigned to domainLAND1
NATIONALITYNationality NATSLCHAR3Assigned to domainLAND1NAT
GENDERGender Key GESCHCHAR1GESCH
FIRSTNAMEFirst Name PAD_VORNACHAR40PAD_VORNM
LASTNAMELast Name PAD_NACHNCHAR40PAD_NACHN
PLACEOFBIRTHBirthplace PAD_GBORTCHAR40PAD_ORT01
STATEOFBIRTHState GBDEPCHAR3Assigned to domainREGIO
REFPERSNOReference Personnel Number for Family Member ERBNRCHAR12CHAR12
MAIDENNAMEName at Birth PAD_NAME2CHAR40PAD_NACHN
SECONDNAMESecond Name PAD_NACH2CHAR40PAD_NACHN
FULLNAMEComplete Name PAD_CNAMECHAR80TEXT80
FKNZNName Format Indicator for Employee in a List KNZNMNUMC2KNZN2
INITIALSInitials INITSCHAR10TEXT10
SURNAMEPREFIXName Prefix VORSWCHAR15T535NTITEL
SECONDSURNAMEPREFIXName Prefix VORSWCHAR15T535NTITEL
ARISTOCRATICTITLEOther Title NAMZUCHAR15T535NTITEL
AHVNRAHV Number AHVNRCHAR11AHVNRP02_AHVNR
KDSVHRelationship to Child KDSVHCHAR2T577AUSPR
KDBSLAllowance Authorization KDBSLCHAR2T577AUSPR
KDUTBAddress of Child KDUTBCHAR2T577AUSPR
KDGBRChild Allowance Entitlement KDGBRCHAR2T577AUSPR
KDARTChild Type KDARTCHAR2T577AUSPR
KDZUGChild Bonuses KDZUGCHAR2T577AUSPR
KDZULChild Allowances KDZULCHAR2T577AUSPR
KDVBESickness Certificate Authorization KDVBECHAR2T577AUSPR
ERMNRAuthority Number ERMNRCHAR8CHAR8
AUSVLFirst part of the social insurance number PVE_VLSSONUMC4NUM4
AUSVGSecond part of the social insurance number PVE_VGSSONUMC8NUM8
FASDTEnd of Family Member's Education/Training FASDTDATS8DATUM
FASARSchool Type of Family Member FASARCHAR2T517TSLART
FASINEducational Institute FASINCHAR20TEXT20
EGAGAEmployer of Family Member EGAGACHAR8VARGA
NATIONALITY2Second Nationality NATS2CHAR3T005LAND1
NATIONALITY3Third Nationality NATS3CHAR3T005LAND1
BETRGAmount BETRGCURR9(2) WERTV5
ACADEMICTITLETitle TITELCHAR15T535NTITEL
EMRGNEmergency Contact PAD_EMRGNCHAR1XFELD
NAMEOFGENDERShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
NAMEOFSTATEOFBIRTHDescription BEZEI20CHAR20TEXT20
NAMEOFLANDOFBIRTHCountry Name LANDXCHAR15TEXT15
NAMEOFNATIONALITYNationality NATIOCHAR15TEXT15
NAMEOFNATIONALITY2Nationality NATIOCHAR15TEXT15
NAMEOFNATIONALITY3Nationality NATIOCHAR15TEXT15
NAMEOFMEMBERTYPEName of Subtype SBTTXCHAR40TEXT40
DELIMIT_DATEKey date for delimiting an infotype record HRDELIMITDATEDATS8DATS
CARDIDNUMBERIdentity Card PVE_CEDU2DEC9DEC9

Key field Non-key field



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

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

How to access SAP table PEHV6

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