C_PMRPCapacityInspectorPanel
Inspector panel for capacity
C_PMRPCapacityInspectorPanel is a Consumption CDS View that provides data about "Inspector panel for capacity" in SAP S/4HANA. It reads from 1 data source (R_PMRPRsceBcktAggrgdHierNode) and exposes 17 fields with key fields PMRPSimulation, PMRPNodeID, PMRPRsceGrpHierNodeType, CapacityCategory, BucketInternalID. 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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PMRPRsceBcktAggrgdHierNode | R_PMRPRsceBcktAggrgdHierNode | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_PMRPSimulation | pmrp_simulation_id | |
| P_BucketInternalID | pmrp_bucket_id | |
| P_PMRPParentNodeID | cr_objid |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_WorkCenterGroup | _WorkCenterGroupType | _WorkCenterGroupType.WorkCenterGroupTypeCode = $projection.PMRPRsceGrpHierNodeType and _WorkCenterGroupType.WorkCenterGroupInternalID = $projection.PMRPNodeID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inspector panel for capacity | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
OData Services (4)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| 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 (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | PMRPSimulation | Simulation ID | |
| KEY | PMRPNodeID | PMRPNodeID | Receipt ID | |
| KEY | PMRPRsceGrpHierNodeType | PMRPRsceGrpHierNodeType | ||
| KEY | CapacityCategory | CapacityCategory | ||
| KEY | BucketInternalID | BucketInternalID | Bucket ID | |
| PMRPParentNodeID | PMRPParentNodeID | |||
| PMRPRsceGrpHierParentNodeType | PMRPRsceGrpHierParentNodeType | |||
| PMRPResourceInternalID | ||||
| PMRPAvailableCapacity | PMRPAvailableCapacity | |||
| PMRPCapacityDemandQuantity | PMRPCapacityDemandQuantity | |||
| PMRPCapacityDeltaQty | ||||
| CapacityQuantityUnit | CapacityQuantityUnit | |||
| PMRPResourceDisregardIssStatus | PMRPResourceDisregardIssStatus | |||
| PMRPReferencePlan | PMRPReferencePlan | |||
| Plant | Plant | Valuation Area | ||
| PMRPBucketCategory | ||||
| WorkCenterendasWorkCenter |
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_PMRPCapacityInspectorPanel.
-- 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.
-- Parameters: P_PMRPSimulation : pmrp_simulation_id, P_BucketInternalID : pmrp_bucket_id, P_PMRPParentNodeID : cr_objid
CREATE VIEW C_PMRPCapacityInspectorPanel AS
SELECT
PMRPSimulation,
PMRPNodeID,
PMRPRsceGrpHierNodeType,
CapacityCategory,
BucketInternalID,
PMRPParentNodeID,
PMRPRsceGrpHierParentNodeType,
R_PMRPRsceBcktAggrgdHierNode._Resource.PMRPResourceInternalID AS PMRPResourceInternalID,
PMRPAvailableCapacity,
PMRPCapacityDemandQuantity,
PMRPAvailableCapacity - PMRPCapacityDemandQuantity AS PMRPCapacityDeltaQty,
CapacityQuantityUnit,
PMRPResourceDisregardIssStatus,
PMRPReferencePlan,
Plant,
R_PMRPRsceBcktAggrgdHierNode._Bucket.PMRPBucketCategory AS PMRPBucketCategory,
case when PMRPRsceGrpHierNodeType = 'G' then _WorkCenterGroupType.WorkCenterGroup else R_PMRPRsceBcktAggrgdHierNode._Resource.WorkCenter end as WorkCenter AS WorkCenterendasWorkCenter
FROM R_PMRPRsceBcktAggrgdHierNode
LEFT OUTER JOIN I_WorkCenterGroup AS _WorkCenterGroupType ON _WorkCenterGroupType.WorkCenterGroupTypeCode = PMRPRsceGrpHierNodeType AND _WorkCenterGroupType.WorkCenterGroupInternalID = PMRPNodeID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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