P_SrvcOrdItemAggrgdDelivQty

DDL: P_SRVCORDITEMAGGRGDDELIVQTY SQL: PSOITMAGGRDELQTY Type: view COMPOSITE

P_SrvcOrdItemAggrgdDelivQty is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SrvcDocItmScheduleLines) and exposes 5 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_SrvcDocItmScheduleLines I_SrvcDocItmScheduleLines from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSOITMAGGRDELQTY view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceDocument ServiceDocument Transaction ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document
SrvcDocItmSchdLnEvtType SrvcDocItmSchdLnEvtType Type of Event
DeliveredQuantity

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_SrvcOrdItemAggrgdDelivQty.
-- 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: PSOITMAGGRDELQTY

CREATE VIEW P_SrvcOrdItemAggrgdDelivQty AS
SELECT
  ServiceObjectType,
  ServiceDocument,
  ServiceDocumentItem,
  SrvcDocItmSchdLnEvtType,
  sum(ScheduleLineOrderQuantity) AS DeliveredQuantity
FROM I_SrvcDocItmScheduleLines
;