P41_P0540 SAP (HR Master Record: Infotype 0021/0540 (Family/Rel.Person KR)) Structure details
Description: HR Master Record: Infotype 0021/0540 (Family/Rel.Person KR)
Structure field list including key, data, relationships and ABAP select examples
P41_P0540 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/0540 (Family/Rel.Person KR)" 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_P41_P0540 TYPE P41_P0540.
The P41_P0540 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0021/0540 (Family/Rel.Person KR) 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: Can be enhanced (character-type or numeric)
SAP P41_P0540 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 |
EMPLOYEENO | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
SUBTYPE | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJECTID | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
LOCKINDIC | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
VALIDEND | End Date | ENDDA | DATS | 8 | DATUM | ||||
VALIDBEGIN | Start Date | BEGDA | DATS | 8 | DATUM | ||||
RECORDNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
MEMBERTYPE | Type of Family Record | FAMSA | CHAR | 4 | SUBTY | ||||
FIRSTNAME | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
LASTNAME | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
SECONDNAME | Second Name | PAD_NACH2 | CHAR | 40 | PAD_NACHN | ||||
ACADEMICTITLE | Title | TITEL | CHAR | 15 | T535N | TITEL | |||
SURNAMEPREFIX | Name Prefix | VORSW | CHAR | 15 | T535N | TITEL | |||
SECONDSURNAMEPREFIX | Name Prefix | VORSW | CHAR | 15 | T535N | TITEL | |||
ARISTOCRATICTITLE | Other Title | NAMZU | CHAR | 15 | T535N | TITEL | |||
FULLNAME | Complete Name | PAD_CNAME | CHAR | 80 | TEXT80 | ||||
MAIDENNAME | Name at Birth | PAD_NAME2 | CHAR | 40 | PAD_NACHN | ||||
INITIALS | Initials | INITS | CHAR | 10 | TEXT10 | ||||
GENDER | Gender Key | GESCH | CHAR | 1 | GESCH | ||||
DATEOFBIRTH | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
PLACEOFBIRTH | Birthplace | PAD_GBORT | CHAR | 40 | PAD_ORT01 | ||||
STATEOFBIRTH | State | GBDEP | CHAR | 3 | T005S | REGIO | |||
LANDOFBIRTH | Country of Birth | GBLND | CHAR | 3 | T005 | LAND1 | |||
NATIONALITY | Nationality | NATSL | CHAR | 3 | T005 | LAND1 | NAT | ||
NATIONALITY2 | Second Nationality | NATS2 | CHAR | 3 | T005 | LAND1 | |||
NATIONALITY3 | Third Nationality | NATS3 | CHAR | 3 | T005 | LAND1 | |||
SCHOOLTYPE | School Type of Family Member | FASAR | CHAR | 2 | T517T | SLART | |||
EDUCATIONALINSTITUTE | Educational Institute | FASIN | CHAR | 20 | TEXT20 | ||||
RELATIONSHIPTOCHILD | Relationship to Child | KDSVH | CHAR | 2 | T577 | AUSPR | |||
NAMEOFGENDER | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
NAMEOFSTATEOFBIRTH | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
NAMEOFLANDOFBIRTH | Country Name | LANDX | CHAR | 15 | TEXT15 | ||||
NAMEOFNATIONALITY | Nationality | NATIO | CHAR | 15 | TEXT15 | ||||
NAMEOFNATIONALITY2 | Nationality | NATIO | CHAR | 15 | TEXT15 | ||||
NAMEOFNATIONALITY3 | Nationality | NATIO | CHAR | 15 | TEXT15 | ||||
NAMEOFMEMBERTYPE | Name of Subtype | SBTTX | CHAR | 40 | TEXT40 | ||||
FIRSTNAMEHG | First name (Hangul) | PKR_FNMHG | CHAR | 40 | TEXT40 | ||||
LASTNAMEHG | Last name in Korean | PKR_LNMHG | CHAR | 40 | TEXT40 | ||||
REGISTNUMBER | Korean Registration Number | PKR_REGNO | CHAR | 13 | REGNO | PKR_REGNO | |||
JOBOFMEMBER | Job of family members | PKR_FAJOB | CHAR | 24 | TEXT24 | ||||
DEPENDENTORNOT | Indicator for dependent family member | PKR_DPTID | CHAR | 1 | CHAR1 | ||||
LIVETOGETHER | Indicator for living with family member | PKR_LIVID | CHAR | 1 | CHAR1 | ||||
HANDICAPPED | Indicator for the handicapped | PKR_HNDID | CHAR | 1 | CHAR1 | ||||
CHILDCARE | Indicator for exemption for child-care expense | PKR_CHDID | CHAR | 1 | CHAR1 | ||||
HEALTHINSUR | Indicator for health insurance | PKR_HELID | CHAR | 1 | CHAR1 | ||||
FAMALLOWANCE | Indicator for family allowance | PKR_FAMID | CHAR | 1 | CHAR1 | ||||
DEPENDANTTYPE | Dependant's type | PKR_DPTYP | CHAR | 1 | PKR_DPTYP | ||||
EDUCATIONTEXT | Education establishment text | SLTXT | CHAR | 20 | TEXT20 | ||||
SPECOFMEMBER | Aspect Name | ATEXT | CHAR | 40 | TEXT40 | ||||
ADCID | Indicator for Adopted Child | PKR_ADCID | CHAR | 1 | CHAR1 | ||||
ADPDT | Adoption or Foster Date | PKR_ADPDT | DATS | 8 | DATUM | ||||
BALID | Basic living dependent indicator | PKR_BALID | CHAR | 1 | CHAR1 | ||||
OAPID | Eligible for Additional Deduction for Aged Dependant | PKR_OAPID | CHAR | 1 | CHAR1 | ||||
FSTID | Indicator for Fostered Child | PKR_FSTID | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure P41_P0540 using ABAP code?
As P41_P0540 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 P41_P0540 as there is no data to select.How to access SAP table P41_P0540
Within an ECC or HANA version of SAP you can also view further information about P41_P0540 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects