I_ACMNominationTrdgContract

DDL: I_ACMNOMINATIONTRDGCONTRACT SQL: IACMNOMTRDGCON Type: view COMPOSITE

ACM Nomination Trading Contract

I_ACMNominationTrdgContract is a Composite CDS View that provides data about "ACM Nomination Trading Contract" in SAP S/4HANA. It reads from 1 data source (I_ACMNominationAddlContrDetail) and exposes 13 fields with key fields NominationKey, NominationDocItem, TradingContractNumber, TradingContractItem. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMNominationAddlContrDetail I_ACMNominationAddlContrDetail from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_ACMNomination _ACMNomination $projection.NominationKey = _ACMNomination.NominationKey
[1..1] I_ACMTrdgContrHdr _ContractHeader $projection.TradingContractNumber = _ContractHeader.TradingContractNumber
[1..1] I_ACMTrdgContrItmDet _ContractItem $projection.TradingContractNumber = _ContractItem.TradingContractNumber and $projection.TradingContractItem = _ContractItem.TradingContractItem
[0..*] I_ACMNominationTrdgContrUoM _ACMNominationTrdgContrUoM
[1..1] I_ACMNominationContrBaseQty _ACMNominationContrBaseQty

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IACMNOMTRDGCON view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label ACM Nomination Trading Contract view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY NominationKey NominationKey Nomination key
KEY NominationDocItem NominationDocItem Nom. key item
KEY TradingContractNumber TradingContractNumber Trading Contract
KEY TradingContractItem TradingContractItem Item Number
ScheduledQuantity ScheduledQuantity Scheduled Qty
ScheduledQuantityUnit ScheduledQuantityUnit SchedUoM
ContractMaterial _ContractItem ContractMaterial
_ACMNominationItem _ACMNominationItem
_ACMNomination _ACMNomination
_ACMNominationTrdgContrUoM _ACMNominationTrdgContrUoM
_ContractHeader _ContractHeader
_ContractItem _ContractItem
_ACMNominationContrBaseQty _ACMNominationContrBaseQty

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_ACMNominationTrdgContract.
-- 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: IACMNOMTRDGCON

CREATE VIEW I_ACMNominationTrdgContract AS
SELECT
  NominationKey,
  NominationDocItem,
  TradingContractNumber,
  TradingContractItem,
  ScheduledQuantity,
  ScheduledQuantityUnit,
  _ContractItem.ContractMaterial AS ContractMaterial
FROM I_ACMNominationAddlContrDetail
LEFT OUTER JOIN I_ACMNomination AS _ACMNomination ON NominationKey = _ACMNomination.NominationKey  -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrHdr AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber  -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrItmDet AS _ContractItem ON TradingContractNumber = _ContractItem.TradingContractNumber AND TradingContractItem = _ContractItem.TradingContractItem  -- association [1..1]
LEFT OUTER JOIN I_ACMNominationTrdgContrUoM AS _ACMNominationTrdgContrUoM ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ACMNominationContrBaseQty AS _ACMNominationContrBaseQty ON /* condition not available in parsed metadata */  -- association [1..1]
;