I_SupDmndSTOSchedLine

DDL: I_SUPDMNDSTOSCHEDLINE Type: view BASIC

Basic View for STO Demand Date

I_SupDmndSTOSchedLine is a Basic CDS View that provides data about "Basic View for STO Demand Date" in SAP S/4HANA. It reads from 1 data source (P_SupDmndOvwSTODateBasic) and exposes 18 fields.

Data Sources (1)

SourceAliasJoin Type
P_SupDmndOvwSTODateBasic P_SupDmndOvwSTODateBasic from

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Basic View for STO Demand Date view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDOSTODATE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (18)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber PurchasingDocument Purchasing Document
RequirementDocumentItem PurchasingDocumentItem Purchasing Doc. Item
RequestedDeliveryDate
RequestedDate RequestedDate Mat.Avail.Date
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
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 I_SupDmndSTOSchedLine.
-- 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 I_SupDmndSTOSchedLine AS
SELECT
  PurchasingDocument AS RequirementDocumentNumber,
  PurchasingDocumentItem AS RequirementDocumentItem,
  min(EarliestRequestedDeliveryDate) AS RequestedDeliveryDate,
  RequestedDate,
  ProductAvailabilityDate,
  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 P_SupDmndOvwSTODateBasic
;