P_ProdBufLvlLtstPrpslDmndFctr

DDL: P_PRODBUFLVLLTSTPRPSLDMNDFCTR Type: view_entity COMPOSITE Package: PPH_DD_VDM_STLM

Latest Proposals Demand Factor

P_ProdBufLvlLtstPrpslDmndFctr is a Composite CDS View that provides data about "Latest Proposals Demand Factor" in SAP S/4HANA. It reads from 4 data sources (I_ProdBufLvlPrpslDmndFctrData, P_ProdBufLvlLtstPrpslData, P_ProdBufLvlLtstPrpslData, I_ProdBufLvlPrpslDemand) and exposes 23 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. Part of development package PPH_DD_VDM_STLM.

Data Sources (4)

SourceAliasJoin Type
I_ProdBufLvlPrpslDmndFctrData _dAdj union
P_ProdBufLvlLtstPrpslData _Header inner
P_ProdBufLvlLtstPrpslData _Header inner
I_ProdBufLvlPrpslDemand _ProposalDetails from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Latest Proposals Demand Factor view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Material P_ProdBufLvlLtstPrpslData Material Vehicle Model
KEY Plant P_ProdBufLvlLtstPrpslData Plant Valuation Area
KEY MRPArea P_ProdBufLvlLtstPrpslData MRPArea MRP Area
KEY ProposalStartDate P_ProdBufLvlLtstPrpslData ProposalStartDate Proposal Valid From
KEY ProposalVersion P_ProdBufLvlLtstPrpslData ProposalVersion Proposal Version
KEY ProposalDmndAdjmtFctrStartDate I_ProdBufLvlPrpslDemand ProposalRecordDetailsStartDate Prop Demand Adjustment Factor Valid From
ProposalDmndAdjmtFctrEndDate I_ProdBufLvlPrpslDemand ProposalRecordDetailsEndDate Prop. Demand Adjustment Factor Valid To
DemandAdjustmentFactor I_ProdBufLvlPrpslDemand DemandAdjustmentFactor Demand Adj. Fctr.
CreatedByUser I_ProdBufLvlPrpslDemand CreatedByUser User Name
LastChangedByUser I_ProdBufLvlPrpslDemand LastChangedByUser User Name
CreationDateTime I_ProdBufLvlPrpslDemand CreationDateTime Timestamp
Material Vehicle Model
KEY Plant P_ProdBufLvlLtstPrpslData Plant Valuation Area
KEY MRPArea P_ProdBufLvlLtstPrpslData MRPArea MRP Area
KEY ProposalStartDate P_ProdBufLvlLtstPrpslData ProposalStartDate Proposal Valid From
KEY ProposalVersion P_ProdBufLvlLtstPrpslData ProposalVersion Proposal Version
KEY ProposalDmndAdjmtFctrStartDate I_ProdBufLvlPrpslDmndFctrData ProposalDmndAdjmtFctrStartDate Prop Demand Adjustment Factor Valid From
ProposalDmndAdjmtFctrEndDate I_ProdBufLvlPrpslDmndFctrData ProposalDmndAdjmtFctrEndDate Prop. Demand Adjustment Factor Valid To
DemandAdjustmentFactor I_ProdBufLvlPrpslDmndFctrData DemandAdjustmentFactor Demand Adj. Fctr.
CreatedByUser I_ProdBufLvlPrpslDmndFctrData CreatedByUser User Name
LastChangedByUser I_ProdBufLvlPrpslDmndFctrData LastChangedByUser User Name
CreationDateTime I_ProdBufLvlPrpslDmndFctrData CreationDateTime Timestamp
LastChangeDateTime I_ProdBufLvlPrpslDmndFctrData LastChangeDateTime Timestamp

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_ProdBufLvlLtstPrpslDmndFctr.
-- 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_ProdBufLvlLtstPrpslDmndFctr AS
SELECT
  _Header.Material AS Material,
  _Header.Plant AS Plant,
  _Header.MRPArea AS MRPArea,
  _Header.ProposalStartDate AS ProposalStartDate,
  _Header.ProposalVersion AS ProposalVersion,
  _ProposalDetails.ProposalRecordDetailsStartDate AS ProposalDmndAdjmtFctrStartDate,
  _ProposalDetails.ProposalRecordDetailsEndDate AS ProposalDmndAdjmtFctrEndDate,
  _ProposalDetails.DemandAdjustmentFactor AS DemandAdjustmentFactor,
  _ProposalDetails.CreatedByUser AS CreatedByUser,
  _ProposalDetails.LastChangedByUser AS LastChangedByUser,
  _ProposalDetails.CreationDateTime AS CreationDateTime,
  _dAdj.LastChangeDateTime AS LastChangeDateTime
FROM I_ProdBufLvlPrpslDemand AS _ProposalDetails
INNER JOIN P_ProdBufLvlLtstPrpslData AS _Header ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_ProdBufLvlPrpslDmndFctrData
;