P_PurgCatPlndSpndItems

DDL: P_PURGCATPLNDSPNDITEMS SQL: PURCPLNDSPEND1 Type: view CONSUMPTION

Planned Spend with PO Items

P_PurgCatPlndSpndItems is a Consumption CDS View that provides data about "Planned Spend with PO Items" in SAP S/4HANA. It reads from 1 data source (P_PurgCatPlanSpendPerQuater) and exposes 5 fields with key fields PurgCatUUID, CalendarYear, CalendarQuarter.

Data Sources (1)

SourceAliasJoin Type
P_PurgCatPlanSpendPerQuater P_PurgCatPlanSpendPerQuater from

Parameters (1)

NameTypeDefault
P_DisplayCurrency displaycurrency

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PURCPLNDSPEND1 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Planned Spend with PO Items view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurgCatUUID PurgCatUUID
KEY CalendarYear CalendarYear Year
KEY CalendarQuarter CalendarQuarter Calendar Quarter
YearQuarter YearQuarter Year Quarter
PlannedSpendPerQuater

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_PurgCatPlndSpndItems.
-- 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: PURCPLNDSPEND1
-- Parameters: P_DisplayCurrency : displaycurrency

CREATE VIEW P_PurgCatPlndSpndItems AS
SELECT
  PurgCatUUID,
  CalendarYear,
  CalendarQuarter,
  YearQuarter,
  round(PlannedSpendPerQuater , 0) AS PlannedSpendPerQuater
FROM P_PurgCatPlanSpendPerQuater
;