C_PMRPCapacityRow

DDL: C_PMRPCAPACITYROW SQL: CPMRPCAPROW Type: view CONSUMPTION

Capacity Plan Simulation Rows

C_PMRPCapacityRow is a Consumption CDS View that provides data about "Capacity Plan Simulation Rows" in SAP S/4HANA. It has 1 association to related views. It is exposed through 1 OData service (PMRP_CAPACITY_SERVICEDEF).

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_PMRPCapacityColumn _PMRPCapacityColumn $projection.PMRPSimulation = _PMRPCapacityColumn.PMRPSimulation and $projection.PMRPResourceInternalID = _PMRPCapacityColumn.PMRPResourceInternalID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CPMRPCAPROW view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Capacity Plan Simulation Rows view

OData Services (1)

ServiceBindingVersionContractRelease
PMRP_CAPACITY_SERVICEDEF PMRP_CAPACITY_SERVICE V2 C1 NOT_RELEASED

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY PMRPResourceInternalID PMRPResourceInternalID
Plant Plant Valuation Area
WorkCenter WorkCenter Work Center
CapacityCategory CapacityCategory
CapacityCriticality
PlantName PlantName Plant Name
PMRPReferencePlan PMRPReferencePlan
CapacityCategoryName CapacityCategoryName
PMRPWorkCenterText PMRPWorkCenterText
PMRPResourceName PMRPResourceName
CapacityText CapacityText
PMRPSimulationStatus PMRPSimulationStatus
PMRPBucketCategory PMRPBucketCategory
_PMRPCapacityColumn _PMRPCapacityColumn

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_PMRPCapacityRow.
-- 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: CPMRPCAPROW

CREATE VIEW C_PMRPCapacityRow AS
SELECT
  PMRPSimulation,
  PMRPResourceInternalID,
  Plant,
  WorkCenter,
  CapacityCategory,
  max( CapacityCriticality ) AS CapacityCriticality,
  PlantName,
  PMRPReferencePlan,
  CapacityCategoryName,
  PMRPWorkCenterText,
  PMRPResourceName,
  CapacityText,
  PMRPSimulationStatus,
  PMRPBucketCategory
LEFT OUTER JOIN C_PMRPCapacityColumn AS _PMRPCapacityColumn ON PMRPSimulation = _PMRPCapacityColumn.PMRPSimulation AND PMRPResourceInternalID = _PMRPCapacityColumn.PMRPResourceInternalID  -- association [1..*]
;