I_TradingContractItemOverview
Interface View For Contract Item Overview
I_TradingContractItemOverview (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sales
I_TradingContractItemOverview is a Composite CDS View that provides data about "Interface View For Contract Item Overview" in SAP S/4HANA. It reads from 7 data sources and exposes 20 fields with key fields TradingContractNumber, TradingContractItem.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | LO-AGR-CC |
| Capabilities | Data Source for Defining CDS Entities |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMContractItemAddldata | _AddlData | left_outer |
| I_PlantStdVH | _Plant | left_outer |
| I_CmmdtyText | CommodityDesc | inner |
| I_ACMContractCommoditySubitem | CommodityItem | inner |
| I_ACMTradingContractData | Header | left_outer |
| I_ACMTradingContractItemData | Item | from |
| P_GenericDomainVH | P_GenericDomainVH | left_outer |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITRDGCONTRITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.supportedCapabilities | #CDS_MODELING_DATA_SOURCE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Interface View For Contract Item Overview | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContractNumber | I_ACMTradingContractItemData | TradingContractNumber | Trading Contract |
| KEY | TradingContractItem | I_ACMTradingContractItemData | TradingContractItem | Item Number of Trading Contract |
| ContractMaterial | ||||
| MaterialDesc | MatlDesc | ProductDescription | Material Description | |
| ContractCommodityItem | Commodity | |||
| CommodityName | I_CmmdtyText | CommodityName | Commodity Description | |
| ActualStartDateFrom | I_ACMContractCommoditySubitem | TrdgContrCreditSalesFromDate | Validity Start Date | |
| ActualStartDateTo | I_ACMContractCommoditySubitem | TrdgContractCreditSalesToDate | Validity End Date | |
| ContractPlant | I_ACMTradingContractItemData | ContractPlant | Plant | |
| PlantName | I_PlantStdVH | PlantName | Plant Name | |
| CommodityQuantity | I_ACMContractCommoditySubitem | ACMPricingCancellationQuantity | Commodity Item Quantity | |
| UnitOfMeasure | I_ACMContractCommoditySubitem | TrdgContractItemUnitOfMeasure | Unit | |
| TradingContractType | I_ACMTradingContractData | TradingContractType | Trading Contract Type | |
| CompanyCode | I_ACMTradingContractData | CompanyCode | Receiver Company Code | |
| OriginReferenceDocument | Root Document | |||
| ValuationPoint | I_ACMContractItemAddldata | ValuationPoint | Valuation Point | |
| ACMPrcgIntendedPrcType | Intended price type | |||
| Counterparty | Counterparty | Counterparty | Customer Number | |
| IsBusinessPurposeCompleted | Counterparty | IsBusinessPurposeCompleted | Business Purpose Completed Flag | |
| AuthorizationGroup | Counterparty | AuthorizationGroup | Authorization Group |
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_TradingContractItemOverview.
-- 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: ITRDGCONTRITEM
CREATE VIEW I_TradingContractItemOverview AS
SELECT
Item.TradingContractNumber AS TradingContractNumber,
Item.TradingContractItem AS TradingContractItem,
ltrim(Item.ContractMaterial, '0') AS ContractMaterial,
MatlDesc.ProductDescription AS MaterialDesc,
MatlDesc._Material.PhysicalCommodity AS ContractCommodityItem,
CommodityDesc.CommodityName AS CommodityName,
CommodityItem.TrdgContrCreditSalesFromDate AS ActualStartDateFrom,
CommodityItem.TrdgContractCreditSalesToDate AS ActualStartDateTo,
Item.ContractPlant AS ContractPlant,
_Plant.PlantName AS PlantName,
CommodityItem.ACMPricingCancellationQuantity AS CommodityQuantity,
CommodityItem.TrdgContractItemUnitOfMeasure AS UnitOfMeasure,
Header.TradingContractType AS TradingContractType,
Header.CompanyCode AS CompanyCode,
cast(concat('0000000000', Item.TradingContractNumber) as cmm_vlogp_root) AS OriginReferenceDocument,
_AddlData.ValuationPoint AS ValuationPoint,
cast( IntendedPriceType.DomainValue as /accgo/e_intended_price_type ) AS ACMPrcgIntendedPrcType,
Counterparty.Counterparty AS Counterparty,
Counterparty.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
Counterparty.AuthorizationGroup AS AuthorizationGroup
FROM I_ACMTradingContractItemData AS Item
INNER JOIN I_ACMContractCommoditySubitem AS CommodityItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyText AS CommodityDesc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PlantStdVH AS _Plant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ACMTradingContractData AS Header ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ACMContractItemAddldata AS _AddlData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_GenericDomainVH ON /* join condition not captured in parsed metadata */
;
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