BAPIHR0006 SAP (HR: HR Master Record Infotype 0006 (Addresses)) Structure details
Description: HR: HR Master Record Infotype 0006 (Addresses)
Structure field list including key, data, relationships and ABAP select examples
BAPIHR0006 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: HR Master Record Infotype 0006 (Addresses)" 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_BAPIHR0006 TYPE BAPIHR0006.
The BAPIHR0006 table consists of various fields, each holding specific information or linking keys about HR: HR Master Record Infotype 0006 (Addresses) data available in SAP. These include OBJ_ID (Personnel Number), INFOTYPE (Infotype), SUBTYPE (Subtype), OBJECT_IDENTIFICATION (Object Identification).. 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 BAPIHR0006 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 |
OBJ_ID | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
INFOTYPE | Infotype | INFTY | CHAR | 4 | T582A | INFOTYP | ITP | ||
SUBTYPE | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJECT_IDENTIFICATION | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
LOCKINDIC | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
TO_DATE | End Date | ENDDA | DATS | 8 | DATUM | ||||
FROM_DATE | Start Date | BEGDA | DATS | 8 | DATUM | ||||
IT_REC_NO | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
CHANGED_ON | Changed On | AEDAT | DATS | 8 | DATUM | ||||
CHANGED_BY | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HIST_FLAG | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
INFOTYPE_TEXT_EXISTS | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFERENCE_FILEDS_EXIST | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
CONFIRMATION_FIELDS_EXIST | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
INFOTYPE_SCREEN_CONTROL | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
REASON_TO_CHANGE_MASTER_DATA | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG_1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG_2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG_3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG_4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESERVED_FIELD_1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESERVED_FIELD_2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
ADDRESS_RECORD_TYPE | Address Record Type | ANSSA | CHAR | 4 | Assigned to domain | SUBTY_591A | |||
C_O | Contact Name | PAD_CONAM | CHAR | 40 | PAD_NACHN | ||||
STREET | Street and House Number | PAD_STRAS | CHAR | 60 | PAD_STRAS | ||||
CITY | City | PAD_ORT01 | CHAR | 40 | PAD_ORT01 | ||||
DISTRICT | District | PAD_ORT02 | CHAR | 40 | PAD_ORT01 | ||||
POSTAL_CD | Postal Code | PSTLZ_HR | CHAR | 10 | PSTLZ | ||||
COUNTRY | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
COUNTRY_ISO | Country ISO code | INTCA | CHAR | 2 | INTCA | F4_INTCA | |||
TEL_NO | Telephone Number | TELNR | CHAR | 14 | TELNR | ||||
DISTANCE | Distance in Kilometers | ENTKM | DEC | 3 | DEC3 | ||||
COMPANY_APARTMENT | Company Housing | WKWNG | CHAR | 1 | CHAR1 | ||||
BUS_ROUTE | Bus Route | BUSRT | CHAR | 3 | CHAR3 | ||||
2ND_ADDRESS_LINE | 2nd Address Line | PAD_LOCAT | CHAR | 40 | PAD_LOCAT | ||||
STREET_2 | Street 2 | AD_STRSPP1 | CHAR | 40 | TEXT40 | ||||
STREET_3 | Street 3 | AD_STRSPP2 | CHAR | 40 | TEXT40 | ||||
REGION | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
HOUSE_NO | House Number | PAD_HSNMR | CHAR | 10 | PAD_HSNMR | ||||
APARTMENT_ID | Identification of an apartment in a building | PAD_POSTA | CHAR | 10 | PAD_HSNMR | ||||
BUILDING | Building (number or code) | AD_BLD_10 | CHAR | 10 | TEXT10 | ||||
FLOOR | Floor in building | AD_FLOOR | CHAR | 10 | TEXT10 | ||||
STREET_ABBREVIATION | Street Abbreviation | STRDS | CHAR | 2 | T5EVP | STRDS | |||
DISTANCE_2 | Distance in Kilometers | ENTKM | DEC | 3 | DEC3 | ||||
COMMUNICATION_TYPE_1 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_1 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMUNICATION_TYPE_2 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_2 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMUNICATION_TYPE_3 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_3 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMUNICATION_TYPE_4 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_4 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMUNICATION_TYPE_5 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_5 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COMMUNICATION_TYPE_6 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
COMMUNICATION_NO_6 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
RELATIONSHIP_INDICATOR | Indicator for relationship (specification code) | P22J_INDRL | CHAR | 2 | T577 | AUSPR | |||
COUNTY_CDE | County Code | COUNC | CHAR | 3 | T005E | COUNC | |||
MUNICIPAL_CITY_CODE | Municipal city code | P22J_RCTVC | CHAR | 6 | Assigned to domain | P22J_RCTVC | |||
CITY_DISTRICT_KATAKANA | Second address line (Katakana) | P22J_ORKK2 | CHAR | 40 | TEXT40 | ||||
CONTACT_PERSON_KATAKANA | Contact Person (Katakana) (Japan) | P22J_PCNKK | CHAR | 40 | P22J_PNAME | ||||
CITY_KATAKANA | First address line (Katakana) | P22J_ORKK1 | CHAR | 40 | TEXT40 | ||||
SOCIAL_SUBSCRIPTION_RAILROAD | Social Subscription Railway | RAILW | NUMC | 1 | RAILW |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIHR0006 using ABAP code?
As BAPIHR0006 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 BAPIHR0006 as there is no data to select.How to access SAP table BAPIHR0006
Within an ECC or HANA version of SAP you can also view further information about BAPIHR0006 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