P_SupDmndMntrSTOSchedLine

DDL: P_SUPDMNDMNTRSTOSCHEDLINE Type: view COMPOSITE

P_SupDmndMntrSTOSchedLine is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SupDmndMntrSTOSchedLine) and exposes 16 fields.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndMntrSTOSchedLine I_SupDmndMntrSTOSchedLine from

Annotations (10)

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

Fields (16)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber PurchasingDocument Purchasing Document
RequirementDocumentItem PurchasingDocumentItem Purchasing Doc. Item
RequestedDeliveryDate
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
Plant Plant Valuation Area
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
ConfdOrderQtyByMatlAvailCheck
ScheduleLineOrderQuantity
DeliveredQuantityInBaseUnit
ScheduleLine
ConfirmedDeliveryDate

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_SupDmndMntrSTOSchedLine.
-- 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.

CREATE VIEW P_SupDmndMntrSTOSchedLine AS
SELECT
  PurchasingDocument AS RequirementDocumentNumber,
  PurchasingDocumentItem AS RequirementDocumentItem,
  min(DeliveryDate) AS RequestedDeliveryDate,
  Material,
  MaterialGroup,
  Plant,
  PurchasingOrganization,
  PurchasingGroup,
  SalesOrganization,
  DistributionChannel,
  Division,
  sum( ConfdOrderQtyByMatlAvailCheck ) AS ConfdOrderQtyByMatlAvailCheck,
  sum( ScheduleLineOrderQuantity ) AS ScheduleLineOrderQuantity,
  sum( DeliveredQuantityInBaseUnit ) AS DeliveredQuantityInBaseUnit,
  max( ScheduleLine ) AS ScheduleLine,
  max( ConfirmedDeliveryDate ) AS ConfirmedDeliveryDate
FROM I_SupDmndMntrSTOSchedLine
;