I_ACMMntnTrdgContrPrcgOvw

DDL: I_ACMMNTNTRDGCONTRPRCGOVW SQL: IMNTNCONTPRCGOVW Type: view COMPOSITE

Intrfce view for Mntn Trdg Contr Prc Ovw

I_ACMMntnTrdgContrPrcgOvw is a Composite CDS View that provides data about "Intrfce view for Mntn Trdg Contr Prc Ovw" in SAP S/4HANA. It reads from 1 data source (I_ACMTrdgContrPrcOvw_2) and exposes 91 fields with key field TrdgContrPrcgAspectDummyLotID. It has 21 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMTrdgContrPrcOvw_2 Pricing from

Associations (21)

CardinalityTargetAliasCondition
[1..1] I_ACMTrdgContrHdrAddlDets _ContrHdrAddDets _ContrHdrAddDets.TradingContractNumber = Pricing.TradingContractNumber
[0..1] I_ACMMntnContrSideText _Side Side = _Side.DomainValue
[0..1] I_DerivativeContractSpecText _DCSText _DCSText.DerivativeContrSpecification = Pricing.DerivativeContrSpecification and _DCSText.Language = $session.system_language
[0..1] i_MarketIdentifierCodeText _MarketIDText _MarketIDText.MarketIdentifierCode = Pricing.ACMPricingMarketIdentifierCode and _MarketIDText.Language = $session.system_language
[0..1] I_ACMIntendedPriceTypeVH _IntendedPrcType $projection.ACMPrcgIntendedPrcType = _IntendedPrcType.DomainValue
[0..1] I_ACMMaterialValueText _MaterialText $projection.ContractMaterial = _MaterialText.Material
[1..1] I_ACMCommodityDetails _CommodityDetails Pricing.Material = _CommodityDetails.Material
[0..1] I_CompanyCode _CompanyCodeText _CompanyCodeText.CompanyCode = Pricing. CompanyCode
[1..1] I_CreatedByUser _CreatedByDetails Pricing.TradingContractCreatedBy = _CreatedByDetails.UserName
[0..1] I_CreatedByUser _PersonRespDetails Pricing.PersonResponsible = _PersonRespDetails.UserName
[1..1] I_CreatedByUser _ChangedByDetails Pricing.TradingContractCreatedBy = _ChangedByDetails.UserName --
[1..1] I_ACMDistributionChnlValueHelp _DistributionChannelText Pricing.DistributionChannel = _DistributionChannelText.DistributionChannel and Pricing.SalesOrganization = _DistributionChannelText.SalesOrganization
[1..1] I_ACMSalesDivisionValueHelp _OrganizationDivisionName Pricing.Division = _OrganizationDivisionName.Division and Pricing.SalesOrganization = _OrganizationDivisionName.SalesOrganization and Pricing.DistributionChannel = _OrganizationDivisionName.DistributionChannel
[1..1] I_ACMSalesOrganizationValHelp _SalesOrganizationText Pricing.SalesOrganization = _SalesOrganizationText.SalesOrganization --Plant Description.
[1..1] I_PlantStdVH _PlantName Pricing.ContractPlant = _PlantName.Plant --Trading Contract Counterparty Details.
[1..1] I_ACMTrdgContrCounterparty _Counterparty Pricing.TrdgContrGoodsSupplier = _Counterparty.Counterparty or Pricing.PurchaseOrderSupplier = _Counterparty.Counterparty --Pricing Approach Description.
[1..1] I_ACMPricingApproach _PricingApproach _PricingApproach.PricingApproach = Pricing.PricingApproach and _PricingApproach.Language = $session.system_language
[1..1] I_ACMPurchasingOrganization _PurchasingOrganizationName Pricing.PurchasingOrganization = _PurchasingOrganizationName.PurchasingOrganization
[1..1] I_ACMPurchasingGroup _PurchasingGroupName Pricing.PurchasingGroup = _PurchasingGroupName.PurchasingGroup
[0..1] I_ACMTrdgContrPartForMntnContr _TransactingCounterparty _TransactingCounterparty.TradingContractNumber = Pricing.TradingContractNumber
[0..1] I_ACMTrdgContrTypeWithSide _TargetContractType $projection.TradingContractType = _TargetContractType.TradingContractType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMNTNCONTPRCGOVW view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Intrfce view for Mntn Trdg Contr Prc Ovw view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (91)

KeyFieldSource TableSource FieldDescription
KEY TrdgContrPrcgAspectDummyLotID TrdgContrPrcgAspectDummyLotID
TradingContractNumber I_ACMTrdgContrPrcOvw_2 TradingContractNumber Trading Contract
TradingContractType TradingContractType
TradingContractTypeName TradingContractTypeName
TradingContractCurrency PrcgCndnTradingContrCurrency Term Currency
Side Side Side
PricingConditionTerm ACMConditionTermNumber
ContractStatus ContractStatus Paper Contr Status
TrdgContrApplStsName TrdgContrApplStsName
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
TradingContractExternalID TradingContractExternalID
ContractPlant ContractPlant
ContractMaterial ContractMaterial
Material Material Vehicle Model
TradingContractItem I_ACMTrdgContrPrcOvw_2 TradingContractItem Item Number
PricingApproach I_ACMTrdgContrPrcOvw_2 PricingApproach
AlternatePaymentTerm I_ACMTrdgContrPrcOvw_2 AlternatePaymentTerm
Incoterms Incoterms Incoterms
IncotermsLocation1 IncotermsLocation1 Inco. Location1
TrdgContrPurgIncotermsLoc1Text TrdgContrPurgIncotermsLoc1Text
TrdgContrSlsIncotermsLoc1Text TrdgContrSlsIncotermsLoc1Text
UnitOfMeasure ContractTradeUnit
Quantity I_ACMTrdgContrPrcOvw_2 ContractTradeQuantity
DocumentDate DocumentDate Journal Entry Date
TradingContrCreatedOnDate TradingContrCreatedOnDate
TradingContrChangedOnDate TradingContrChangedOnDate
TrdgContrPersonResponsible PersonResponsible Person Responsible
TradingContractCreatedBy TradingContractCreatedBy
ACMPricingItemQuantity ACMPricingItemQuantity
TrdgContractItemUnitOfMeasure TrdgContractItemUnitOfMeasure
ValuationPoint ValuationPoint
CompanyCode I_ACMTrdgContrPrcOvw_2 CompanyCode Receiver Company Code
DerivativeContrSpecification I_ACMTrdgContrPrcOvw_2 DerivativeContrSpecification DCS ID
ACMPricingMarketIdentifierCode I_ACMTrdgContrPrcOvw_2 ACMPricingMarketIdentifierCode MIC
MaturityKeyDate I_ACMTrdgContrPrcOvw_2 MaturityKeyDate Maturity Key Date
DerivativeContractMaturityCode
PrcgCndnTradingContrCurrency I_ACMTrdgContrPrcOvw_2 PrcgCndnTradingContrCurrency Term Currency
ACMPrcgTotAmt I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnFlatPrice
CmmdtyDealDetEffectiveFromDate CmmdtyDealDetEffectiveFromDate
CmmdtyDealDetEffectiveToDate CmmdtyDealDetEffectiveToDate
ACMPrcgIntendedPrcType I_ACMTrdgContrPrcOvw_2 ACMPrcgIntendedPrcType
ACMYourReference I_ACMTrdgContrPrcOvw_2 ACMYourReference
ACMCustomerReference I_ACMTrdgContrPrcOvw_2 ACMCustomerReference
ACMPrcgCndnFuturePrice I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnFuturePrice
ACMPrcgCndnFutureTermCrcy I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnFutureTermCrcy
ACMPrcgCndnFixedRateFutureUoM I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnFixedRateFutureUoM
ACMPrcgCndnFutureFixedRateQty I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnFutureFixedRateQty
ACMPrcgCndnBasisPrc I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnBasisPrc
PrcgConditionTermFixedRateCrcy I_ACMTrdgContrPrcOvw_2 PrcgConditionTermFixedRateCrcy Currency Fixed Rate
ACMPrcgCndnNonHedgeTermCrcy I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnNonHedgeTermCrcy
ACMPrcgCndnNonHedgePriceUnit I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnNonHedgePriceUnit
ACMPrcgCndnNonHedgeQtyUnit I_ACMTrdgContrPrcOvw_2 ACMPrcgCndnNonHedgeQtyUnit
ACMTrdgContrPrcgStatusText ACMTrdgContrPrcgStatusText
TrdgContrPrcgAspectSrceLotID TrdgContrPrcgAspectSrceLotID
ACMPurgIncotermsPart1 I_ACMTrdgContrPrcOvw_2 ACMPurgIncotermsPart1
ACMSlsIncotermsPart1 I_ACMTrdgContrPrcOvw_2 ACMSlsIncotermsPart1
TrdgContrGoodsSupplier I_ACMTrdgContrPrcOvw_2 TrdgContrGoodsSupplier
PurchaseOrderSupplier I_ACMTrdgContrPrcOvw_2 PurchaseOrderSupplier
PricingDocument I_ACMTrdgContrPrcOvw_2 PricingDocument Document Condition
ACMTrdgContrStatusCategory I_ACMTrdgContrPrcOvw_2 ACMTrdgContrStatusCategory
ACMContractStatusIsPosRelevant I_ACMTrdgContrPrcOvw_2 ACMContractStatusIsPosRelevant
ACMPrcgCmmdtyOrdSubAccountID I_ACMTrdgContrPrcOvw_2 ACMPrcgCmmdtyOrdSubAccountID
ACMTrdgContrSubAccountName I_ACMTrdgContrPrcOvw_2 ACMTrdgContrSubAccountName
ACMFormulaUoM I_ACMTrdgContrPrcOvw_2 ACMFormulaUoM
ACMPricingRate I_ACMTrdgContrPrcOvw_2 ACMPricingRate
ConditionTermUnit I_ACMTrdgContrPrcOvw_2 ConditionTermUnit
ACMSignedStatus _ContrHdrAddDets ACMSignedStatus
_ContrHdrAddDets _ContrHdrAddDets
_Side _Side
_DCSText _DCSText
_MarketIDText _MarketIDText
_IntendedPrcType _IntendedPrcType
_MaterialText _MaterialText
_CommodityDetails _CommodityDetails
_CompanyCodeText _CompanyCodeText
_PersonRespDetails _PersonRespDetails
_SalesOrganizationText _SalesOrganizationText
_DistributionChannelText _DistributionChannelText
_OrganizationDivisionName _OrganizationDivisionName
_CreatedByDetails _CreatedByDetails
_ChangedByDetails _ChangedByDetails
_PlantName _PlantName
_Counterparty _Counterparty
_PricingApproach _PricingApproach
_PurchasingOrganizationName _PurchasingOrganizationName
_PurchasingGroupName _PurchasingGroupName
_TransactingCounterparty _TransactingCounterparty

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_ACMMntnTrdgContrPrcgOvw.
-- 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: IMNTNCONTPRCGOVW

CREATE VIEW I_ACMMntnTrdgContrPrcgOvw AS
SELECT
  TrdgContrPrcgAspectDummyLotID,
  Pricing.TradingContractNumber AS TradingContractNumber,
  TradingContractType,
  TradingContractTypeName,
  PrcgCndnTradingContrCurrency AS TradingContractCurrency,
  Side,
  ACMConditionTermNumber AS PricingConditionTerm,
  ContractStatus,
  TrdgContrApplStsName,
  SalesOrganization,
  DistributionChannel,
  Division,
  PurchasingOrganization,
  PurchasingGroup,
  TradingContractExternalID,
  ContractPlant,
  ContractMaterial,
  Material,
  Pricing.TradingContractItem AS TradingContractItem,
  Pricing.PricingApproach AS PricingApproach,
  Pricing.AlternatePaymentTerm AS AlternatePaymentTerm,
  Incoterms,
  IncotermsLocation1,
  TrdgContrPurgIncotermsLoc1Text,
  TrdgContrSlsIncotermsLoc1Text,
  ContractTradeUnit AS UnitOfMeasure,
  Pricing.ContractTradeQuantity AS Quantity,
  DocumentDate,
  TradingContrCreatedOnDate,
  TradingContrChangedOnDate,
  PersonResponsible AS TrdgContrPersonResponsible,
  TradingContractCreatedBy,
  ACMPricingItemQuantity,
  TrdgContractItemUnitOfMeasure,
  ValuationPoint,
  Pricing.CompanyCode AS CompanyCode,
  Pricing.DerivativeContrSpecification AS DerivativeContrSpecification,
  Pricing.ACMPricingMarketIdentifierCode AS ACMPricingMarketIdentifierCode,
  Pricing.MaturityKeyDate AS MaturityKeyDate,
  cast(ContrDrvtvContrMaturityCode as tba_contract_code ) AS DerivativeContractMaturityCode,
  Pricing.PrcgCndnTradingContrCurrency AS PrcgCndnTradingContrCurrency,
  Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgTotAmt,
  CmmdtyDealDetEffectiveFromDate,
  CmmdtyDealDetEffectiveToDate,
  Pricing.ACMPrcgIntendedPrcType AS ACMPrcgIntendedPrcType,
  Pricing.ACMYourReference AS ACMYourReference,
  Pricing.ACMCustomerReference AS ACMCustomerReference,
  Pricing.ACMPrcgCndnFuturePrice AS ACMPrcgCndnFuturePrice,
  Pricing.ACMPrcgCndnFutureTermCrcy AS ACMPrcgCndnFutureTermCrcy,
  Pricing.ACMPrcgCndnFixedRateFutureUoM AS ACMPrcgCndnFixedRateFutureUoM,
  Pricing.ACMPrcgCndnFutureFixedRateQty AS ACMPrcgCndnFutureFixedRateQty,
  Pricing.ACMPrcgCndnBasisPrc AS ACMPrcgCndnBasisPrc,
  Pricing.PrcgConditionTermFixedRateCrcy AS PrcgConditionTermFixedRateCrcy,
  Pricing.ACMPrcgCndnNonHedgeTermCrcy AS ACMPrcgCndnNonHedgeTermCrcy,
  Pricing.ACMPrcgCndnNonHedgePriceUnit AS ACMPrcgCndnNonHedgePriceUnit,
  Pricing.ACMPrcgCndnNonHedgeQtyUnit AS ACMPrcgCndnNonHedgeQtyUnit,
  ACMTrdgContrPrcgStatusText,
  TrdgContrPrcgAspectSrceLotID,
  Pricing.ACMPurgIncotermsPart1 AS ACMPurgIncotermsPart1,
  Pricing.ACMSlsIncotermsPart1 AS ACMSlsIncotermsPart1,
  Pricing.TrdgContrGoodsSupplier AS TrdgContrGoodsSupplier,
  Pricing.PurchaseOrderSupplier AS PurchaseOrderSupplier,
  Pricing.PricingDocument AS PricingDocument,
  Pricing.ACMTrdgContrStatusCategory AS ACMTrdgContrStatusCategory,
  Pricing.ACMContractStatusIsPosRelevant AS ACMContractStatusIsPosRelevant,
  Pricing.ACMPrcgCmmdtyOrdSubAccountID AS ACMPrcgCmmdtyOrdSubAccountID,
  Pricing.ACMTrdgContrSubAccountName AS ACMTrdgContrSubAccountName,
  Pricing.ACMFormulaUoM AS ACMFormulaUoM,
  Pricing.ACMPricingRate AS ACMPricingRate,
  Pricing.ConditionTermUnit AS ConditionTermUnit,
  _ContrHdrAddDets.ACMSignedStatus AS ACMSignedStatus
FROM I_ACMTrdgContrPrcOvw_2 AS Pricing
LEFT OUTER JOIN I_ACMTrdgContrHdrAddlDets AS _ContrHdrAddDets ON _ContrHdrAddDets.TradingContractNumber = Pricing.TradingContractNumber  -- association [1..1]
LEFT OUTER JOIN I_ACMMntnContrSideText AS _Side ON Side = _Side.DomainValue  -- association [0..1]
LEFT OUTER JOIN I_DerivativeContractSpecText AS _DCSText ON _DCSText.DerivativeContrSpecification = Pricing.DerivativeContrSpecification AND _DCSText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN i_MarketIdentifierCodeText AS _MarketIDText ON _MarketIDText.MarketIdentifierCode = Pricing.ACMPricingMarketIdentifierCode AND _MarketIDText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ACMIntendedPriceTypeVH AS _IntendedPrcType ON ACMPrcgIntendedPrcType = _IntendedPrcType.DomainValue  -- association [0..1]
LEFT OUTER JOIN I_ACMMaterialValueText AS _MaterialText ON ContractMaterial = _MaterialText.Material  -- association [0..1]
LEFT OUTER JOIN I_ACMCommodityDetails AS _CommodityDetails ON Pricing.Material = _CommodityDetails.Material  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON _CompanyCodeText.CompanyCode = Pricing. CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CreatedByUser AS _CreatedByDetails ON Pricing.TradingContractCreatedBy = _CreatedByDetails.UserName  -- association [1..1]
LEFT OUTER JOIN I_CreatedByUser AS _PersonRespDetails ON Pricing.PersonResponsible = _PersonRespDetails.UserName  -- association [0..1]
LEFT OUTER JOIN I_CreatedByUser AS _ChangedByDetails ON Pricing.TradingContractCreatedBy = _ChangedByDetails.UserName  -- association [1..1]
LEFT OUTER JOIN I_ACMDistributionChnlValueHelp AS _DistributionChannelText ON Pricing.DistributionChannel = _DistributionChannelText.DistributionChannel AND Pricing.SalesOrganization = _DistributionChannelText.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_ACMSalesDivisionValueHelp AS _OrganizationDivisionName ON Pricing.Division = _OrganizationDivisionName.Division AND Pricing.SalesOrganization = _OrganizationDivisionName.SalesOrganization AND Pricing.DistributionChannel = _OrganizationDivisionName.DistributionChannel  -- association [1..1]
LEFT OUTER JOIN I_ACMSalesOrganizationValHelp AS _SalesOrganizationText ON Pricing.SalesOrganization = _SalesOrganizationText.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_PlantStdVH AS _PlantName ON Pricing.ContractPlant = _PlantName.Plant  -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrCounterparty AS _Counterparty ON Pricing.TrdgContrGoodsSupplier = _Counterparty.Counterparty OR Pricing.PurchaseOrderSupplier = _Counterparty.Counterparty  -- association [1..1]
LEFT OUTER JOIN I_ACMPricingApproach AS _PricingApproach ON _PricingApproach.PricingApproach = Pricing.PricingApproach AND _PricingApproach.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ACMPurchasingOrganization AS _PurchasingOrganizationName ON Pricing.PurchasingOrganization = _PurchasingOrganizationName.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_ACMPurchasingGroup AS _PurchasingGroupName ON Pricing.PurchasingGroup = _PurchasingGroupName.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrPartForMntnContr AS _TransactingCounterparty ON _TransactingCounterparty.TradingContractNumber = Pricing.TradingContractNumber  -- association [0..1]
LEFT OUTER JOIN I_ACMTrdgContrTypeWithSide AS _TargetContractType ON TradingContractType = _TargetContractType.TradingContractType  -- association [0..1]
;