P_PMRPSimlnCapacityRqmt

DDL: P_PMRPSIMLNCAPACITYRQMT Type: view_entity COMPOSITE

P_PMRPSimlnCapacityRqmt is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_PMRPSimlnCapacityRqmtBasic) and exposes 14 fields with key fields PMRPSimulation, ReceiptInternalID, PMRPResourceInternalID, BucketInternalID, CapacityRequirementInternalID.

Data Sources (1)

SourceAliasJoin Type
I_PMRPSimlnCapacityRqmtBasic I_PMRPSimlnCapacityRqmtBasic from

Annotations (5)

NameValueLevelField
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY ReceiptInternalID ReceiptInternalID Receipt ID
KEY PMRPResourceInternalID PMRPResourceInternalID UUID Internal
KEY BucketInternalID BucketInternalID Bucket ID
KEY CapacityRequirementInternalID CapacityRequirementInternalID Cap Rqmt ID
PMRPCapacityDemandQtyInSeconds
CapacityBaseQtyUnit CapacityBaseQtyUnit
TopLevelDemandInternalID TopLevelDemandInternalID Top-Level Demand ID
PMRPReceiptIsFromPullIn PMRPReceiptIsFromPullIn TRUE
PMRPCapRqmtBcktTopLvlDmndFctr PMRPCapRqmtBcktTopLvlDmndFctr Scale from Top Level Domain to Element
PMRPStandardVariableWorkQty PMRPStandardVariableWorkQty
PMRPTotalDuration PMRPTotalDuration Total Duration
PMRPDurationInBucket PMRPDurationInBucket Duration in Bucket
_Simulation _Simulation

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_PMRPSimlnCapacityRqmt.
-- 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 P_PMRPSimlnCapacityRqmt AS
SELECT
  PMRPSimulation,
  ReceiptInternalID,
  PMRPResourceInternalID,
  BucketInternalID,
  CapacityRequirementInternalID,
  get_numeric_value ( PMRPCapacityDemandQtyInSeconds ) AS PMRPCapacityDemandQtyInSeconds,
  CapacityBaseQtyUnit,
  TopLevelDemandInternalID,
  PMRPReceiptIsFromPullIn,
  PMRPCapRqmtBcktTopLvlDmndFctr,
  PMRPStandardVariableWorkQty,
  PMRPTotalDuration,
  PMRPDurationInBucket
FROM I_PMRPSimlnCapacityRqmtBasic
;