C_AdvncdPlngProdMRPDmndPnlty
Consumption- Prod MRP Adv planning Std Demand Penalties
C_AdvncdPlngProdMRPDmndPnlty is a Consumption CDS View that provides data about "Consumption- Prod MRP Adv planning Std Demand Penalties" in SAP S/4HANA. It reads from 1 data source (I_AdvncdPlngProdMRPDmndPnltyTP) and exposes 15 fields with key fields Product, Plant, MRPArea, DemandType. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AdvncdPlngProdMRPDmndPnltyTP | _DemandPenalty | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | C_ProductPlantMRP | _MRPAreaData | $projection.Product = _MRPAreaData.Product and $projection.Plant = _MRPAreaData.Plant and $projection.MRPArea = _MRPAreaData.MRPArea |
| [1..1] | I_AdvncdPlngStdDemandTypeText | _Text | $projection.DemandType = _Text.DemandType and _Text.Language = $session.system_language |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Consumption- Prod MRP Adv planning Std Demand Penalties | view | |
| AbapCatalog.sqlViewName | CAPMRPPENALTY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Search.searchable | false | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Feature | SW:CIF_SWFS_PPDS_INT | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_AdvncdPlngProdMRPDmndPnltyTP | Product | Product Sold |
| KEY | Plant | I_AdvncdPlngProdMRPDmndPnltyTP | Plant | Valuation Area |
| KEY | MRPArea | I_AdvncdPlngProdMRPDmndPnltyTP | MRPArea | MRP Area |
| KEY | DemandType | I_AdvncdPlngProdMRPDmndPnltyTP | DemandType | Requirement Type |
| ProductForEdit | I_AdvncdPlngProdMRPDmndPnltyTP | ProductForEdit | Product | |
| PlantForEdit | I_AdvncdPlngProdMRPDmndPnltyTP | PlantForEdit | Plant ID | |
| MRPAreaForEdit | I_AdvncdPlngProdMRPDmndPnltyTP | MRPAreaForEdit | MRP Area | |
| DemandTypeForEdit | I_AdvncdPlngProdMRPDmndPnltyTP | DemandTypeForEdit | Requirement Type | |
| DelayPenaltyAmount | I_AdvncdPlngProdMRPDmndPnltyTP | DelayPenaltyAmount | ||
| MaximumDelayInDays | I_AdvncdPlngProdMRPDmndPnltyTP | MaximumDelayInDays | Max.DelayInDays | |
| NonDeliveryPenaltyAmount | I_AdvncdPlngProdMRPDmndPnltyTP | NonDeliveryPenaltyAmount | ||
| DemandTypeText | _Text | DemandTypeText | ||
| _Product | _Product | |||
| _MRPAreaData | _MRPAreaData | |||
| _Text | _Text |
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_AdvncdPlngProdMRPDmndPnlty.
-- 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: CAPMRPPENALTY
CREATE VIEW C_AdvncdPlngProdMRPDmndPnlty AS
SELECT
_DemandPenalty.Product AS Product,
_DemandPenalty.Plant AS Plant,
_DemandPenalty.MRPArea AS MRPArea,
_DemandPenalty.DemandType AS DemandType,
_DemandPenalty.ProductForEdit AS ProductForEdit,
_DemandPenalty.PlantForEdit AS PlantForEdit,
_DemandPenalty.MRPAreaForEdit AS MRPAreaForEdit,
_DemandPenalty.DemandTypeForEdit AS DemandTypeForEdit,
_DemandPenalty.DelayPenaltyAmount AS DelayPenaltyAmount,
_DemandPenalty.MaximumDelayInDays AS MaximumDelayInDays,
_DemandPenalty.NonDeliveryPenaltyAmount AS NonDeliveryPenaltyAmount,
_Text.DemandTypeText AS DemandTypeText
FROM I_AdvncdPlngProdMRPDmndPnltyTP AS _DemandPenalty
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN C_ProductPlantMRP AS _MRPAreaData ON Product = _MRPAreaData.Product AND Plant = _MRPAreaData.Plant AND MRPArea = _MRPAreaData.MRPArea -- association [1..1]
LEFT OUTER JOIN I_AdvncdPlngStdDemandTypeText AS _Text ON DemandType = _Text.DemandType AND _Text.Language = $session.system_language -- association [1..1]
;
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