P_RU_VATInvcJrnlLinkIncgInvc

DDL: P_RU_VATINVCJRNLLINKINCGINVC SQL: PRUVATINVJLI Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU_INVJOURNAL

Invoice Linking: Incoming invoices

P_RU_VATInvcJrnlLinkIncgInvc is a Consumption CDS View that provides data about "Invoice Linking: Incoming invoices" in SAP S/4HANA. It reads from 2 data sources (I_JournalEntry, P_RU_BSET) and exposes 8 fields. Part of development package GLO_FIN_IS_VAT_RU_INVJOURNAL.

Data Sources (2)

SourceAliasJoin Type
I_JournalEntry AccountingDocument inner
P_RU_BSET TaxItem inner

Annotations (6)

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

Fields (8)

KeyFieldSource TableSource FieldDescription
CompanyCode I_JournalEntry CompanyCode Receiver Company Code
AccountingDocument I_JournalEntry AccountingDocument Journal Entry
FiscalYear I_JournalEntry FiscalYear G/L Fiscal Year
RU_VATReturnVersion VATReportingCust RU_VATReturnVersion VAT Return Version
RU_VATReturnSectionType VATReportingCust RU_VATReturnSectionType Section Type
RU_VATSubScenarioVersion VATReportingCust RU_VATSubScenarioVersion Subscenario Version
RU_VATSubScenario VATReportingCust RU_VATSubScenario Subscenario
RU_SupplierOutputType VATReportingCust RU_SupplierOutputType

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_VATInvcJrnlLinkIncgInvc.
-- 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: PRUVATINVJLI

CREATE VIEW P_RU_VATInvcJrnlLinkIncgInvc AS
SELECT
  AccountingDocument.CompanyCode AS CompanyCode,
  AccountingDocument.AccountingDocument AS AccountingDocument,
  AccountingDocument.FiscalYear AS FiscalYear,
  VATReportingCust.RU_VATReturnVersion AS RU_VATReturnVersion,
  VATReportingCust.RU_VATReturnSectionType AS RU_VATReturnSectionType,
  VATReportingCust.RU_VATSubScenarioVersion AS RU_VATSubScenarioVersion,
  VATReportingCust.RU_VATSubScenario AS RU_VATSubScenario,
  VATReportingCust.RU_SupplierOutputType AS RU_SupplierOutputType
INNER JOIN P_RU_BSET AS TaxItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_JournalEntry AS AccountingDocument ON /* join condition not captured in parsed metadata */
;