P_IL_DepositDocument01

DDL: P_IL_DEPOSITDOCUMENT01 Type: view_entity COMPOSITE Package: RAP_GLO_FIN_CASH_IL_DEPDOCMGMT

Deposit Documents Viewer

P_IL_DepositDocument01 is a Composite CDS View that provides data about "Deposit Documents Viewer" in SAP S/4HANA. It reads from 2 data sources (I_JournalEntry, I_IL_PaymentItem) and exposes 6 fields with key fields CompanyCode, FiscalYear, AccountingDocument. Part of development package RAP_GLO_FIN_CASH_IL_DEPDOCMGMT.

Data Sources (2)

SourceAliasJoin Type
I_JournalEntry Document from
I_IL_PaymentItem PaymentItem inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Deposit Documents Viewer view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_JournalEntry CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntry FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntry AccountingDocument Journal Entry
TransactionCurrency I_IL_PaymentItem TransactionCurrency Transaction Currency
NumberOfCheques
IL_CashNumberKey I_IL_PaymentItem IL_CashNumberKey Cash Number

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_IL_DepositDocument01.
-- 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.

CREATE VIEW P_IL_DepositDocument01 AS
SELECT
  Document.CompanyCode AS CompanyCode,
  Document.FiscalYear AS FiscalYear,
  Document.AccountingDocument AS AccountingDocument,
  PaymentItem.TransactionCurrency AS TransactionCurrency,
  cast( count( * ) as gsfincsil_cheques_count preserving type ) AS NumberOfCheques,
  PaymentItem.IL_CashNumberKey AS IL_CashNumberKey
FROM I_JournalEntry AS Document
INNER JOIN I_IL_PaymentItem AS PaymentItem ON /* join condition not captured in parsed metadata */
;