P_PurchasingCategoryPlanSpend1

DDL: P_PURCHASINGCATEGORYPLANSPEND1 SQL: PPURCATPLANSPND1 Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

P_PurchasingCategoryPlanSpend1

P_PurchasingCategoryPlanSpend1 is a Consumption CDS View that provides data about "P_PurchasingCategoryPlanSpend1" in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, P_PurchasingCategoryPlannSpend) and exposes 8 fields. Part of development package ODATA_MM_ANALYTICS.

Data Sources (2)

SourceAliasJoin Type
I_CalendarDate Calendar left_outer
P_PurchasingCategoryPlannSpend P_PurchasingCategoryPlannSpend from

Parameters (1)

NameTypeDefault
P_DisplayCurrency displaycurrency

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPURCATPLANSPND1 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label P_PurchasingCategoryPlanSpend1 view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
PurgCatPlndSpendUUID PurgCatPlndSpendUUID
PurgCatUUID PurgCatUUID
CalendarYear I_CalendarDate CalendarYear Year
CalendarQuarter I_CalendarDate CalendarQuarter Calendar Quarter
YearQuarter I_CalendarDate YearQuarter Year Quarter
CalendarDate I_CalendarDate CalendarDate Calendar Date
TotalPlannedDays TotalPlannedDays
OverLapDays OverLapDays

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_PurchasingCategoryPlanSpend1.
-- 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: PPURCATPLANSPND1
-- Parameters: P_DisplayCurrency : displaycurrency

CREATE VIEW P_PurchasingCategoryPlanSpend1 AS
SELECT
  PurgCatPlndSpendUUID,
  PurgCatUUID,
  Calendar.CalendarYear AS CalendarYear,
  Calendar.CalendarQuarter AS CalendarQuarter,
  Calendar.YearQuarter AS YearQuarter,
  Calendar.CalendarDate AS CalendarDate,
  TotalPlannedDays,
  OverLapDays
FROM P_PurchasingCategoryPlannSpend
LEFT OUTER JOIN I_CalendarDate AS Calendar ON /* join condition not captured in parsed metadata */
;