BAPIP0021ID SAP (HR Master Record: Infotype 0021 (Family/Rel.Person) ID) Structure details
Description: HR Master Record: Infotype 0021 (Family/Rel.Person) ID
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 |
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 | ||||
NAMEOFSUBTYPE | Name of Subtype | SBTTX | CHAR | 40 | TEXT40 | ||||
COMPLETENAME | Complete Name | PAD_CNAME | CHAR | 80 | TEXT80 | ||||
TITLE | Title | TITEL | CHAR | 15 | Assigned to domain | TITEL | |||
OTHERTITLE | Other Title | NAMZU | CHAR | 15 | Assigned to domain | TITEL | |||
NAMEFORMAT | Name Format Indicator for Employee in a List | KNZNM | NUMC | 2 | KNZN2 | ||||
GENDERKEY | Gender Key | GESCH | CHAR | 1 | GESCH | ||||
NAMEOFGENDER | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
BIRTHPLACE | Birthplace | PAD_GBORT | CHAR | 40 | PAD_ORT01 | ||||
BIRTHDATE | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
NATIONALITY | Nationality | NATSL | CHAR | 3 | Assigned to domain | LAND1 | NAT | ||
NAMEOFNATIO | Nationality | NATIO | CHAR | 15 | TEXT15 | ||||
COUNTRYOFBIRTH | Country of Birth | GBLND | CHAR | 3 | Assigned to domain | LAND1 | |||
NAMEOFCOUNTRY | Country Name | LANDX | CHAR | 15 | TEXT15 | ||||
IDENTITYTYPE | Identity Type | PID_IDTYP | CHAR | 3 | CHAR3 | ||||
NAMEOFIDTYPE | Description | PID_DESCR | CHAR | 38 | TEXT38 | ||||
MARRIAGECERT | Marriage certificate | PID_MARCT | CHAR | 25 | CHAR25 | ||||
JOBTITLE | Job Title | STLTX | CHAR | 25 | TEXT25 | ||||
EMPLOYERNAME | Employer of family member (Indonesia) | PID_SPEMS | CHAR | 40 | TEXT40 | ||||
TAXDEPENDENT | Dependent for Tax purposes (Yes/No) (Indonesia) | PID_DEPTX | CHAR | 1 | XFELD | ||||
IDNUMBER | Identity Card Number | PID_IDNUM | CHAR | 30 | CHAR30 | ||||
IDTYPE | Type of Identity Card (Indonesia) | PID_IDCTY | CHAR | 5 | CHAR5 | ||||
IDISSUEDATE | Date of Issue of Identity Card (Indonesia) | PID_IDDAT | DATS | 8 | DATUM | ||||
IDISSUEPLACE | Place of Issue of Identity Card | PID_IDPLA | CHAR | 30 | TEXT30 | ||||
IDEXPIRYDATE | Expiry Date of Identity Card (Indonesia) | PID_IDEXP | DATS | 8 | DATUM | ||||
PHONENUMBER | Telephone Number | TELNR | CHAR | 14 | TELNR | ||||
STREET | House number and street | STRAS | CHAR | 30 | TEXT30 | ||||
2NDSTREET | 2nd Address Line | LOCAT | CHAR | 30 | TEXT30 | ||||
CITY | City | ORT01 | CHAR | 25 | TEXT25 | ||||
POSTALCODE | Postal Code | PSTLZ_HR | CHAR | 10 | PSTLZ | ||||
DISTRICT | District | ORT02 | CHAR | 25 | TEXT25 | ||||
ADDRCOUNTRYKEY | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
ADDRCOUNTRYNAME | Country Name | LANDX | CHAR | 15 | TEXT15 | ||||
PASSPORTNUMBER | Passport Number | PID_PASNR | CHAR | 30 | CHAR30 | ||||
PASSPORTTYPE | Passport Type | PID_PASTY | CHAR | 20 | CHAR20 | ||||
PASSISSUEDATE | Date of issue of Passport (Indonesia) | PID_ISSUE | DATS | 8 | DATUM | ||||
PASSEXPIRYDATE | Date of expiry of Passport (Indonesia) | PID_EXPIR | DATS | 8 | DATUM | ||||
PASSISSUEPLACE | Place of Issue of Passport | PID_PLACE | CHAR | 25 | TEXT25 | ||||
PASSCOUNTRYKEY | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
PASSCOUNTRYNAME | Country Name | LANDX | CHAR | 15 | TEXT15 |
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 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