P_SlsOrdItmDelivAnlyts

DDL: P_SLSORDITMDELIVANLYTS SQL: PSDSLSORDITMDELV Type: view COMPOSITE

P_SlsOrdItmDelivAnlyts is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocumentItem) and exposes 6 fields with key fields DelivSalesDoc, DelivSalesDocItem.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocumentItem SOIDeliv from

Annotations (8)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PSDSLSORDITMDELV view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DelivSalesDoc I_DeliveryDocumentItem ReferenceSDDocument Reference Doc.
_DelivReferenceSDDoc _ReferenceSDDocument
KEY DelivSalesDocItem I_DeliveryDocumentItem ReferenceSDDocumentItem Reference Item
_DelivReferenceSDDocItem _ReferenceSalesDocumentItem
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
2018

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 P_SlsOrdItmDelivAnlyts.
-- 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: PSDSLSORDITMDELV

CREATE VIEW P_SlsOrdItmDelivAnlyts AS
SELECT
  SOIDeliv.ReferenceSDDocument AS DelivSalesDoc,
  SOIDeliv.ReferenceSDDocumentItem AS DelivSalesDocItem,
  ReferenceSDDocumentCategory,
  sum ( SOIDeliv.ActualDeliveredQtyInBaseUnit ) as ActualDeliveredQtyInBaseUnit AS 2018
FROM I_DeliveryDocumentItem AS SOIDeliv
;