P_RU_InvoiceClearingDocItem

DDL: P_RU_INVOICECLEARINGDOCITEM SQL: PRUINVCLRDOCIT Type: view CONSUMPTION

P_RU_InvoiceClearingDocItem is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 7 fields.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUINVCLRDOCIT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
ClearingAccountingDocument ClearingJournalEntry Clrng doc.
ClearingDocFiscalYear ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
InvoiceReference InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year

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_RU_InvoiceClearingDocItem.
-- 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: PRUINVCLRDOCIT

CREATE VIEW P_RU_InvoiceClearingDocItem AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  ClearingJournalEntry AS ClearingAccountingDocument,
  ClearingJournalEntryFiscalYear AS ClearingDocFiscalYear,
  InvoiceReference,
  InvoiceReferenceFiscalYear
FROM I_OperationalAcctgDocItem
;