C_ProjMatCompPurDocItems

DDL: C_PROJMATCOMPPURDOCITEMS SQL: CPMCPURDOCITM Type: view CONSUMPTION

Purchasing Document Item Details for Project Matl Component

C_ProjMatCompPurDocItems is a Consumption CDS View that provides data about "Purchasing Document Item Details for Project Matl Component" in SAP S/4HANA. It reads from 1 data source (I_ProjMatCompPurDocItem) and exposes 13 fields with key fields PurchasingDocument, PurchasingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_ProjMatCompPurDocItem PurchasingDocumentItems from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CPMCPURDOCITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Purchasing Document Item Details for Project Matl Component view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument I_ProjMatCompPurDocItem PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem I_ProjMatCompPurDocItem PurchasingDocumentItem Purchasing Doc. Item
Reservation I_ProjMatCompPurDocItem Reservation Reservation
ReservationItem I_ProjMatCompPurDocItem ReservationItem Reservation Item
RecordType I_ProjMatCompPurDocItem RecordType Reservation Record Type
PurchasingDocumentTypeName I_ProjMatCompPurDocItem PurchasingDocumentTypeName Description
Plant I_ProjMatCompPurDocItem Plant Valuation Area
PlantName
Supplier I_ProjMatCompPurDocItem Supplier Supplier
SupplierFullName
PurchasingDocumentItemText I_ProjMatCompPurDocItem PurchasingDocumentItemText Short Text
_Plant I_ProjMatCompPurDocItem _Plant
_Supplier I_ProjMatCompPurDocItem _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 C_ProjMatCompPurDocItems.
-- 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: CPMCPURDOCITM

CREATE VIEW C_ProjMatCompPurDocItems AS
SELECT
  PurchasingDocumentItems.PurchasingDocument AS PurchasingDocument,
  PurchasingDocumentItems.PurchasingDocumentItem AS PurchasingDocumentItem,
  PurchasingDocumentItems.Reservation AS Reservation,
  PurchasingDocumentItems.ReservationItem AS ReservationItem,
  PurchasingDocumentItems.RecordType AS RecordType,
  PurchasingDocumentItems.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
  PurchasingDocumentItems.Plant AS Plant,
  PurchasingDocumentItems._Plant.PlantName AS PlantName,
  PurchasingDocumentItems.Supplier AS Supplier,
  PurchasingDocumentItems._Supplier.BPSupplierFullName AS SupplierFullName,
  PurchasingDocumentItems.PurchasingDocumentItemText AS PurchasingDocumentItemText,
  PurchasingDocumentItems._Plant AS _Plant,
  PurchasingDocumentItems._Supplier AS _Supplier
FROM I_ProjMatCompPurDocItem AS PurchasingDocumentItems
;