P_RU_ReltdSupplierInvoiceItem1

DDL: P_RU_RELTDSUPPLIERINVOICEITEM1 SQL: PRURLSUPINVITEM1 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

Related Supplier Invoice Items from the same Purch Doc-1

P_RU_ReltdSupplierInvoiceItem1 is a Consumption CDS View that provides data about "Related Supplier Invoice Items from the same Purch Doc-1" in SAP S/4HANA. It reads from 3 data sources (I_PurchaseOrderHistoryBasic, I_SupplierInvoice, I_PurchaseOrderHistoryBasic) and exposes 11 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (3)

SourceAliasJoin Type
I_PurchaseOrderHistoryBasic RelatedPurchDocItemHist inner
I_SupplierInvoice RelatedSupplInvoice inner
I_PurchaseOrderHistoryBasic SourcePurchDocItemHist from

Annotations (6)

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

Fields (11)

KeyFieldSource TableSource FieldDescription
CentralFinanceSupplierInvoice I_PurchaseOrderHistoryBasic PurchasingHistoryDocument
CFinSupplierInvoiceItem I_PurchaseOrderHistoryBasic PurchasingHistoryDocumentItem
FiscalYear I_PurchaseOrderHistoryBasic PurchasingHistoryDocumentYear
PurchasingHistoryCategory I_PurchaseOrderHistoryBasic PurchasingHistoryCategory
CFinPurchasingDocument I_PurchaseOrderHistoryBasic PurchaseOrder Purchasing Document
CFinPurchasingDocumentItem I_PurchaseOrderHistoryBasic PurchaseOrderItem Purchasing Document Item
RelatedCFinSupplierInvoice I_PurchaseOrderHistoryBasic PurchasingHistoryDocument
RelatedCFinSupplierInvoiceItem I_PurchaseOrderHistoryBasic PurchasingHistoryDocumentItem
RelatedFiscalYear I_PurchaseOrderHistoryBasic PurchasingHistoryDocumentYear
RelatedPurchHistoryCategory I_PurchaseOrderHistoryBasic PurchasingHistoryCategory
RelatedSupplier I_SupplierInvoice InvoicingParty Supplier

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_ReltdSupplierInvoiceItem1.
-- 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: PRURLSUPINVITEM1

CREATE VIEW P_RU_ReltdSupplierInvoiceItem1 AS
SELECT
  SourcePurchDocItemHist.PurchasingHistoryDocument AS CentralFinanceSupplierInvoice,
  SourcePurchDocItemHist.PurchasingHistoryDocumentItem AS CFinSupplierInvoiceItem,
  SourcePurchDocItemHist.PurchasingHistoryDocumentYear AS FiscalYear,
  SourcePurchDocItemHist.PurchasingHistoryCategory AS PurchasingHistoryCategory,
  SourcePurchDocItemHist.PurchaseOrder AS CFinPurchasingDocument,
  SourcePurchDocItemHist.PurchaseOrderItem AS CFinPurchasingDocumentItem,
  RelatedPurchDocItemHist.PurchasingHistoryDocument AS RelatedCFinSupplierInvoice,
  RelatedPurchDocItemHist.PurchasingHistoryDocumentItem AS RelatedCFinSupplierInvoiceItem,
  RelatedPurchDocItemHist.PurchasingHistoryDocumentYear AS RelatedFiscalYear,
  RelatedPurchDocItemHist.PurchasingHistoryCategory AS RelatedPurchHistoryCategory,
  RelatedSupplInvoice.InvoicingParty AS RelatedSupplier
FROM I_PurchaseOrderHistoryBasic AS SourcePurchDocItemHist
INNER JOIN I_PurchaseOrderHistoryBasic AS RelatedPurchDocItemHist ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupplierInvoice AS RelatedSupplInvoice ON /* join condition not captured in parsed metadata */
;