I_PMRPCapacityChangeProposal

DDL: I_PMRPCAPACITYCHANGEPROPOSAL Type: view_entity BASIC

PMRP Capacity Change Proposal

I_PMRPCapacityChangeProposal is a Basic CDS View that provides data about "PMRP Capacity Change Proposal" in SAP S/4HANA. It reads from 1 data source (pmrp_capchgprpsl) and exposes 9 fields with key fields PMRPResourceInternalID, BucketInternalID.

Data Sources (1)

SourceAliasJoin Type
pmrp_capchgprpsl pmrp_capchgprpsl from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label PMRP Capacity Change Proposal view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PMRPResourceInternalID resource_id UUID Internal
KEY BucketInternalID bucket_id Bucket ID
PMRPReferencePlan reference_id Reference No.
AdaptedCapacityRateInPercent mod_factor Modification Factor
PMRPRefCapacityInSec capacity Engine Capacity
PMRPAvailableCapacityInSeconds
PMRPCapacityDemandQtyInSeconds capacity_demand Capacity Demand
PMRPChgPrpslProcessingStatus change_status The status of a Change proposal generated by PMRP
_Bucket _Bucket

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_PMRPCapacityChangeProposal.
-- 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_PMRPCapacityChangeProposal AS
SELECT
  resource_id AS PMRPResourceInternalID,
  bucket_id AS BucketInternalID,
  reference_id AS PMRPReferencePlan,
  mod_factor AS AdaptedCapacityRateInPercent,
  capacity AS PMRPRefCapacityInSec,
  cast( capacity * mod_factor / 100 as pmrp_capacity ) AS PMRPAvailableCapacityInSeconds,
  capacity_demand AS PMRPCapacityDemandQtyInSeconds,
  change_status AS PMRPChgPrpslProcessingStatus
FROM pmrp_capchgprpsl
;