C_PurOrdMaintainCtrItemValHelp
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseContract | header | left_outer |
| I_PurchaseContractItem | item | from |
| I_Supplier | supplier | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material |
| [0..1] | I_Plant | I_plant | $projection.Plant = I_plant.Plant |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA