A_VMSVehicleInvoice

DDL: A_VMSVEHICLEINVOICE SQL: AVMSINVOICE Type: view COMPOSITE

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)

SourceAliasJoin Type
I_SAPClient _SAPClient inner
I_VMSVehicleInvoice I_VMSVehicleInvoice from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_VMSVehicleInvoice _Extension $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/