P_DaysSalesOutstandingSales03

DDL: P_DAYSSALESOUTSTANDINGSALES03 SQL: PDSOSLS03 Type: view COMPOSITE

P_DaysSalesOutstandingSales03 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, P_DaysSalesOutstandingSales02) and exposes 11 fields.

Data Sources (2)

SourceAliasJoin Type
I_CalendarDate CD left_outer
P_DaysSalesOutstandingSales02 P_DaysSalesOutstandingSales02 from

Parameters (3)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst
P_TodayDate sydate

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PDSOSLS03 view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
Customer Customer Sold-to Party
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
GLAccount GLAccount General Ledger
CalendarYear CalendarYear Year
CalendarMonth CalendarMonth Calendar Month
YearMonth YearMonth Year Month
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DisplayCurrency DisplayCurrency Display Currency
RevenueInDisplayCrcy

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_DaysSalesOutstandingSales03.
-- 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: PDSOSLS03
-- Parameters: P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst, P_TodayDate : sydate

CREATE VIEW P_DaysSalesOutstandingSales03 AS
SELECT
  CompanyCode,
  Customer,
  FinancialAccountType,
  SpecialGLCode,
  GLAccount,
  CalendarYear,
  CalendarMonth,
  YearMonth,
  CompanyCodeCurrency,
  DisplayCurrency,
  sum(RevenueInDisplayCrcy) AS RevenueInDisplayCrcy
FROM P_DaysSalesOutstandingSales02
LEFT OUTER JOIN I_CalendarDate AS CD ON /* join condition not captured in parsed metadata */
;