P_GLDaysPyblOutStdgIndrctOvw

DDL: P_GLDAYSPYBLOUTSTDGINDRCTOVW SQL: PGLDPOIND Type: view COMPOSITE Package: ODATA_GL_OVP

GL DPO Indirect Ovw

P_GLDaysPyblOutStdgIndrctOvw is a Composite CDS View that provides data about "GL DPO Indirect Ovw" in SAP S/4HANA. It reads from 2 data sources (I_DaysPayablesOutstanding, I_DaysPayablesOutstanding) and exposes 30 fields with key field YearMonth. Part of development package ODATA_GL_OVP.

Data Sources (2)

SourceAliasJoin Type
I_DaysPayablesOutstanding I_DaysPayablesOutstanding from
I_DaysPayablesOutstanding I_DaysPayablesOutstanding union_all

Parameters (3)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency
P_KeyDate vdm_v_key_date
P_StartDate sydate

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PGLDPOIND view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY YearMonth YearMonth Year Month
CreditAmtInDisplayCrcy CreditAmtInDisplayCrcy
PurchaseAmtInDisplayCrcy PurchaseAmtInDisplayCrcy
CreditAmtFromLastYearInDspCrcy
PurAmtFrmLastYearInDisplayCrcy
DurationUnit DurationUnit Unit
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
SupplierAccountGroup SupplierAccountGroup Account group
AuthorizationGroup AuthorizationGroup AuthorizGroup
SupplierFinsAuthorizationGrp SupplierFinsAuthorizationGrp AuthorizGroup
CalendarMonthName
P_KeyDate6FAIL
1 1
P_PurRollingAverageMonths1
P_StartDate
P_DisplayCurrency
P_ExchangeRateTypeMkeyYearMonth
CreditAmtInDisplayCrcy
PurchaseAmtInDisplayCrcy
CreditAmtFromLastYearInDspCrcy CreditAmtInDisplayCrcy
PurAmtFrmLastYearInDisplayCrcy PurchaseAmtInDisplayCrcy
DurationUnit DurationUnit Unit
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
SupplierAccountGroup SupplierAccountGroup Account group
AuthorizationGroup AuthorizationGroup AuthorizGroup
SupplierFinsAuthorizationGrp SupplierFinsAuthorizationGrp AuthorizGroup
CalendarMonthName
CalendarMonth

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_GLDaysPyblOutStdgIndrctOvw.
-- 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: PGLDPOIND
-- Parameters: P_DisplayCurrency : vdm_v_display_currency, P_KeyDate : vdm_v_key_date, P_StartDate : sydate

CREATE VIEW P_GLDaysPyblOutStdgIndrctOvw AS
SELECT
  YearMonth,
  CreditAmtInDisplayCrcy,
  PurchaseAmtInDisplayCrcy,
  cast (0 as abap.curr( 27, 6 )) AS CreditAmtFromLastYearInDspCrcy,
  cast (0 as abap.curr( 27, 6 )) AS PurAmtFrmLastYearInDisplayCrcy,
  DurationUnit,
  CompanyCode,
  Supplier,
  SupplierAccountGroup,
  AuthorizationGroup,
  SupplierFinsAuthorizationGrp,
  _CalendarMonth._Text[1: Language = $session.system_language ].CalendarMonthName AS CalendarMonthName,
  cast (_CalendarMonth.CalendarMonth as int1) as CalendarMonth AS P_KeyDate6FAIL,
  1,
  P_PurRollingAverageMonths: 1 AS P_PurRollingAverageMonths1,
  P_TodayDate: $parameters.P_StartDate AS P_StartDate,
  P_DisplayCurrency: $parameters.P_DisplayCurrency AS P_DisplayCurrency,
  cast (_CalendarMonth.CalendarMonth as int1) AS CalendarMonth
FROM I_DaysPayablesOutstanding
-- UNION ALL with additional select branch(es): I_DaysPayablesOutstanding
;