PB0006 SAP (HR Master Record: Infotype 0006 (Addresses)) Table details
Dictionary Type: Table
Description: HR Master Record: Infotype 0006 (Addresses)
Description: HR Master Record: Infotype 0006 (Addresses)
Table field list including key, data, relationships and ABAP select examples
PB0006 is a standard SAP Table which is used to store HR Master Record: Infotype 0006 (Addresses) data and is available within R/3 SAP systems depending on the version and release level.
The PB0006 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0006 (Addresses) data available in SAP. These include PERNR (Applicant number), SUBTY (Subtype), OBJPS (Object Identification), SPRPS (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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PB0006 table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PERNR | Applicant number | APLNO | NUMC | 8 | PB4004 | APLNO | APL | ||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXEX | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
ITBLD | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
PREAS | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESE1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESE2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
GRPVL | Grouping Value for Personnel Assignments | PCCE_GPVAL | CHAR | 4 | PCCE_GPVAL | ||||
ANSSA | Address Record Type | ANSSA | CHAR | 4 | Assigned to domain | SUBTY_591A | |||
NAME2 | Contact Name | PAD_CONAM | CHAR | 40 | PAD_NACHN | ||||
STRAS | Street and House Number | PAD_STRAS | CHAR | 60 | PAD_STRAS | ||||
ORT01 | City | PAD_ORT01 | CHAR | 40 | PAD_ORT01 | ||||
ORT02 | District | PAD_ORT02 | CHAR | 40 | PAD_ORT01 | ||||
PSTLZ | Postal Code | PSTLZ_HR | CHAR | 10 | PSTLZ | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
TELNR | Telephone Number | TELNR | CHAR | 14 | TELNR | ||||
ENTKM | Distance in Kilometers | ENTKM | DEC | 3 | DEC3 | ||||
WKWNG | Company Housing | WKWNG | CHAR | 1 | CHAR1 | ||||
BUSRT | Bus Route | BUSRT | CHAR | 3 | CHAR3 | ||||
LOCAT | 2nd Address Line | PAD_LOCAT | CHAR | 40 | PAD_LOCAT | ||||
ADR03 | Street 2 | AD_STRSPP1 | CHAR | 40 | TEXT40 | ||||
ADR04 | Street 3 | AD_STRSPP2 | CHAR | 40 | TEXT40 | ||||
STATE | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
HSNMR | House Number | PAD_HSNMR | CHAR | 10 | PAD_HSNMR | ||||
POSTA | Identification of an apartment in a building | PAD_POSTA | CHAR | 10 | PAD_HSNMR | ||||
BLDNG | Building (number or code) | AD_BLD_10 | CHAR | 10 | TEXT10 | ||||
FLOOR | Floor in building | AD_FLOOR | CHAR | 10 | TEXT10 | ||||
STRDS | Street Abbreviation | STRDS | CHAR | 2 | T5EVP | STRDS | |||
ENTK2 | Distance in Kilometers | ENTKM | DEC | 3 | DEC3 | ||||
COM01 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM01 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COM02 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM02 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COM03 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM03 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COM04 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM04 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COM05 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM05 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
COM06 | Communication Type | COMKY | CHAR | 4 | T536B | COMKY | |||
NUM06 | Communication Number | COMNR | CHAR | 20 | CHAR20 | ||||
INDRL | Indicator for relationship (specification code) | P22J_INDRL | CHAR | 2 | T577 | AUSPR | |||
COUNC | County Code | COUNC | CHAR | 3 | T005E | COUNC | |||
RCTVC | Municipal city code | P22J_RCTVC | CHAR | 6 | Assigned to domain | P22J_RCTVC | |||
OR2KK | Second address line (Katakana) | P22J_ORKK2 | CHAR | 40 | TEXT40 | ||||
CONKK | Contact Person (Katakana) (Japan) | P22J_PCNKK | CHAR | 40 | P22J_PNAME | ||||
OR1KK | First address line (Katakana) | P22J_ORKK1 | CHAR | 40 | TEXT40 | ||||
RAILW | Social Subscription Railway | RAILW | NUMC | 1 | RAILW |
Key field | Non-key field |
How do I retrieve data from SAP table PB0006 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PB0006 to SELECT all data from the tableDATA: WA_PB0006 TYPE PB0006.
SELECT SINGLE *
FROM PB0006
INTO CORRESPONDING FIELDS OF WA_PB0006
WHERE...
How to access SAP table PB0006
Within an ECC or HANA version of SAP you can also view further information about PB0006 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