A_DigitalVehicleBillingDocItem

DDL: A_DIGITALVEHICLEBILLINGDOCITEM Type: view_entity CONSUMPTION Package: ISAUTO_VLC_LEAN

Billing Document

A_DigitalVehicleBillingDocItem is a Consumption CDS View that provides data about "Billing Document" in SAP S/4HANA. It reads from 1 data source (R_DigitalVehBillingDocItemTP) and exposes 16 fields with key fields BillingDocument, BillingDocumentItem. It has 1 association to related views. It is exposed through 1 OData service (API_DIGITALVEHICLE). Part of development package ISAUTO_VLC_LEAN.

Data Sources (1)

SourceAliasJoin Type
R_DigitalVehBillingDocItemTP R_DigitalVehBillingDocItemTP projection

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_Customer _Customer _Customer.Customer = $projection.BillToParty

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Billing Document view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name DigitalVehicleBillingDocItem_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_DIGITALVEHICLE API_DIGITALVEHICLE V4 C2 Deprecated

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument BillingDocument SD Document
KEY BillingDocumentItem BillingDocumentItem Item
VMSVehicleUUID VMSVehicleUUID
BillingDocumentDate BillingDocumentDate Billing Date
NetAmount NetAmount Stated Amount
TransactionCurrency TransactionCurrency Transaction Currency
BillToParty Customer Sold-to Party
BillToPartyName CustomerName Name of Customer
Material Material Vehicle Model
Quantity Quantity Value
BillingQuantityUnit BillingQuantityUnit Sales Unit
GrossAmount GrossAmount Gross value
TaxCode TaxCode Tax Code
TaxAmount TaxAmount Tax Amt in Rptg Crcy
LastChangeDateTime LastChangeDateTime Timestamp
_Customer _Customer

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_DigitalVehicleBillingDocItem.
-- 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.

CREATE VIEW A_DigitalVehicleBillingDocItem AS
SELECT
  BillingDocument,
  BillingDocumentItem,
  VMSVehicleUUID,
  BillingDocumentDate,
  NetAmount,
  TransactionCurrency,
  Customer AS BillToParty,
  CustomerName AS BillToPartyName,
  Material,
  Quantity,
  BillingQuantityUnit,
  GrossAmount,
  TaxCode,
  TaxAmount,
  LastChangeDateTime
FROM R_DigitalVehBillingDocItemTP
LEFT OUTER JOIN A_Customer AS _Customer ON _Customer.Customer = BillToParty  -- association [1..1]
;