P_Stockworklistcumulative

DDL: P_STOCKWORKLISTCUMULATIVE SQL: PSTOCKCUM Type: view COMPOSITE

P_Stockworklistcumulative is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StckWorklist) and exposes 6 fields with key fields Material, Plant, IssueType.

Data Sources (1)

SourceAliasJoin Type
I_StckWorklist stck from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PSTOCKCUM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Material I_StckWorklist Material Vehicle Model
KEY Plant I_StckWorklist Plant Valuation Area
KEY IssueType I_StckWorklist IssueType Issue Type for stock
IssueDate I_StckWorklist IssueDate Order End Date
DeliveryQuantityInBaseUnit
QuantityUnit I_StckWorklist QuantityUnit Unit of measure

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_Stockworklistcumulative.
-- 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: PSTOCKCUM

CREATE VIEW P_Stockworklistcumulative AS
SELECT
  stck.Material AS Material,
  stck.Plant AS Plant,
  stck.IssueType AS IssueType,
  stck.IssueDate AS IssueDate,
  sum(stck.DeliveryQuantityInBaseUnit ) AS DeliveryQuantityInBaseUnit,
  stck.QuantityUnit AS QuantityUnit
FROM I_StckWorklist AS stck
;