I_VMSVehicle
Vehicle Details
I_VMSVehicle is a Basic CDS View that provides data about "Vehicle Details" in SAP S/4HANA. It reads from 1 data source (vlcvehicle) and exposes 46 fields with key field VMSVehicleUUID. It has 5 associations to related views. Part of development package ISAUTO_VLC_DB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vlcvehicle | vlcvehicle | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_VMSVehicle | _Extension | _Extension.VMSVehicleUUID = $projection.VMSVehicleUUID |
| [1..1] | I_Customer | _Customer | $projection.VMSVehicleCustomer = _Customer.Customer |
| [1..1] | I_Customer | _OrderingParty | $projection.VMSVehicleOrderingParty = _OrderingParty.Customer |
| [1..1] | I_Supplier | _Supplier | $projection.ReferenceVendor = _Supplier.Supplier |
| [1..1] | I_BusinessPartner | _Partner | $projection.VMSVehicleEndCustomer = _Partner.BusinessPartner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IVMSVEH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Vehicle Details | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | VMSVehicleUUID | vguid | Vehicle GUID | |
| Material | matnr | Vehicle Model | ||
| VMSDigitalVehicleHubModel | _Vehdvhmodel | dvh_model | ||
| VMSVehicleInternalID | vhcle | Int. Veh. No. | ||
| ReferenceVendor | lifnr | Vendor no. | ||
| VMSVehicleBatch | charg | Chargeable Proc. | ||
| Equipment | equnr | Equipment | ||
| VMSVehicleActionDocType | cuaba | Action Document Type | ||
| Plant | werks | Receiving Plant | ||
| StorageLocation | lgort | Sublocation | ||
| ValuationType | bwtar | Valuation Type | ||
| ConfigurationNumber | cuobj | Object Number | ||
| VMSVehiclePrimActionControl | mmctr | Action Control | ||
| VMSVehiclePrimaryStatus | mmsta | Primary Status | ||
| VMSVehiclePrimStatusDateTime | mmtsp | Time Stamp | ||
| VMSVehicleSecdryActionControl | sdctr | Action Control | ||
| VMSVehicleSecondaryStatus | sdsta | Secondary Status | ||
| VMSVehicleSecdryStatusDateTime | sdtsp | Time Stamp | ||
| VMSVehicleConfdDelivDateTime | cdtsp | Confirmed Date | ||
| VMSVehicleProductionDateTime | pdtsp | Time of production | ||
| VMSVehiclePlndDelivDateTime | pstsp | Plnd Delivery Time | ||
| VMSVehicleIsArchived | archive_flag | Archiving | ||
| VehicleIdentificationNumber | vhvin | VIN | ||
| VMSVehicleExternalID | vhcex | Ext.Veh.Number | ||
| VMSVehicleAvailabilityStatus | avail | Availability | ||
| VMSVehicleIsVisible | vblty | Visibility | ||
| VMSVehicleLocation | loctn | Vehicle Location | ||
| VMSVehicleCustomer | kunnr | Stock customer | ||
| VMSVehicleEndCustomer | endcu | End Customer | ||
| CreatedByUserName | ernam | User Name | ||
| VMSVehicleUsageStatus | vhusg | Vehicle Usage | ||
| VMSVehicleSalesCampaign | cmpgn | Sales Campaign | ||
| VMSVehicleMileageQuantity | pcount | Counter reading | ||
| VMSVehicleMileageUsageUnit | pcount_u | COunter unit | ||
| VMSVehicleRegistrationDate | immatdate | Initial Registn.Date | ||
| DigitalVehicleReferenceID | digitalvehiclereferenceid | Digital.Veh.Ref | ||
| VMSVehicleSearchArea | vhsar | Veh.Search Area | ||
| VMSVehicleOrderingParty | vhord | Orig. Ord. Pty | ||
| VMSVehGrossPrcAmtInVehPrcCrcy | gprice | Gross List Price | ||
| VMSVehiclePriceCrcy | gpricecuky | Currency | ||
| VMSVehicleSharingLevel | shlvl | Sharing Levels | ||
| VMSVehicleIsUsed | used_vehicle | Used Vehicle | ||
| _Customer | _Customer | |||
| _OrderingParty | _OrderingParty | |||
| _Supplier | _Supplier | |||
| _Partner | _Partner |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_VMSVehicle.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IVMSVEH
CREATE VIEW I_VMSVehicle AS
SELECT
vguid AS VMSVehicleUUID,
matnr AS Material,
_Vehdvhmodel.dvh_model AS VMSDigitalVehicleHubModel,
vhcle AS VMSVehicleInternalID,
lifnr AS ReferenceVendor,
charg AS VMSVehicleBatch,
equnr AS Equipment,
cuaba AS VMSVehicleActionDocType,
werks AS Plant,
lgort AS StorageLocation,
bwtar AS ValuationType,
cuobj AS ConfigurationNumber,
mmctr AS VMSVehiclePrimActionControl,
mmsta AS VMSVehiclePrimaryStatus,
mmtsp AS VMSVehiclePrimStatusDateTime,
sdctr AS VMSVehicleSecdryActionControl,
sdsta AS VMSVehicleSecondaryStatus,
sdtsp AS VMSVehicleSecdryStatusDateTime,
cdtsp AS VMSVehicleConfdDelivDateTime,
pdtsp AS VMSVehicleProductionDateTime,
pstsp AS VMSVehiclePlndDelivDateTime,
archive_flag AS VMSVehicleIsArchived,
vhvin AS VehicleIdentificationNumber,
vhcex AS VMSVehicleExternalID,
avail AS VMSVehicleAvailabilityStatus,
vblty AS VMSVehicleIsVisible,
loctn AS VMSVehicleLocation,
kunnr AS VMSVehicleCustomer,
endcu AS VMSVehicleEndCustomer,
ernam AS CreatedByUserName,
vhusg AS VMSVehicleUsageStatus,
cmpgn AS VMSVehicleSalesCampaign,
pcount AS VMSVehicleMileageQuantity,
pcount_u AS VMSVehicleMileageUsageUnit,
immatdate AS VMSVehicleRegistrationDate,
DigitalVehicleReferenceID,
vhsar AS VMSVehicleSearchArea,
vhord AS VMSVehicleOrderingParty,
gprice AS VMSVehGrossPrcAmtInVehPrcCrcy,
gpricecuky AS VMSVehiclePriceCrcy,
shlvl AS VMSVehicleSharingLevel,
used_vehicle AS VMSVehicleIsUsed
FROM vlcvehicle
LEFT OUTER JOIN E_VMSVehicle AS _Extension ON _Extension.VMSVehicleUUID = VMSVehicleUUID -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON VMSVehicleCustomer = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN I_Customer AS _OrderingParty ON VMSVehicleOrderingParty = _OrderingParty.Customer -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON ReferenceVendor = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _Partner ON VMSVehicleEndCustomer = _Partner.BusinessPartner -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA