P_DaysPyblOutstandingPurs04_1

DDL: P_DAYSPYBLOUTSTANDINGPURS04_1 SQL: PDPOPURS041 Type: view_entity COMPOSITE Package: FINS_FIS_APAR_APPS

Purchases04 for DPO app

P_DaysPyblOutstandingPurs04_1 is a Composite CDS View that provides data about "Purchases04 for DPO app" in SAP S/4HANA. It reads from 1 data source (P_DaysPyblOutstandingPurs03) and exposes 14 fields. Part of development package FINS_FIS_APAR_APPS.

Data Sources (1)

SourceAliasJoin Type
P_DaysPyblOutstandingPurs03 P_DaysPyblOutstandingPurs03 from

Parameters (5)

NameTypeDefault
P_PyblsRollingAverageMonths abap.int4
P_PursRollingAverageMonths abap.int4
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst
P_TodayDate sydate

Annotations (3)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (14)

KeyFieldSource TableSource FieldDescription
CompanyCode PURS CompanyCode Receiver Company Code
Supplier PURS Supplier Supplier
FinancialAccountType PURS FinancialAccountType Fin. Account Type
SpecialGLCode PURS SpecialGLCode Special G/L Ind
GLAccount PURS GLAccount General Ledger
CompanyCodeCurrency PURS CompanyCodeCurrency Local Currency
DisplayCurrency PURS DisplayCurrency Display Currency
CalendarYear PURS CalendarYear Year
CalendarMonth PURS CalendarMonth Calendar Month
YearMonth PURS YearMonth Year Month
FirstRollingMonth TS FirstRollingMonth
LastRollingMonth TS LastRollingMonth
PurchasesInDisplayCrcy PURS PurchasesInDisplayCrcy
PursRollingAverageMonths TS PursRollingAverageMonths

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_DaysPyblOutstandingPurs04_1.
-- 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: PDPOPURS041
-- Parameters: P_PyblsRollingAverageMonths : abap.int4, P_PursRollingAverageMonths : abap.int4, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst, P_TodayDate : sydate

CREATE VIEW P_DaysPyblOutstandingPurs04_1 AS
SELECT
  PURS.CompanyCode AS CompanyCode,
  PURS.Supplier AS Supplier,
  PURS.FinancialAccountType AS FinancialAccountType,
  PURS.SpecialGLCode AS SpecialGLCode,
  PURS.GLAccount AS GLAccount,
  PURS.CompanyCodeCurrency AS CompanyCodeCurrency,
  PURS.DisplayCurrency AS DisplayCurrency,
  PURS.CalendarYear AS CalendarYear,
  PURS.CalendarMonth AS CalendarMonth,
  PURS.YearMonth AS YearMonth,
  TS.FirstRollingMonth AS FirstRollingMonth,
  TS.LastRollingMonth AS LastRollingMonth,
  PURS.PurchasesInDisplayCrcy AS PurchasesInDisplayCrcy,
  TS.PursRollingAverageMonths AS PursRollingAverageMonths
FROM P_DaysPyblOutstandingPurs03
;