C_PMRPCapacityRow

DDL: C_PMRPCAPACITYROW Type: view_entity CONSUMPTION Package: PMRP_UI_SERVICES

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 4 OData services (ASQL_F3934, ASQL_F3952, ASQL_F4157, ...). Part of development package PMRP_UI_SERVICES.

Associations (1)

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

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK 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 (4)

ServiceBindingVersionContractRelease
ASQL_F3934 ASQL_F3934 C2 NOT_RELEASED
ASQL_F3952 ASQL_F3952 C2 NOT_RELEASED
ASQL_F4157 ASQL_F4157 C2 NOT_RELEASED
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.

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..*]
;