C_PT_DeliveryNoteItem

DDL: C_PT_DELIVERYNOTEITEM SQL: CPTDELITEM Type: view CONSUMPTION

PT Delivery Note Form Item

C_PT_DeliveryNoteItem is a Consumption CDS View that provides data about "PT Delivery Note Form Item" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 9 fields with key fields DeliveryDocument, DeliveryDocumentItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocumentItem I_DeliveryDocumentItem from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MaterialText _mattext $projection.Material = _mattext.Material

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CPTDELITEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label PT Delivery Note Form Item view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
KEY DeliveryDocumentItem DeliveryDocumentItem Outb. Delivery Item
Material Material Vehicle Model
ActualDeliveryQuantity ActualDeliveryQuantity Base quantity
BaseUnit BaseUnit Unit of Measure
ItemGrossWeight ItemGrossWeight Gross Weight
ItemWeightUnit ItemWeightUnit Unit of Weight
MaterialName _mattext MaterialName Material Description
InternationalArticleNumber InternationalArticleNumber EAN/UPC

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_DeliveryNoteItem.
-- 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: CPTDELITEM

CREATE VIEW C_PT_DeliveryNoteItem AS
SELECT
  DeliveryDocument,
  DeliveryDocumentItem,
  Material,
  ActualDeliveryQuantity,
  BaseUnit,
  ItemGrossWeight,
  ItemWeightUnit,
  _mattext.MaterialName AS MaterialName,
  InternationalArticleNumber
FROM I_DeliveryDocumentItem
LEFT OUTER JOIN I_MaterialText AS _mattext ON Material = _mattext.Material  -- association [1..1]
;