P_DGR_Sttl_Final_Data

DDL: P_DGR_STTL_FINAL_DATA SQL: PDGRSTLFINALDATA Type: view COMPOSITE

P_DGR_Sttl_Final_Data is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_DGR_Sttl_First_Payment_Date, P_DGR_Sttl_PrepareData) and exposes 16 fields.

Data Sources (2)

SourceAliasJoin Type
P_DGR_Sttl_First_Payment_Date FirstPaymentDate left_outer
P_DGR_Sttl_PrepareData Sttl from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PDGRSTLFINALDATA view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view

Fields (16)

KeyFieldSource TableSource FieldDescription
SettlementUnitUUID P_DGR_Sttl_PrepareData SettlementUnitUUID
ApplicationUUID P_DGR_Sttl_PrepareData ApplicationUUID
ApplicationVersion P_DGR_Sttl_PrepareData ApplicationVersion
ContractNumber P_DGR_Sttl_PrepareData ContractNumber ContractNum
ContractItem P_DGR_Sttl_PrepareData ContractItem Purchase Contract Item
ContractCommodityItem P_DGR_Sttl_PrepareData ContractCommodityItem
SettlementCreatedOnDateTime P_DGR_Sttl_PrepareData SettlementCreatedOnDateTime
SettlementCreatedOnDate P_DGR_Sttl_PrepareData SettlementCreatedOnDate
SettlementStatus P_DGR_Sttl_PrepareData SettlementStatus Settl. Category
SettlementStatusObject P_DGR_Sttl_PrepareData SettlementStatusObject
ContractQtyCancellationUUID P_DGR_Sttl_PrepareData ContractQtyCancellationUUID
SettlementType P_DGR_Sttl_PrepareData SettlementType Settlement Type
SettlmtDoc P_DGR_Sttl_PrepareData SettlmtDoc Settlement Doc.
SettlmtDocYear P_DGR_Sttl_PrepareData SettlmtDocYear
StatusCode P_DGR_Sttl_PrepareData StatusCode Statuscode
SttlInvoicePaymentDateTime P_DGR_Sttl_First_Payment_Date SttlInvoicePaymentDateTime

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_DGR_Sttl_Final_Data.
-- 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: PDGRSTLFINALDATA

CREATE VIEW P_DGR_Sttl_Final_Data AS
SELECT
  Sttl.SettlementUnitUUID AS SettlementUnitUUID,
  Sttl.ApplicationUUID AS ApplicationUUID,
  Sttl.ApplicationVersion AS ApplicationVersion,
  Sttl.ContractNumber AS ContractNumber,
  Sttl.ContractItem AS ContractItem,
  Sttl.ContractCommodityItem AS ContractCommodityItem,
  Sttl.SettlementCreatedOnDateTime AS SettlementCreatedOnDateTime,
  Sttl.SettlementCreatedOnDate AS SettlementCreatedOnDate,
  Sttl.SettlementStatus AS SettlementStatus,
  Sttl.SettlementStatusObject AS SettlementStatusObject,
  Sttl.ContractQtyCancellationUUID AS ContractQtyCancellationUUID,
  Sttl.SettlementType AS SettlementType,
  Sttl.SettlmtDoc AS SettlmtDoc,
  Sttl.SettlmtDocYear AS SettlmtDocYear,
  Sttl.StatusCode AS StatusCode,
  FirstPaymentDate.SttlInvoicePaymentDateTime AS SttlInvoicePaymentDateTime
FROM P_DGR_Sttl_PrepareData AS Sttl
LEFT OUTER JOIN P_DGR_Sttl_First_Payment_Date AS FirstPaymentDate ON /* join condition not captured in parsed metadata */
;