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.
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 | ||
| Material | matnr | |||
| VMSDigitalVehicleHubModel | _Vehdvhmodel | dvh_model | ||
| VMSVehicleInternalID | vhcle | |||
| ReferenceVendor | lifnr | |||
| VMSVehicleBatch | charg | |||
| Equipment | equnr | |||
| VMSVehicleActionDocType | cuaba | |||
| Plant | werks | |||
| StorageLocation | lgort | |||
| ValuationType | bwtar | |||
| ConfigurationNumber | cuobj | |||
| VMSVehiclePrimActionControl | mmctr | |||
| VMSVehiclePrimaryStatus | mmsta | |||
| VMSVehiclePrimStatusDateTime | mmtsp | |||
| VMSVehicleSecdryActionControl | sdctr | |||
| VMSVehicleSecondaryStatus | sdsta | |||
| VMSVehicleSecdryStatusDateTime | sdtsp | |||
| VMSVehicleConfdDelivDateTime | cdtsp | |||
| VMSVehicleProductionDateTime | pdtsp | |||
| VMSVehiclePlndDelivDateTime | pstsp | |||
| VMSVehicleIsArchived | archive_flag | |||
| VehicleIdentificationNumber | vhvin | |||
| VMSVehicleExternalID | vhcex | |||
| VMSVehicleAvailabilityStatus | avail | |||
| VMSVehicleIsVisible | vblty | |||
| VMSVehicleLocation | loctn | |||
| VMSVehicleCustomer | kunnr | |||
| VMSVehicleEndCustomer | endcu | |||
| CreatedByUserName | ernam | |||
| VMSVehicleUsageStatus | vhusg | |||
| VMSVehicleSalesCampaign | cmpgn | |||
| VMSVehicleMileageQuantity | pcount | |||
| VMSVehicleMileageUsageUnit | pcount_u | |||
| VMSVehicleRegistrationDate | immatdate | |||
| DigitalVehicleReferenceID | digitalvehiclereferenceid | |||
| VMSVehicleSearchArea | vhsar | |||
| VMSVehicleOrderingParty | vhord | |||
| VMSVehGrossPrcAmtInVehPrcCrcy | gprice | |||
| VMSVehiclePriceCrcy | gpricecuky | |||
| VMSVehicleSharingLevel | shlvl | |||
| VMSVehicleIsUsed | used_vehicle | |||
| _Customer | _Customer | |||
| _OrderingParty | _OrderingParty | |||
| _Supplier | _Supplier | |||
| _Partner | _Partner |
@AbapCatalog.sqlViewName: 'IVMSVEH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Vehicle Details'
@ObjectModel.usageType.serviceQuality : #C
@ObjectModel.usageType.sizeCategory : #XXL
@ObjectModel.usageType.dataClass : #TRANSACTIONAL
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
define view I_VMSVehicle
as select from vlcvehicle
association to vlc_vehdvhmodel as _Vehdvhmodel on vlcvehicle.matnr = _Vehdvhmodel.vehicle_model
association [1..1] to E_VMSVehicle as _Extension on _Extension.VMSVehicleUUID = $projection.VMSVehicleUUID
association [1..1] to I_Customer as _Customer on $projection.VMSVehicleCustomer = _Customer.Customer
association [1..1] to I_Customer as _OrderingParty on $projection.VMSVehicleOrderingParty = _OrderingParty.Customer
association [1..1] to I_Supplier as _Supplier on $projection.ReferenceVendor = _Supplier.Supplier
association [1..1] to I_BusinessPartner as _Partner on $projection.VMSVehicleEndCustomer = _Partner.BusinessPartner
{
key 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 as DigitalVehicleReferenceID,
vhsar as VMSVehicleSearchArea,
vhord as VMSVehicleOrderingParty,
@Semantics.amount.currencyCode : 'VMSVehiclePriceCrcy'
gprice as VMSVehGrossPrcAmtInVehPrcCrcy,
@Semantics.currencyCode: true
gpricecuky as VMSVehiclePriceCrcy,
shlvl as VMSVehicleSharingLevel,
used_vehicle as VMSVehicleIsUsed,
_Customer,
_OrderingParty,
_Supplier,
_Partner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"VLCVEHICLE",
"VLC_VEHDVHMODEL"
],
"ASSOCIATED":
[
"E_VMSVEHICLE",
"I_BUSINESSPARTNER",
"I_CUSTOMER",
"I_SUPPLIER",
"VLC_VEHDVHMODEL"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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