C_DeliveryNote

DDL: C_DELIVERYNOTE SQL: CDELVNOTE Type: view CONSUMPTION

Delivery Note

C_DeliveryNote is a Consumption CDS View that provides data about "Delivery Note" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 33 fields with key field DeliveryDocument. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument _DeliveryDocument from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[1..*] C_DeliveryNoteItem _DeliveryNoteItem $projection.DeliveryDocument = _DeliveryNoteItem.DeliveryDocument

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CDELVNOTE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Delivery Note view
VDM.viewType #CONSUMPTION view
VDM.private false view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
CreationDate CreationDate Time Stamp
DeliveryDate DeliveryDate Delivery Date
ReferenceDocumentNumber ReferenceDocumentNumber Reference
Supplier Supplier Supplier
GoodsIssueOrReceiptSlipNumber GoodsIssueOrReceiptSlipNumber GR/GI Slip No.
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
ShippingPoint ShippingPoint Shipping Point
ProposedDeliveryRoute ProposedDeliveryRoute Vehicle route
BillOfLading BillOfLading Bill of Lading
ShippingCondition ShippingCondition Shipping Conditions
HeaderGrossWeight HeaderGrossWeight Total Weight
HeaderNetWeight HeaderNetWeight Net Weight
HeaderWeightUnit HeaderWeightUnit Weight Unit
HeaderVolume HeaderVolume Volume
HeaderVolumeUnit HeaderVolumeUnit Volume Unit
ActualGoodsMovementDate ActualGoodsMovementDate Actual GI Date
SpecialProcessingCode SpecialProcessingCode Spec.Processing
DeliveryPriority DeliveryPriority Delivery Prior.
IsExportDelivery IsExportDelivery Export
_Supplier _Supplier
_SoldToParty _SoldToParty
_DeliveryNoteItem _DeliveryNoteItem
_ShippingPoint _ShippingPoint
_ShipToParty _ShipToParty
_ProposedDeliveryRoute _ProposedDeliveryRoute
_ShippingCondition _ShippingCondition
_DeliveryPriority _DeliveryPriority
_SpecialProcessingCode _SpecialProcessingCode
_IncotermsClassification _IncotermsClassification

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 C_DeliveryNote.
-- 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: CDELVNOTE

CREATE VIEW C_DeliveryNote AS
SELECT
  DeliveryDocument,
  CreationDate,
  DeliveryDate,
  ReferenceDocumentNumber,
  Supplier,
  GoodsIssueOrReceiptSlipNumber,
  SoldToParty,
  ShipToParty,
  IncotermsClassification,
  IncotermsTransferLocation,
  ShippingPoint,
  ProposedDeliveryRoute,
  BillOfLading,
  ShippingCondition,
  HeaderGrossWeight,
  HeaderNetWeight,
  HeaderWeightUnit,
  HeaderVolume,
  HeaderVolumeUnit,
  ActualGoodsMovementDate,
  SpecialProcessingCode,
  DeliveryPriority,
  IsExportDelivery
FROM I_DeliveryDocument AS _DeliveryDocument
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN C_DeliveryNoteItem AS _DeliveryNoteItem ON DeliveryDocument = _DeliveryNoteItem.DeliveryDocument  -- association [1..*]
;