A_VMSVehicleInvoice
Vehicle Outgoing Invoice
A_VMSVehicleInvoice is a Composite CDS View that provides data about "Vehicle Outgoing Invoice" in SAP S/4HANA. It reads from 2 data sources (I_SAPClient, I_VMSVehicleInvoice) and exposes 24 fields with key fields VMSVehicleUUID, VMSVehicleActionDateTime. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | _SAPClient | inner |
| I_VMSVehicleInvoice | I_VMSVehicleInvoice | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_VMSVehicleInvoice | _Extension | $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AVMSINVOICE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Vehicle Outgoing Invoice | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | VMSVehicleUUID | VMSVehicleUUID | ||
| KEY | VMSVehicleActionDateTime | VMSVehicleActionDateTime | ||
| VMSVehicleActionDocType | VMSVehicleActionDocType | |||
| BillingDocument | BillingDocument | |||
| VMSVehicleActnDocTypeIsRvsd | VMSVehicleActnDocTypeIsRvsd | |||
| CreatedByUser | CreatedByUser | |||
| SalesOrganization | SalesOrganization | |||
| CompanyCode | CompanyCode | |||
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | ||
| BillingDocumentDate | BillingDocumentDate | |||
| CreationDate | CreationDate | |||
| SoldToParty | SoldToParty | |||
| BillingDocumentIsCancelled | BillingDocumentIsCancelled | |||
| CancelledBillingDocument | CancelledBillingDocument | |||
| DocumentReferenceID | DocumentReferenceID | |||
| VMSBillingDocumentIsCancelled | VMSBillingDocumentIsCancelled | |||
| BillingDocumentItem | BillingDocumentItem | |||
| NetAmount | NetAmount | |||
| TransactionCurrency | TransactionCurrency | |||
| PlantName | _plant | PlantName | ||
| Plant | Plant | |||
| BillingDocumentType | BillingDocumentType | |||
| _SalesOrganizationText | _SalesOrganizationText | |||
| LogicalSystem | I_SAPClient | LogicalSystem |
@AbapCatalog.sqlViewName: 'AVMSINVOICE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Vehicle Outgoing Invoice'
@ObjectModel.usageType.serviceQuality : #C
@ObjectModel.usageType.sizeCategory : #XL
@ObjectModel.usageType.dataClass : #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations:true
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
define view A_VMSVehicleInvoice
as select from I_VMSVehicleInvoice
inner join I_SAPClient as _SAPClient on _SAPClient.sapclient = $session.client
association to A_Plant as _plant on _plant.Plant = $projection.Plant
association to A_CompanyCode as _CompanyCodeText on _CompanyCodeText.CompanyCode = $projection.CompanyCode
association [1..1] to E_VMSVehicleInvoice as _Extension on $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID
and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime
{
@ObjectModel.text.element: ['CompanyCodeName','PlantName' ]
key VMSVehicleUUID,
key VMSVehicleActionDateTime,
VMSVehicleActionDocType,
BillingDocument,
VMSVehicleActnDocTypeIsRvsd,
CreatedByUser,
@ObjectModel.text.association: '_SalesOrganizationText'
SalesOrganization,
CompanyCode,
@Semantics.text:true
_CompanyCodeText.CompanyCodeName,
BillingDocumentDate,
CreationDate,
SoldToParty,
BillingDocumentIsCancelled,
CancelledBillingDocument,
DocumentReferenceID,
VMSBillingDocumentIsCancelled,
BillingDocumentItem,
@Semantics.amount.currencyCode: 'TransactionCurrency'
NetAmount,
@Semantics.currencyCode: true
TransactionCurrency,
@Semantics.text:true
_plant.PlantName,
Plant,
@Consumption.hidden: true
BillingDocumentType,
@Consumption.hidden: true
_SalesOrganizationText,
_SAPClient.LogicalSystem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"A_COMPANYCODE",
"A_PLANT",
"I_SAPCLIENT",
"I_VMSVEHICLEINVOICE"
],
"ASSOCIATED":
[
"A_COMPANYCODE",
"A_PLANT",
"E_VMSVEHICLEINVOICE",
"I_SALESORGANIZATIONTEXT"
],
"BASE":
[
"I_VMSVEHICLEINVOICE"
],
"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