PS0222 SAP (HR Master Record for Infotype 0222 (Company Cars GB)) Structure details
Description: HR Master Record for Infotype 0222 (Company Cars GB)
Structure field list including key, data, relationships and ABAP select examples
PS0222 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 for Infotype 0222 (Company Cars GB)" 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_PS0222 TYPE PS0222.
The PS0222 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 REGNO (License Plate Number), ASTNO (Car Asset Number), CARTY (Type of company car), CRUSE (Use of company car).. 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: Can be enhanced (character-type or numeric)
SAP PS0222 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 |
CRNUM | HR GB: Internal car number | P08_CRNUM | CHAR | 4 | SUBTY | ||||
REGNO | License Plate Number | KFZKZ | CHAR | 10 | CHAR10 | ||||
ASTNO | Car Asset Number | ANLNR | CHAR | 20 | ANLNR | ||||
CARTY | Type of company car | P08_CARTY | CHAR | 1 | P08_CARTY | ||||
CRUSE | Use of company car | P08_CRUSE | CHAR | 1 | P08_CRUSE | ||||
CRNCY | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
LISTP | Car list price | P08_LISTP | CURR | 9(2) | WERT05 | ||||
ACCSS | Cost of accessories for company car | P08_ACCSS | CURR | 9(2) | WERT05 | ||||
CAPCN | Capital contribution to company car | P08_CAPCN | CURR | 9(2) | WERT05 | ||||
BUSML | Expected business mileage | P08_EBUSM | DEC | 7 | DEC7 | ||||
MBAND | Business mileage bands for company cars | P08_MBAND | NUMC | 2 | NUM2 | ||||
RGNDA | First registration date | P08_RGNDA | DATS | 8 | DATUM | ||||
PAYPU | Payments for private use | P08_PAYPU | CHAR | 1 | XFELD | ||||
FUEPU | Fuel for private use | P08_FUEPU | CHAR | 1 | XFELD | ||||
ECAPC | Engine capacity | P08_ECAPC | NUMC | 8 | NUM8 | ||||
EGTYP | Engine type for company car | P08_EGTYP | CHAR | 1 | P08_EGTYP | ||||
ACSS2 | Cost of accessories for company car | P08_ACCSS | CURR | 9(2) | WERT05 | ||||
CMAKE | Make of car | P08_CMAKE | CHAR | 20 | TEXT20 | ||||
CMODL | Model of car | P08_CMODL | CHAR | 20 | TEXT20 | ||||
FACTO | Car manufacturer | P_FACTO | CHAR | 2 | T51C1 | P_FACTO | |||
MODEL | Car Model | P_MODEL | CHAR | 6 | T51C3 | P_MODEL | |||
TTYPE | Car transmission types (for UK only) | P_TTYPE | CHAR | 1 | T5GC3 | P_TTYPE | |||
DPLAN | Car Door plan (for UK only) | P_DPLAN | CHAR | 4 | T5GC3 | P_DPLAN | |||
CO2EM | Car C02 Emissions | P_CO2EM | NUMC | 3 | NUMC03 | ||||
RECO2 | C02 reduction value | P_RECO2 | NUMC | 3 | NUM03 | ||||
SCHEM | Car scheme | P08_SCHEM | CHAR | 4 | SUBTY | ||||
LUMPS | Annual car allowance for essential users | P08_LUMPS | CURR | 9(2) | WERT05 | ||||
PRVML | Private mileage | P08_PRVML | DEC | 7 | DEC7 |
Key field | Non-key field |
How do I retrieve data from SAP structure PS0222 using ABAP code?
As PS0222 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 PS0222 as there is no data to select.How to access SAP table PS0222
Within an ECC or HANA version of SAP you can also view further information about PS0222 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