P_RU_ImprtSupplier1

DDL: P_RU_IMPRTSUPPLIER1 SQL: PRUIMPSUPPLIER1 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

S/P Ledgers: Import Supplier1

P_RU_ImprtSupplier1 is a Consumption CDS View that provides data about "S/P Ledgers: Import Supplier1" in SAP S/4HANA. It reads from 5 data sources (P_RU_AcctgDocReferenceID, P_RU_AcctgDocReferenceID, P_RU_AcctgDocReferenceID, P_RU_ReltdSupplierInvoiceItem, P_RU_SupplierInvoice) and exposes 9 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (5)

SourceAliasJoin Type
P_RU_AcctgDocReferenceID AccDoc union_all
P_RU_AcctgDocReferenceID AccDocINV inner
P_RU_AcctgDocReferenceID AccDocVAT from
P_RU_ReltdSupplierInvoiceItem ReltdSuplInvc inner
P_RU_SupplierInvoice SupplInvoice inner

Annotations (6)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
CompanyCode P_RU_AcctgDocReferenceID CompanyCode Receiver Company Code
AccountingDocument P_RU_AcctgDocReferenceID AccountingDocument Journal Entry
FiscalYear P_RU_AcctgDocReferenceID FiscalYear G/L Fiscal Year
DocumentReferenceID P_RU_AcctgDocReferenceID DocumentReferenceID Reference
CompanyCode Receiver Company Code
AccountingDocument P_RU_AcctgDocReferenceID AccountingDocument Journal Entry
FiscalYear P_RU_AcctgDocReferenceID FiscalYear G/L Fiscal Year
DocumentReferenceID P_RU_AcctgDocReferenceID DocumentReferenceID Reference
Supplier P_RU_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_ImprtSupplier1.
-- 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: PRUIMPSUPPLIER1

CREATE VIEW P_RU_ImprtSupplier1 AS
SELECT
  AccDocVAT.CompanyCode AS CompanyCode,
  AccDocVAT.AccountingDocument AS AccountingDocument,
  AccDocVAT.FiscalYear AS FiscalYear,
  AccDocVAT.DocumentReferenceID AS DocumentReferenceID,
  SupplInvoice.InvoicingParty AS Supplier
FROM P_RU_AcctgDocReferenceID AS AccDocVAT
INNER JOIN P_RU_ReltdSupplierInvoiceItem AS ReltdSuplInvc ON /* join condition not captured in parsed metadata */
INNER JOIN P_RU_AcctgDocReferenceID AS AccDocINV ON /* join condition not captured in parsed metadata */
INNER JOIN P_RU_SupplierInvoice AS SupplInvoice ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_RU_AcctgDocReferenceID
;