I_PMRPSimlnCapacityRqmtBasic
pMRP capacity requirement
I_PMRPSimlnCapacityRqmtBasic is a Basic CDS View that provides data about "pMRP capacity requirement" in SAP S/4HANA. It reads from 1 data source (pmrp_capreq) and exposes 15 fields with key fields PMRPSimulation, CapacityRequirementInternalID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_capreq | pmrp_capreq | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PMRPSimulation | _Simulation | _Simulation.PMRPSimulation = $projection.PMRPSimulation |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | pMRP capacity requirement | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | simulation_id | Simulation ID | |
| KEY | CapacityRequirementInternalID | capreq_id | Cap Rqmt ID | |
| PMRPResourceInternalID | resource_id | UUID Internal | ||
| BucketInternalID | bucket_id | Bucket ID | ||
| CapacityBaseQtyUnit | ||||
| PMRPCapacityDemandQtyInSeconds | Capacity Demand | |||
| PMRPStandardFixWorkQty | Fix Demand | |||
| PMRPStandardVariableWorkQty | Variable Demand | |||
| PMRPDurationInBucket | bucket_days | Duration in Bucket | ||
| PMRPTotalDuration | total_days | Total Duration | ||
| ReceiptInternalID | trigger_receipt_id | ID of Receipt | ||
| TopLevelDemandInternalID | tld_id | Top-Level Demand ID | ||
| PMRPReceiptIsFromPullIn | is_from_preproduction | TRUE | ||
| PMRPCapRqmtBcktTopLvlDmndFctr | scale_factor_tld | Scale from Top Level Domain to Element | ||
| _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 I_PMRPSimlnCapacityRqmtBasic.
-- 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 I_PMRPSimlnCapacityRqmtBasic AS
SELECT
simulation_id AS PMRPSimulation,
capreq_id AS CapacityRequirementInternalID,
resource_id AS PMRPResourceInternalID,
bucket_id AS BucketInternalID,
cast('S' as kapbasis) AS CapacityBaseQtyUnit,
cast ( capacity_demand as pmrp_capacity_rqmt_qty ) AS PMRPCapacityDemandQtyInSeconds,
cast( fix_demand as pmrp_fix_dmnd_qty ) AS PMRPStandardFixWorkQty,
cast ( var_demand as pmrp_var_dmnd_qty ) AS PMRPStandardVariableWorkQty,
bucket_days AS PMRPDurationInBucket,
total_days AS PMRPTotalDuration,
trigger_receipt_id AS ReceiptInternalID,
tld_id AS TopLevelDemandInternalID,
is_from_preproduction AS PMRPReceiptIsFromPullIn,
scale_factor_tld AS PMRPCapRqmtBcktTopLvlDmndFctr
FROM pmrp_capreq
LEFT OUTER JOIN I_PMRPSimulation AS _Simulation ON _Simulation.PMRPSimulation = PMRPSimulation -- 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