BAPIP0021LMY SAP (HR Master Record: Infotype 0021 (Family/Rel.Person)) Structure details
Description: HR Master Record: Infotype 0021 (Family/Rel.Person)
Structure field list including key, data, relationships and ABAP select examples
BAPIP0021LMY 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)" 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_BAPIP0021LMY TYPE BAPIP0021LMY.
The BAPIP0021LMY table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0021 (Family/Rel.Person) 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 BAPIP0021LMY 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 | ||||
MEMBERID | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
RELATIONSHIP | Relationship to Child | KDSVH | CHAR | 2 | Assigned to domain | AUSPR | |||
FIRSTNAME | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
LASTNAME | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
SURNAMEPREFIX | Name Prefix | VORSW | 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 | ||||
LANDOFBIRTH | Country of Birth | GBLND | CHAR | 3 | T005 | LAND1 | |||
NATIONALITY | Nationality | NATSL | CHAR | 3 | T005 | LAND1 | NAT | ||
NAMEOFMEMBERTYPE | Name of Subtype | SBTTX | CHAR | 40 | TEXT40 | ||||
NAMEOFGENDER | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
NAMEOFLANDOFBIRTH | Country Name | LANDX | CHAR | 15 | TEXT15 | ||||
NAMEOFNATIONALITY | Nationality | NATIO | CHAR | 15 | TEXT15 | ||||
NAMEOFSCHOOLTYPE | Text (20 Characters) | TEXT20 | CHAR | 20 | TEXT20 | ||||
RELATIONTEXT | Text (20 Characters) | TEXT20 | CHAR | 20 | TEXT20 | ||||
PERSONALID | IC number | ICNUM | CHAR | 20 | ICNUM | ||||
PASSPORTNUMBER | Passport number | P14_PASNR | CHAR | 20 | CHAR20 | ||||
TAXNUMBER | Income tax number of employee (MY) | P14_TNOEE | CHAR | 20 | CHAR20 | ||||
TAXOFFICE | Spouse tax office Malaysia | P14_STXOF | CHAR | 4 | CHAR4 | ||||
REFERENCENUMBER | Reference Personnel Number for Family Member | ERBNR | CHAR | 12 | CHAR12 | ||||
EMPLOYMENTSTATUS | Spouse employment status | P14_SEMPS | CHAR | 1 | XFELD | ||||
JOBTITLE | Job Title | STLTX | CHAR | 25 | TEXT25 | ||||
EMPLOYERNAME | Spouse employer | P14_SPEMR | CHAR | 40 | CHAR40 | ||||
NAMEFORMAT | Name Format Indicator for Employee in a List | KNZNM | NUMC | 2 | KNZN2 | ||||
SCHOOLTYPE | School Type of Family Member | FASAR | CHAR | 2 | Assigned to domain | SLART | |||
BIRTHCERTIFICATEID | Birth certificate ID | P14_BTHID | CHAR | 20 | CHAR20 | ||||
HANDICAPPED | Child handicap status | P14_HANCH | CHAR | 1 | XFELD | ||||
CHILDCUSTODY | Child custody status | P14_CHCUS | CHAR | 1 | XFELD | ||||
MARITALSTATUS | Marital status for income tax purpose (MY) | P14_MARST | CHAR | 1 | XFELD | ||||
STREET | House number and street | STRAS | CHAR | 30 | TEXT30 | ||||
SECONDADDRESS | 2nd Address Line | LOCAT | CHAR | 30 | TEXT30 | ||||
THIRDADDRESS | District | ORT02 | CHAR | 25 | TEXT25 | ||||
POSTALCODE | Postal Code | PSTLZ_HR | CHAR | 10 | PSTLZ | ||||
CITY | City | ORT01 | CHAR | 25 | TEXT25 | ||||
REGION | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
COUNTRY | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
CONAME | C/O Name | CONAM | CHAR | 25 | NACHN | ||||
TELEPHONENUMBER | Telephone Number | TELNR | CHAR | 14 | TELNR | ||||
COMMTYPE1 | Communication Type | COMKY | CHAR | 4 | Assigned to domain | COMKY | |||
COMMNUMBER1 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMTYPE2 | Communication Type | COMKY | CHAR | 4 | Assigned to domain | COMKY | |||
COMMNUMBER2 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMTYPE3 | Communication Type | COMKY | CHAR | 4 | Assigned to domain | COMKY | |||
COMMNUMBER3 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMTYPE4 | Communication Type | COMKY | CHAR | 4 | Assigned to domain | COMKY | |||
COMMNUMBER4 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
NAMEOFREGION | Description | BEZEI20 | CHAR | 20 | TEXT20 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIP0021LMY using ABAP code?
As BAPIP0021LMY 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 BAPIP0021LMY as there is no data to select.How to access SAP table BAPIP0021LMY
Within an ECC or HANA version of SAP you can also view further information about BAPIP0021LMY 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