C_PT_DeliveryNote

DDL: C_PT_DELIVERYNOTE SQL: CPTDELIVERYNOTE Type: view CONSUMPTION

PT Delivery Note Form

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

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument I_DeliveryDocument from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ShippingConditionText _shipcond $projection.ShippingCondition = _shipcond.ShippingCondition
[1..*] C_PT_DeliveryNoteItem _Delitem $projection.DeliveryDocument = _Delitem.DeliveryDocument

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CPTDELIVERYNOTE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #AUTOMATED view
EndUserText.label PT Delivery Note Form view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
ShippingCondition ShippingCondition Shipping Conditions
Language _shipcond Language Report Text Language
SDDocumentCategory SDDocumentCategory Document Cat.
DeliveryDocumentType DeliveryDocumentType Delivery Type
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
ShippingPoint ShippingPoint Shipping Point
HeaderGrossWeight HeaderGrossWeight Total Weight
HeaderNetWeight HeaderNetWeight Net Weight
DocumentDate DocumentDate Journal Entry Date
ShipToParty ShipToParty Ship-To Party (obsolete)
DeliveryDate DeliveryDate Delivery Date
ActualGoodsMovementDate ActualGoodsMovementDate Actual GI Date
ActualGoodsMovementTime ActualGoodsMovementTime GI Time
ShippingConditionName _shipcond ShippingConditionName
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
_Delitem _Delitem

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_PT_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: CPTDELIVERYNOTE

CREATE VIEW C_PT_DeliveryNote AS
SELECT
  DeliveryDocument,
  ShippingCondition,
  _shipcond.Language AS Language,
  SDDocumentCategory,
  DeliveryDocumentType,
  CreationDate,
  CreationTime,
  ShippingPoint,
  HeaderGrossWeight,
  HeaderNetWeight,
  DocumentDate,
  ShipToParty,
  DeliveryDate,
  ActualGoodsMovementDate,
  ActualGoodsMovementTime,
  _shipcond.ShippingConditionName AS ShippingConditionName,
  IncotermsClassification,
  IncotermsTransferLocation
FROM I_DeliveryDocument
LEFT OUTER JOIN I_ShippingConditionText AS _shipcond ON ShippingCondition = _shipcond.ShippingCondition  -- association [0..1]
LEFT OUTER JOIN C_PT_DeliveryNoteItem AS _Delitem ON DeliveryDocument = _Delitem.DeliveryDocument  -- association [1..*]
;