C_AdvncdPlngProdMRPDmndPnlty

DDL: C_ADVNCDPLNGPRODMRPDMNDPNLTY SQL: CAPMRPPENALTY Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_AdvncdPlngProdMRPDmndPnltyTP _DemandPenalty from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;