C_SupDmndOpenDelivQuery

DDL: C_SUPDMNDOPENDELIVQUERY Type: view CONSUMPTION Package: VDM_ARUN_ANALYTICS

Query View for Total Demand

C_SupDmndOpenDelivQuery is a Consumption CDS View that provides data about "Query View for Total Demand" in SAP S/4HANA. It reads from 8 data sources and exposes 33 fields. Part of development package VDM_ARUN_ANALYTICS.

Data Sources (8)

SourceAliasJoin Type
I_DistributionChannelText DistChl left_outer
I_DivisionText Div left_outer
I_MaterialText MaterialText left_outer
I_MaterialGroupText MatGrpText left_outer
I_SupDmndOpenDelivCube Ovw from
I_Plant Plant left_outer
I_SalesDistrictText SalesDist left_outer
I_SalesOrganizationText SalesOrgText left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSDODMNDDLVQRY view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Query View for Total Demand view

Fields (33)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber RequirementDocumentNumber Preceding Document
RequirementDocumentItem RequirementDocumentItem Preceding Document Item
DeliveryDocument DeliveryDocument Outbound Delivery
DeliveryDocumentItem DeliveryDocumentItem Outb. Delivery Item
SalesDistrict I_SupDmndOpenDelivCube SalesDistrict Sales District
ShippingPoint ShippingPoint Shipping Point
SalesOrganization I_SupDmndOpenDelivCube SalesOrganization Sales Organization
DeliveryDocumentType DeliveryDocumentType Delivery Type
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
DeliveryBlockReason DeliveryBlockReason Delivery Block
DeliveryPriority DeliveryPriority Delivery Prior.
ShipToParty ShipToParty Ship-To Party (obsolete)
SoldToParty SoldToParty Sold-to Party
SalesOffice SalesOffice Sales Office
Material I_SupDmndOpenDelivCube Material Vehicle Model
Plant I_SupDmndOpenDelivCube Plant Valuation Area
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
StockSegment StockSegment Stock Segment
RequirementSegment RequirementSegment Req. Segment
DistributionChannel I_SupDmndOpenDelivCube DistributionChannel RefDistCh-Cust/Mat.
Division I_SupDmndOpenDelivCube Division Internal Division ID
MaterialGroup I_SupDmndOpenDelivCube MaterialGroup Product Group
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
RequestedDeliveryDate RequestedDeliveryDate Requested Delivery Date
DeliveredQuantityInBaseUnit DeliveredQuantityInBaseUnit Open Delivery Quantities
SalesOrganizationName I_SalesOrganizationText SalesOrganizationName Sales Organization Description
MaterialName I_MaterialText MaterialName Material Description
MaterialGroupName I_MaterialGroupText MaterialGroupName prod Grp Desc.
DistributionChannelName I_DistributionChannelText DistributionChannelName
DivisionName I_DivisionText DivisionName Division Description
SalesDistrictName I_SalesDistrictText SalesDistrictName District Name
PlantName I_Plant PlantName Plant Name

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 C_SupDmndOpenDelivQuery.
-- 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 C_SupDmndOpenDelivQuery AS
SELECT
  RequirementDocumentNumber,
  RequirementDocumentItem,
  DeliveryDocument,
  DeliveryDocumentItem,
  Ovw.SalesDistrict AS SalesDistrict,
  ShippingPoint,
  Ovw.SalesOrganization AS SalesOrganization,
  DeliveryDocumentType,
  HeaderBillingBlockReason,
  DeliveryBlockReason,
  DeliveryPriority,
  ShipToParty,
  SoldToParty,
  SalesOffice,
  Ovw.Material AS Material,
  Ovw.Plant AS Plant,
  StorageLocation,
  Batch,
  StockSegment,
  RequirementSegment,
  Ovw.DistributionChannel AS DistributionChannel,
  Ovw.Division AS Division,
  Ovw.MaterialGroup AS MaterialGroup,
  ProductAvailabilityDate,
  RequestedDeliveryDate,
  DeliveredQuantityInBaseUnit,
  SalesOrgText.SalesOrganizationName AS SalesOrganizationName,
  MaterialText.MaterialName AS MaterialName,
  MatGrpText.MaterialGroupName AS MaterialGroupName,
  DistChl.DistributionChannelName AS DistributionChannelName,
  Div.DivisionName AS DivisionName,
  SalesDist.SalesDistrictName AS SalesDistrictName,
  Plant.PlantName AS PlantName
FROM I_SupDmndOpenDelivCube AS Ovw
LEFT OUTER JOIN I_SalesOrganizationText AS SalesOrgText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS MaterialText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialGroupText AS MatGrpText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DistributionChannelText AS DistChl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DivisionText AS Div ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesDistrictText AS SalesDist ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS Plant ON /* join condition not captured in parsed metadata */
;