A_DigitalVehiclePurOrderItem

DDL: A_DIGITALVEHICLEPURORDERITEM Type: view_entity CONSUMPTION

Purchase Order

A_DigitalVehiclePurOrderItem is a Consumption CDS View that provides data about "Purchase Order" in SAP S/4HANA. It reads from 1 data source (R_DigitalVehiclePurOrderItemTP) and exposes 24 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_DigitalVehiclePurOrderItemTP R_DigitalVehiclePurOrderItemTP projection

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_BusinessPartner _BusinessPartner _BusinessPartner.BusinessPartner = $projection.Supplier

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Purchase Order view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name DigitalVehiclePurOrderItem_Type view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
VMSVehicleUUID VMSVehicleUUID
Batch VMSVehicleBatch
PurchaseOrderType PurchaseOrderType PO Type
PurchaseOrderDate PurchaseOrderDate PO Date
Supplier Supplier Supplier
SupplierName BusinessPartnerName Extracted Customer Name
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName CompanyCodeName Company Name
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingOrganizationName PurchasingOrganizationName Purch. Org. Name
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName PurchasingGroupName Purchasing Grp. Name
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
Plant Plant Valuation Area
PlantName PlantName Plant Name
Material Material Vehicle Model
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
OrderQuantity OrderQuantity Quantity
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency
TaxCode TaxCode Tax Code
_BusinessPartner _BusinessPartner

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_DigitalVehiclePurOrderItem.
-- 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_DigitalVehiclePurOrderItem AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  VMSVehicleUUID,
  VMSVehicleBatch AS Batch,
  PurchaseOrderType,
  PurchaseOrderDate,
  Supplier,
  BusinessPartnerName AS SupplierName,
  CompanyCode,
  CompanyCodeName,
  PurchasingOrganization,
  PurchasingOrganizationName,
  PurchasingGroup,
  PurchasingGroupName,
  ScheduleLineDeliveryDate,
  Plant,
  PlantName,
  Material,
  PurchaseOrderQuantityUnit,
  OrderQuantity,
  NetPriceAmount,
  DocumentCurrency,
  TaxCode
FROM R_DigitalVehiclePurOrderItemTP
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = Supplier  -- association [1..1]
;