PB0006 SAP (HR Master Record: Infotype 0006 (Addresses)) Table details

Dictionary Type: Table
Description: HR Master Record: Infotype 0006 (Addresses)




ABAP Code to SELECT data from PB0006
Related tables to PB0006
Access table PB0006




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
MANDTClient MANDTCLNT3T000MANDT
PERNRApplicant number APLNONUMC8PB4004APLNOAPL
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
ANSSAAddress Record Type ANSSACHAR4Assigned to domainSUBTY_591A
NAME2Contact Name PAD_CONAMCHAR40PAD_NACHN
STRASStreet and House Number PAD_STRASCHAR60PAD_STRAS
ORT01City PAD_ORT01CHAR40PAD_ORT01
ORT02District PAD_ORT02CHAR40PAD_ORT01
PSTLZPostal Code PSTLZ_HRCHAR10PSTLZ
LAND1Country Key LAND1CHAR3T005LAND1LND
TELNRTelephone Number TELNRCHAR14TELNR
ENTKMDistance in Kilometers ENTKMDEC3DEC3
WKWNGCompany Housing WKWNGCHAR1CHAR1
BUSRTBus Route BUSRTCHAR3CHAR3
LOCAT2nd Address Line PAD_LOCATCHAR40PAD_LOCAT
ADR03Street 2 AD_STRSPP1CHAR40TEXT40
ADR04Street 3 AD_STRSPP2CHAR40TEXT40
STATESTATE (State, Province, County) REGIOCHAR3T005SREGIO
HSNMRHouse Number PAD_HSNMRCHAR10PAD_HSNMR
POSTAIdentification of an apartment in a building PAD_POSTACHAR10PAD_HSNMR
BLDNGBuilding (number or code) AD_BLD_10CHAR10TEXT10
FLOORFloor in building AD_FLOORCHAR10TEXT10
STRDSStreet Abbreviation STRDSCHAR2T5EVPSTRDS
ENTK2Distance in Kilometers ENTKMDEC3DEC3
COM01Communication Type COMKYCHAR4T536BCOMKY
NUM01Communication Number COMNRCHAR20CHAR20
COM02Communication Type COMKYCHAR4T536BCOMKY
NUM02Communication Number COMNRCHAR20CHAR20
COM03Communication Type COMKYCHAR4T536BCOMKY
NUM03Communication Number COMNRCHAR20CHAR20
COM04Communication Type COMKYCHAR4T536BCOMKY
NUM04Communication Number COMNRCHAR20CHAR20
COM05Communication Type COMKYCHAR4T536BCOMKY
NUM05Communication Number COMNRCHAR20CHAR20
COM06Communication Type COMKYCHAR4T536BCOMKY
NUM06Communication Number COMNRCHAR20CHAR20
INDRLIndicator for relationship (specification code) P22J_INDRLCHAR2T577AUSPR
COUNCCounty Code COUNCCHAR3T005ECOUNC
RCTVCMunicipal city code P22J_RCTVCCHAR6Assigned to domainP22J_RCTVC
OR2KKSecond address line (Katakana) P22J_ORKK2CHAR40TEXT40
CONKKContact Person (Katakana) (Japan) P22J_PCNKKCHAR40P22J_PNAME
OR1KKFirst address line (Katakana) P22J_ORKK1CHAR40TEXT40
RAILWSocial Subscription Railway RAILWNUMC1RAILW

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!