I_PurContractServiceItemVH

DDL: I_PURCONTRACTSERVICEITEMVH SQL: IPCSI_VH Type: view_entity COMPOSITE Package: VDM_MM_PUR_CON

Purchase Contract Service Item

I_PurContractServiceItemVH is a Composite CDS View that provides data about "Purchase Contract Service Item" in SAP S/4HANA. It reads from 1 data source (I_PurchaseContractItem) and exposes 19 fields with key fields PurchaseContract, PurchaseContractItem. It has 1 association to related views. Part of development package VDM_MM_PUR_CON.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseContractItem I_PurchaseContractItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PurgDocumentItemCategoryText _PurgDocumentItemCategory $projection.PurchasingDocumentItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory and _PurgDocumentItemCategory.Language = $session.system_language

Annotations (11)

NameValueLevelField
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey PurchaseContractItem view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Purchase Contract Service Item view
Search.searchable true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract PurchaseContract Purchasing Doc.
KEY PurchaseContractItem PurchaseContractItem Item
PurchasingDocumentItemCategory PurchasingDocumentItemCategory Item Category
PurgDocItemCategoryName _PurgDocumentItemCategory PurgDocItemCategoryName Text for ItCat.
PurchaseContractItemText PurchaseContractItemText Short Text
IsStatisticalItem IsStatisticalItem Item Set
PurgConfigurableItemNumber PurgConfigurableItemNumber Hierarchy Number
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
ProductTypeCode ProductTypeCode Product Type Group
ContractNetPriceAmount ContractNetPriceAmount Net Price
TargetQuantity TargetQuantity Target Quantity
OrderQuantityUnit OrderQuantityUnit Sales Unit
DocumentCurrency DocumentCurrency Document Currency
OrderPriceUnit OrderPriceUnit Order Price Un.
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
_PurchaseContract _PurchaseContract
_PurgDocumentItemCategory _PurgDocumentItemCategory

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_PurContractServiceItemVH.
-- 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: IPCSI_VH

CREATE VIEW I_PurContractServiceItemVH AS
SELECT
  PurchaseContract,
  PurchaseContractItem,
  PurchasingDocumentItemCategory,
  _PurgDocumentItemCategory.PurgDocItemCategoryName AS PurgDocItemCategoryName,
  PurchaseContractItemText,
  IsStatisticalItem,
  PurgConfigurableItemNumber,
  Material,
  MaterialGroup,
  ProductTypeCode,
  ContractNetPriceAmount,
  TargetQuantity,
  OrderQuantityUnit,
  DocumentCurrency,
  OrderPriceUnit,
  CompanyCode,
  Plant
FROM I_PurchaseContractItem
LEFT OUTER JOIN I_PurgDocumentItemCategoryText AS _PurgDocumentItemCategory ON PurchasingDocumentItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory AND _PurgDocumentItemCategory.Language = $session.system_language  -- association [0..1]
;