P_RU_MaterialReceiptMM

DDL: P_RU_MATERIALRECEIPTMM SQL: PRUMATRCPTMM Type: view COMPOSITE

P_RU_MaterialReceiptMM is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_JournalEntry, I_OperationalAcctgDocItem, I_OperationalAcctgDocItem) and exposes 9 fields.

Data Sources (3)

SourceAliasJoin Type
I_JournalEntry GoodsRcptAccDoc inner
I_OperationalAcctgDocItem GoodsRcptAccDocItem inner
I_OperationalAcctgDocItem InvoiceAccDocItem from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PRUMATRCPTMM view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
CompanyCode I_OperationalAcctgDocItem CompanyCode Receiver Company Code
InvoiceAccountingDocument I_OperationalAcctgDocItem AccountingDocument Journal Entry
InvoiceFiscalYear I_OperationalAcctgDocItem FiscalYear G/L Fiscal Year
GoodsRcptAccountingDocument I_OperationalAcctgDocItem AccountingDocument Journal Entry
GoodsRcptFiscalYear I_OperationalAcctgDocItem FiscalYear G/L Fiscal Year
GoodsRcptDocumentDate I_OperationalAcctgDocItem DocumentDate Journal Entry Date
GoodsRcptPostingDate I_OperationalAcctgDocItem PostingDate Posting Date for GR
PurchasingDocument I_OperationalAcctgDocItem PurchasingDocument Purchasing Document
PurchasingDocumentItem I_OperationalAcctgDocItem PurchasingDocumentItem Purchasing Doc. Item

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_MaterialReceiptMM.
-- 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: PRUMATRCPTMM

CREATE VIEW P_RU_MaterialReceiptMM AS
SELECT
  InvoiceAccDocItem.CompanyCode AS CompanyCode,
  InvoiceAccDocItem.AccountingDocument AS InvoiceAccountingDocument,
  InvoiceAccDocItem.FiscalYear AS InvoiceFiscalYear,
  GoodsRcptAccDocItem.AccountingDocument AS GoodsRcptAccountingDocument,
  GoodsRcptAccDocItem.FiscalYear AS GoodsRcptFiscalYear,
  GoodsRcptAccDocItem.DocumentDate AS GoodsRcptDocumentDate,
  GoodsRcptAccDocItem.PostingDate AS GoodsRcptPostingDate,
  GoodsRcptAccDocItem.PurchasingDocument AS PurchasingDocument,
  GoodsRcptAccDocItem.PurchasingDocumentItem AS PurchasingDocumentItem
FROM I_OperationalAcctgDocItem AS InvoiceAccDocItem
INNER JOIN I_OperationalAcctgDocItem AS GoodsRcptAccDocItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_JournalEntry AS GoodsRcptAccDoc ON /* join condition not captured in parsed metadata */
;