P_ProdBufLvlPrpslDemandFctr
P_ProdBufLvlPrpslDemandFctr is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (pph_dd_stpr_dadj, pph_dd_stpr_dets, pph_dd_stpr_dadj) and exposes 21 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| pph_dd_stpr_dadj | _ProposalDemandFctr | left_outer |
| pph_dd_stpr_dets | _ProposalDetails | from |
| pph_dd_stpr_dadj | pph_dd_stpr_dadj | union |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSDMDMDFCTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | pph_dd_stpr_dets | matnr | Vehicle Model |
| KEY | Plant | pph_dd_stpr_dets | werks | Receiving Plant |
| KEY | MRPArea | pph_dd_stpr_dets | berid | Single-Character Flag |
| KEY | ProposalStartDate | pph_dd_stpr_dets | prop_date_from | Proposal Valid From |
| KEY | ProposalVersion | pph_dd_stpr_dets | prop_ver | Proposal Version |
| KEY | ProposalDmndAdjmtFctrStartDate | pph_dd_stpr_dets | calc_for_date | Prop Demand Adjustment Factor Valid From |
| CreatedByUser | pph_dd_stpr_dets | created_by | Version Created By | |
| LastChangedByUser | pph_dd_stpr_dets | changed_by | User Name | |
| CreationDateTime | pph_dd_stpr_dets | created_time | Time Stamp | |
| LastChangeDateTime | pph_dd_stpr_dets | changed_time | Time Stamp | |
| KEY | Plant | werks | Receiving Plant | |
| KEY | MRPArea | berid | Single-Character Flag | |
| KEY | ProposalStartDate | prop_date_from | Proposal Valid From | |
| KEY | ProposalVersion | prop_ver | Proposal Version | |
| KEY | ProposalDmndAdjmtFctrStartDate | demand_adj_fctr_valid_from | Prop Demand Adjustment Factor Valid From | |
| ProposalDmndAdjmtFctrEndDate | demand_adj_fctr_valid_to | Prop. Demand Adjustment Factor Valid To | ||
| DemandAdjustmentFactor | demand_adj_factor | Demand Adj. Fctr. | ||
| CreatedByUser | created_by | Version Created By | ||
| LastChangedByUser | changed_by | User Name | ||
| CreationDateTime | created_time | Time Stamp | ||
| LastChangeDateTime | changed_time | Time Stamp |
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_ProdBufLvlPrpslDemandFctr.
-- 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.
-- SQL view name: PSDMDMDFCTR
CREATE VIEW P_ProdBufLvlPrpslDemandFctr AS
SELECT
_ProposalDetails.matnr AS Material,
_ProposalDetails.werks AS Plant,
_ProposalDetails.berid AS MRPArea,
_ProposalDetails.prop_date_from AS ProposalStartDate,
_ProposalDetails.prop_ver AS ProposalVersion,
_ProposalDetails.calc_for_date AS ProposalDmndAdjmtFctrStartDate,
_ProposalDetails.created_by AS CreatedByUser,
_ProposalDetails.changed_by AS LastChangedByUser,
_ProposalDetails.created_time AS CreationDateTime,
_ProposalDetails.changed_time AS LastChangeDateTime,
demand_adj_fctr_valid_to AS ProposalDmndAdjmtFctrEndDate,
demand_adj_factor AS DemandAdjustmentFactor
FROM pph_dd_stpr_dets AS _ProposalDetails
LEFT OUTER JOIN pph_dd_stpr_dadj AS _ProposalDemandFctr ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): pph_dd_stpr_dadj
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA