PA0222 SAP (HR Master Record for Infotype 0222 (Company Cars GB)) Table details

Dictionary Type: Table
Description: HR Master Record for Infotype 0222 (Company Cars GB)




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




Table field list including key, data, relationships and ABAP select examples

PA0222 is a standard SAP Table which is used to store HR Master Record for Infotype 0222 (Company Cars GB) data and is available within R/3 SAP systems depending on the version and release level.

The PA0222 table consists of various fields, each holding specific information or linking keys about HR Master Record for Infotype 0222 (Company Cars GB) data available in SAP. These include PERNR (Personnel 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 PA0222 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
PERNRPersonnel number PERSNONUMC8PA0003PERSNOPER
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
CRNUMHR GB: Internal car number P08_CRNUMCHAR4SUBTY
REGNOLicense Plate Number KFZKZCHAR10CHAR10
ASTNOCar Asset Number ANLNRCHAR20ANLNR
CARTYType of company car P08_CARTYCHAR1P08_CARTY
CRUSEUse of company car P08_CRUSECHAR1P08_CRUSE
CRNCYCurrency Key WAERSCUKY5TCURCWAERSFWS
LISTPCar list price P08_LISTPCURR9(2) WERT05
ACCSSCost of accessories for company car P08_ACCSSCURR9(2) WERT05
CAPCNCapital contribution to company car P08_CAPCNCURR9(2) WERT05
BUSMLExpected business mileage P08_EBUSMDEC7DEC7
MBANDBusiness mileage bands for company cars P08_MBANDNUMC2NUM2
RGNDAFirst registration date P08_RGNDADATS8DATUM
PAYPUPayments for private use P08_PAYPUCHAR1XFELD
FUEPUFuel for private use P08_FUEPUCHAR1XFELD
ECAPCEngine capacity P08_ECAPCNUMC8NUM8
EGTYPEngine type for company car P08_EGTYPCHAR1P08_EGTYP
ACSS2Cost of accessories for company car P08_ACCSSCURR9(2) WERT05
CMAKEMake of car P08_CMAKECHAR20TEXT20
CMODLModel of car P08_CMODLCHAR20TEXT20
FACTOCar manufacturer P_FACTOCHAR2T51C1P_FACTO
MODELCar Model P_MODELCHAR6T51C3P_MODEL
TTYPECar transmission types (for UK only) P_TTYPECHAR1T5GC3P_TTYPE
DPLANCar Door plan (for UK only) P_DPLANCHAR4T5GC3P_DPLAN
CO2EMCar C02 Emissions P_CO2EMNUMC3NUMC03
RECO2C02 reduction value P_RECO2NUMC3NUM03
SCHEMCar scheme P08_SCHEMCHAR4SUBTY
LUMPSAnnual car allowance for essential users P08_LUMPSCURR9(2) WERT05
PRVMLPrivate mileage P08_PRVMLDEC7DEC7

Key field Non-key field



How do I retrieve data from SAP table PA0222 using ABAP code

The following ABAP code Example will allow you to do a basic selection on PA0222 to SELECT all data from the table
DATA: WA_PA0222 TYPE PA0222.

SELECT SINGLE *
FROM PA0222
INTO CORRESPONDING FIELDS OF WA_PA0222
WHERE...

How to access SAP table PA0222

Within an ECC or HANA version of SAP you can also view further information about PA0222 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!