I_PrChgDocItemRevaluation

DDL: I_PRCHGDOCITEMREVALUATION SQL: IPRCHGDOCREVAL Type: view COMPOSITE

I_PrChgDocItemRevaluation is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (R_MigrtdMatlLdgrDocItmReval, R_NonMigrtdMatlLdgrDocItmReval) and exposes 16 fields with key fields MaterialLedgerDocument, MaterialLedgerDocumentYear, DocumentItemNumber, FiscalYear, FiscalPeriod.

Data Sources (2)

SourceAliasJoin Type
R_MigrtdMatlLdgrDocItmReval R_MigrtdMatlLdgrDocItmReval from
R_NonMigrtdMatlLdgrDocItmReval R_NonMigrtdMatlLdgrDocItmReval union_all

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPRCHGDOCREVAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY MaterialLedgerDocument MaterialLedgerDocument SD Document
KEY MaterialLedgerDocumentYear MaterialLedgerDocumentYear Year
KEY DocumentItemNumber DocumentItemNumber Item
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalPeriod FiscalPeriod Tax period
KEY Ledger Ledger Ledger
KEY CurrencyRole CurrencyRole Curr./Val. Type
MatlLdgrPriceRevaluationAmount MatlLdgrPriceRevaluationAmount Price Diff.
KEY MaterialLedgerDocumentYear MaterialLedgerDocumentYear Year
KEY DocumentItemNumber DocumentItemNumber Item
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalPeriod FiscalPeriod Tax period
KEY Ledger Ledger Ledger
KEY CurrencyRole CurrencyRole Curr./Val. Type
MatlLdgrPriceRevaluationAmount MatlLdgrPriceRevaluationAmount Price Diff.
MatlLdgrExchRateRevalAmount MatlLdgrExchRateRevalAmount Exch.Rate Diff.

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 I_PrChgDocItemRevaluation.
-- 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: IPRCHGDOCREVAL

CREATE VIEW I_PrChgDocItemRevaluation AS
SELECT
  MaterialLedgerDocument,
  MaterialLedgerDocumentYear,
  DocumentItemNumber,
  FiscalYear,
  FiscalPeriod,
  Ledger,
  CurrencyRole,
  MatlLdgrPriceRevaluationAmount,
  MatlLdgrExchRateRevalAmount
FROM R_MigrtdMatlLdgrDocItmReval
-- UNION ALL with additional select branch(es): R_NonMigrtdMatlLdgrDocItmReval
;