I_ACMTradingContractItemOvw

DDL: I_ACMTRADINGCONTRACTITEMOVW SQL: ITRDGCONTRITM Type: view COMPOSITE

Interface for Contract Item Overview

I_ACMTradingContractItemOvw is a Composite CDS View that provides data about "Interface for Contract Item Overview" in SAP S/4HANA. It reads from 1 data source (I_ACMTradingContractItemData) and exposes 18 fields with key fields TradingContractNumber, TradingContractItem.

Data Sources (1)

SourceAliasJoin Type
I_ACMTradingContractItemData Item from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ITRDGCONTRITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Interface for Contract Item Overview view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber I_ACMTradingContractItemData TradingContractNumber Trading Contract
KEY TradingContractItem I_ACMTradingContractItemData TradingContractItem Item Number
ContractMaterial
MaterialDesc MatlDesc ProductDescription Description
ContractCommodityItem
ACMTrdgContrActualStartDate CommodityItem TrdgContrCreditSalesFromDate
ActualStartDateTo CommodityItem TrdgContractCreditSalesToDate
ContractPlant I_ACMTradingContractItemData ContractPlant
PrcgCndnTradingContrCurrency I_ACMTradingContractItemData PrcgCndnTradingContrCurrency Term Currency
TrdgContrPurgQuantity I_ACMTradingContractItemData TrdgContrPurgQuantity
ACMDocumentUnitOfMeasure I_ACMTradingContractItemData ACMDocumentUnitOfMeasure
TrdgContrSalesQuantity I_ACMTradingContractItemData TrdgContrSalesQuantity
TrdgContrSlsQuantityUnit I_ACMTradingContractItemData TrdgContrSlsQuantityUnit
PlantName _Plant PlantName Plant Name
CommodityQuantity CommodityItem ACMPricingCancellationQuantity
UnitOfMeasure CommodityItem TrdgContractItemUnitOfMeasure
ValuationPoint _AddlData ValuationPoint
ACMPrcgIntendedPrcType _AddlData ACMPrcgIntendedPrcType

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_ACMTradingContractItemOvw.
-- 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: ITRDGCONTRITM

CREATE VIEW I_ACMTradingContractItemOvw 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,
  CommodityItem.TrdgContrCreditSalesFromDate AS ACMTrdgContrActualStartDate,
  CommodityItem.TrdgContractCreditSalesToDate AS ActualStartDateTo,
  Item.ContractPlant AS ContractPlant,
  Item.PrcgCndnTradingContrCurrency AS PrcgCndnTradingContrCurrency,
  Item.TrdgContrPurgQuantity AS TrdgContrPurgQuantity,
  Item.ACMDocumentUnitOfMeasure AS ACMDocumentUnitOfMeasure,
  Item.TrdgContrSalesQuantity AS TrdgContrSalesQuantity,
  Item.TrdgContrSlsQuantityUnit AS TrdgContrSlsQuantityUnit,
  _Plant.PlantName AS PlantName,
  CommodityItem.ACMPricingCancellationQuantity AS CommodityQuantity,
  CommodityItem.TrdgContractItemUnitOfMeasure AS UnitOfMeasure,
  _AddlData.ValuationPoint AS ValuationPoint,
  _AddlData.ACMPrcgIntendedPrcType AS ACMPrcgIntendedPrcType
FROM I_ACMTradingContractItemData AS Item
;