A_VMSVehicleIncomingInvoice

DDL: A_VMSVEHICLEINCOMINGINVOICE SQL: AVMSVINVOICE Type: view COMPOSITE

Vehicle Incoming Invoice

A_VMSVehicleIncomingInvoice is a Composite CDS View that provides data about "Vehicle Incoming Invoice" in SAP S/4HANA. It reads from 2 data sources (I_SAPClient, I_VMSVehicleIncomingInvoice) and exposes 20 fields with key fields VMSVehicleUUID, VMSVehicleActionDateTime. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SAPClient _SAPClient inner
I_VMSVehicleIncomingInvoice I_VMSVehicleIncomingInvoice from

Associations (1)

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

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName AVMSVINVOICE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Vehicle Incoming Invoice view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L 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 (20)

KeyFieldSource TableSource FieldDescription
KEY VMSVehicleUUID VMSVehicleUUID Vehicle GUID
KEY VMSVehicleActionDateTime VMSVehicleActionDateTime Time Stamp
VMSVehicleActionDocType VMSVehicleActionDocType Action Document Type
RefAccountingDocument RefAccountingDocument Document Number
DocumentReferenceID DocumentReferenceID Reference
InputFiscalYear InputFiscalYear Fiscal Year
SupplierInvoiceItem SupplierInvoiceItem
SuplrInvcExtCreatedByUser SuplrInvcExtCreatedByUser Created by
VehActionDocTypeIsReversed VehActionDocTypeIsReversed Indicator
DocumentDate DocumentDate Journal Entry Date
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCodeText CompanyCodeName Company Name
SupplierInvoiceIsCancelled SupplierInvoiceIsCancelled
ReverseDocument ReverseDocument Reversed With
PostingDate PostingDate Posting Date for GR
DocumentCurrency DocumentCurrency Document Currency
SupplierInvoiceItemAmount SupplierInvoiceItemAmount Amount
InvoicingParty InvoicingParty Supplier
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
LogicalSystem I_SAPClient LogicalSystem Logical System

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 A_VMSVehicleIncomingInvoice.
-- 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: AVMSVINVOICE

CREATE VIEW A_VMSVehicleIncomingInvoice AS
SELECT
  VMSVehicleUUID,
  VMSVehicleActionDateTime,
  VMSVehicleActionDocType,
  RefAccountingDocument,
  DocumentReferenceID,
  InputFiscalYear,
  SupplierInvoiceItem,
  SuplrInvcExtCreatedByUser,
  VehActionDocTypeIsReversed,
  DocumentDate,
  CompanyCode,
  _CompanyCodeText.CompanyCodeName AS CompanyCodeName,
  SupplierInvoiceIsCancelled,
  ReverseDocument,
  PostingDate,
  DocumentCurrency,
  SupplierInvoiceItemAmount,
  InvoicingParty,
  IsEndOfPurposeBlocked,
  _SAPClient.LogicalSystem AS LogicalSystem
FROM I_VMSVehicleIncomingInvoice
INNER JOIN I_SAPClient AS _SAPClient ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_VMSVehicleIncomingInvoice AS _Extension ON VMSVehicleUUID = _Extension.VMSVehicleUUID AND VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime  -- association [1..1]
;