P_ARUNDMNDITEM

DDL: P_ARUNDMNDITEM SQL: PARUNDITM Type: view COMPOSITE

P_ARUNDMNDITEM is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocumentItem, I_SalesDocumentItem) and exposes 7 fields.

Data Sources (2)

SourceAliasJoin Type
I_PurchasingDocumentItem I_PurchasingDocumentItem union
I_SalesDocumentItem I_SalesDocumentItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PARUNDITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (7)

KeyFieldSource TableSource FieldDescription
RequirementDocumentNumber SalesDocument Purchasing Document
RequirementDocumentItem SalesDocumentItem Sales Document Item
NetPriceAmount NetPriceAmount Net Price
RequirementDocumentNumber PurchasingDocument Purchasing Document
RequirementDocumentItem Sales Document Item
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency

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_ARUNDMNDITEM.
-- 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: PARUNDITM

CREATE VIEW P_ARUNDMNDITEM AS
SELECT
  SalesDocument AS RequirementDocumentNumber,
  SalesDocumentItem AS RequirementDocumentItem,
  NetPriceAmount,
  DocumentCurrency
FROM I_SalesDocumentItem
-- UNION with additional select branch(es): I_PurchasingDocumentItem
;