C_GHOPrevPerdAllocRunChart

DDL: C_GHOPREVPERDALLOCRUNCHART Type: view_entity CONSUMPTION

Prev Period Alloc Summary Chart

C_GHOPrevPerdAllocRunChart is a Consumption CDS View that provides data about "Prev Period Alloc Summary Chart" in SAP S/4HANA. It reads from 1 data source (I_GHOAllocPrevProdnDates) and exposes 14 fields with key fields AllocationRunID, PrevPeriodAllocationRunUUID, GHOQuantityCategory, ProdnAllocDateTime, PrevProdnAllocDateTime. It is exposed through 1 OData service (UI_GHO_PRODNALLOCATIONRUNLIST).

Data Sources (1)

SourceAliasJoin Type
I_GHOAllocPrevProdnDates I_GHOAllocPrevProdnDates from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Prev Period Alloc Summary Chart view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY AllocationRunID AllocationRunID
KEY PrevPeriodAllocationRunUUID _PrevPerdAlloc PrevPeriodAllocationRunUUID
KEY GHOQuantityCategory
KEY ProdnAllocDateTime ProdnAllocDateTime
KEY PrevProdnAllocDateTime PrevProdnAllocDateTime
KEY AllocationRuleUnitOfMsmt AllocationRuleUnitOfMsmt
ProductionDate ProductionDate Production Date
PrevProductionDate PrevProductionDate
GHONetworkID GHONetworkID Netw Object ID
NetworkMedium NetworkMedium Medium ID
AllocationFrequencyCode AllocationFrequencyCode Frequency ID
GHOAllocationQuantity _PrevPerdAlloc GHOAllocationQuantity
GHOQuantityCategoryText GHOQuantityCategoryText
GHOPrevProdnChangedDateTime _PrevPerdAlloc GHOPrevProdnChangedDateTime

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_GHOPrevPerdAllocRunChart.
-- 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 C_GHOPrevPerdAllocRunChart AS
SELECT
  AllocationRunID,
  _PrevPerdAlloc.PrevPeriodAllocationRunUUID AS PrevPeriodAllocationRunUUID,
  cast(GHOQuantityCategory as gho_quantity_category_id preserving type ) AS GHOQuantityCategory,
  ProdnAllocDateTime,
  PrevProdnAllocDateTime,
  AllocationRuleUnitOfMsmt,
  ProductionDate,
  PrevProductionDate,
  GHONetworkID,
  NetworkMedium,
  AllocationFrequencyCode,
  _PrevPerdAlloc.GHOAllocationQuantity AS GHOAllocationQuantity,
  GHOQuantityCategoryText,
  _PrevPerdAlloc.GHOPrevProdnChangedDateTime AS GHOPrevProdnChangedDateTime
FROM I_GHOAllocPrevProdnDates
;