I_ACMMntnContrItem

DDL: I_ACMMNTNCONTRITEM SQL: ITRDGCONTRITMS Type: view_entity COMPOSITE

Basic Contract Item

I_ACMMntnContrItem is a Composite CDS View that provides data about "Basic Contract Item" in SAP S/4HANA. It reads from 1 data source (I_ACMContrItmData) and exposes 4 fields with key field TradingContractNumber.

Data Sources (1)

SourceAliasJoin Type
I_ACMContrItmData Item from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Basic Contract Item view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber I_ACMContrItmData ContractNum Trading Contract
ContractMaterial
ContractPlant
Commodity

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_ACMMntnContrItem.
-- 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: ITRDGCONTRITMS

CREATE VIEW I_ACMMntnContrItem AS
SELECT
  Item.ContractNum AS TradingContractNumber,
  max ( ltrim( Item.ContractMaterial,'0') ) AS ContractMaterial,
  max ( Item.ContractPlant ) AS ContractPlant,
  max ( Mara.Commodity ) AS Commodity
FROM I_ACMContrItmData AS Item
;