C_PurOrdMaintainCtrItemValHelp

DDL: C_PURORDMAINTAINCTRITEMVALHELP SQL: CPOMAINTVHCTRITM Type: view CONSUMPTION Package: ODATA_MM_PUR_PO_MAINTAIN

Contract Item Value Help

C_PurOrdMaintainCtrItemValHelp is a Consumption CDS View that provides data about "Contract Item Value Help" in SAP S/4HANA. It reads from 3 data sources (I_PurchaseContract, I_PurchaseContractItem, I_Supplier) and exposes 13 fields with key fields PurchaseContract, PurchaseContractItem. It has 2 associations to related views. Part of development package ODATA_MM_PUR_PO_MAINTAIN.

Data Sources (3)

SourceAliasJoin Type
I_PurchaseContract header left_outer
I_PurchaseContractItem item from
I_Supplier supplier left_outer

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..1] I_Plant I_plant $projection.Plant = I_plant.Plant

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CPOMAINTVHCTRITM view
EndUserText.label Contract Item Value Help view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract I_PurchaseContractItem PurchaseContract Purchasing Doc.
KEY PurchaseContractItem I_PurchaseContractItem PurchaseContractItem Item
Supplier I_PurchaseContract Supplier Supplier
SupplierName I_Supplier SupplierName Supplier Name
CreationDate I_PurchaseContract CreationDate Time Stamp
Material Material Vehicle Model
Plant Plant Valuation Area
PurchaseContractItemText PurchaseContractItemText Short Text
PlantName I_plant PlantName Plant Name
PurchaseContractType I_PurchaseContract PurchaseContractType Order Type
PurchasingOrganization I_PurchaseContract PurchasingOrganization Purchasing Organization
PurchasingGroup I_PurchaseContract PurchasingGroup Purchasing Group
_MaterialText _MaterialText

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_PurOrdMaintainCtrItemValHelp.
-- 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: CPOMAINTVHCTRITM

CREATE VIEW C_PurOrdMaintainCtrItemValHelp AS
SELECT
  item.PurchaseContract AS PurchaseContract,
  item.PurchaseContractItem AS PurchaseContractItem,
  header.Supplier AS Supplier,
  supplier.SupplierName AS SupplierName,
  header.CreationDate AS CreationDate,
  Material,
  Plant,
  PurchaseContractItemText,
  I_plant.PlantName AS PlantName,
  header.PurchaseContractType AS PurchaseContractType,
  header.PurchasingOrganization AS PurchasingOrganization,
  header.PurchasingGroup AS PurchasingGroup
FROM I_PurchaseContractItem AS item
LEFT OUTER JOIN I_PurchaseContract AS header ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier AS supplier ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_Plant AS I_plant ON Plant = I_plant.Plant  -- association [0..1]
;