P_SupDmndOvwSDDateBasic

DDL: P_SUPDMNDOVWSDDATEBASIC Type: view BASIC

P_SupDmndOvwSDDateBasic is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (vbak, vbap, vbep, vbep) and exposes 15 fields.

Data Sources (4)

SourceAliasJoin Type
vbak vbak from
vbap vbap inner
vbep vbep inner
vbep vbep1 inner

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName PSUPDMNDOVWSDDT1 view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view

Fields (15)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber vbep vbeln SD Sched. Agmt
RequirementDocumentItem vbep posnr WBS Element
EarliestReqdDelivDate vbep req_dlvdate Delivery Date
RequestedDate vbep mbdat Mat.Avail.Date
ProductAvailabilityDate vbep mbdat Mat.Avail.Date
Material vbap matnr Vehicle Model
MaterialGroup vbap matkl Product Sold Group
Plant vbap werks Receiving Plant
SalesOrganization vbak vkorg SD Sales Org.
DistributionChannel vbak vtweg RefDistCh-Cust/Mat.
Division vbak spart Source supplier
ConfdOrderQtyByMatlAvailCheck
DeliveredQuantityInBaseUnit vbep dlvqty_bu Delivered Qty
ScheduleLine vbep etenr Schedule Line
ConfirmedDeliveryDate vbep edatu Schedule line date

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_SupDmndOvwSDDateBasic.
-- 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_SupDmndOvwSDDateBasic AS
SELECT
  vbep.vbeln AS RequirementDocumentNumber,
  vbep.posnr AS RequirementDocumentItem,
  vbep.req_dlvdate AS EarliestReqdDelivDate,
  vbep1.mbdat AS RequestedDate,
  vbep.mbdat AS ProductAvailabilityDate,
  vbap.matnr AS Material,
  vbap.matkl AS MaterialGroup,
  vbap.werks AS Plant,
  vbak.vkorg AS SalesOrganization,
  vbak.vtweg AS DistributionChannel,
  vbak.spart AS Division,
  case vbtyp when 'C' then vbep.lmeng when 'I' then vbep.lmeng when 'G' then vbep.crqqty_bu else 0 end AS ConfdOrderQtyByMatlAvailCheck,
  vbep.dlvqty_bu AS DeliveredQuantityInBaseUnit,
  vbep.etenr AS ScheduleLine,
  vbep.edatu AS ConfirmedDeliveryDate
FROM vbak
INNER JOIN vbap ON /* join condition not captured in parsed metadata */
INNER JOIN vbep ON /* join condition not captured in parsed metadata */
INNER JOIN vbep AS vbep1 ON /* join condition not captured in parsed metadata */
;