P_SDMCAPACITYPPOCMIGRATION

DDL: P_SDMCAPACITYPPOCMIGRATION SQL: PSDMPPOC Type: view BASIC

SDM CDS for Capacity PPOC Migration

P_SDMCAPACITYPPOCMIGRATION is a Basic CDS View that provides data about "SDM CDS for Capacity PPOC Migration" in SAP S/4HANA. It reads from 3 data sources (kako, /sapapo/res_head, /sapapo/reskey) and exposes 8 fields with key field CapacityID.

Data Sources (3)

SourceAliasJoin Type
kako _CapacityHeader from
/sapapo/res_head _ResourceHead inner
/sapapo/reskey _ResourceKey inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PSDMPPOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SDM CDS for Capacity PPOC Migration view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CapacityID kako kapid Capacity ID
OffsetWrtCurrDate _ResourcePpoc offset_wrt_curr_date Offset (in days)
NormalCapCost _ResourcePpoc normal_cap_cost Normal Cap. Cost
MinimumCapCost _ResourcePpoc minimum_cap_cost Min. Cap. Penalty
ExtendedCapCost _ResourcePpoc extended_cap_cost Extd. Cap. Charges
MinimumCapUtil _ResourcePpoc minimum_cap_util Minimum Capacity(%)
ExtendedCapUtil _ResourcePpoc extended_cap_util Cap. Extension(%)
CampaignPpo /sapapo/res_head campaign_snp Period Lot Size

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_SDMCAPACITYPPOCMIGRATION.
-- 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.
-- SQL view name: PSDMPPOC

CREATE VIEW P_SDMCAPACITYPPOCMIGRATION AS
SELECT
  _CapacityHeader.kapid AS CapacityID,
  _ResourcePpoc.offset_wrt_curr_date AS OffsetWrtCurrDate,
  _ResourcePpoc.normal_cap_cost AS NormalCapCost,
  _ResourcePpoc.minimum_cap_cost AS MinimumCapCost,
  _ResourcePpoc.extended_cap_cost AS ExtendedCapCost,
  _ResourcePpoc.minimum_cap_util AS MinimumCapUtil,
  _ResourcePpoc.extended_cap_util AS ExtendedCapUtil,
  _ResourceHead.campaign_snp AS CampaignPpo
FROM kako AS _CapacityHeader
INNER JOIN /sapapo/reskey AS _ResourceKey ON /* join condition not captured in parsed metadata */
INNER JOIN /sapapo/res_head AS _ResourceHead ON /* join condition not captured in parsed metadata */
;