I_ACMMntnTrdgContrPrcOvw
Interface Layer for Trdg Contr Prc Ovw
I_ACMMntnTrdgContrPrcOvw is a Composite CDS View that provides data about "Interface Layer for Trdg Contr Prc Ovw" in SAP S/4HANA. It reads from 1 data source (I_ACMTrdgContrPrcLotDet) and exposes 254 fields with key fields ACMTrdgContrSourcePriceLotID, TradingContractNumber, TradingContractItem, PricingConditionTerm. It has 23 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMTrdgContrPrcLotDet | Pricing | from |
Associations (23)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_TrdgContrPrcFixPrcMethDet | _PriceMeth | _PriceMeth.TradingContractNumber = $projection.TradingContractNumber and _PriceMeth.TradingContractItem = $projection.TradingContractItem and _PriceMeth.PricingConditionTerm = $projection.PricingConditionTerm |
| [1..1] | I_ACMTrdgContrHdrAddlDets | _ContrHdrAddDets | _ContrHdrAddDets.TradingContractNumber = Pricing.TradingContractNumber |
| [1..1] | I_ACMCommodityDetails | _CommodityDetails | Pricing.Material = _CommodityDetails.Material |
| [0..1] | I_ACMTrdgContrPartForMntnContr | _TransactingCounterparty | _TransactingCounterparty.TradingContractNumber = Pricing.TradingContractNumber |
| [0..*] | I_ACMMntnPrcgLotCmmdtyOrder | _PriceCommOrder | _PriceCommOrder.TradingContractNumber = $projection.TradingContractNumber and _PriceCommOrder.TradingContractItem = $projection.TradingContractItem and _PriceCommOrder.PricingConditionTerm = $projection.PricingConditionTerm |
| [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_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 |
| [1..1] | I_CreatedByUser | _CreatedByDetails | Pricing.TradingContractCreatedBy = _CreatedByDetails.UserName |
| [0..1] | I_CreatedByUser | _PersonRespDetails | Pricing.PersonResponsible = _PersonRespDetails.UserName --Plant Description. |
| [1..1] | I_PlantStdVH | _PlantName | Pricing.ContractPlant = _PlantName.Plant |
| [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_IncotermsClassificationText | _IncoDescmm | Pricing.ACMPurgIncotermsPart1 = _IncoDescmm.IncotermsClassification and _IncoDescmm.Language = $session.system_language |
| [0..1] | I_IncotermsClassificationText | _IncoDescsd | Pricing.ACMSlsIncotermsPart1 = _IncoDescsd.IncotermsClassification and _IncoDescsd.Language = $session.system_language |
| [0..1] | I_CompanyCode | _CompanyCodeText | _CompanyCodeText.CompanyCode = Pricing. CompanyCode |
| [0..1] | I_ACMValuationPointVH | _ValPtDesc | Pricing.ValuationPoint = _ValPtDesc.ValuationPoint |
| [0..1] | I_ACMMntnContrSideText | _Side | Side = _Side.DomainValue |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMNTNCNTRPRCOVW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| EndUserText.label | Interface Layer for Trdg Contr Prc Ovw | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (254)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ACMTrdgContrSourcePriceLotID | TrdgContrPrcgAspectDummyLotID | ||
| KEY | TradingContractNumber | I_ACMTrdgContrPrcLotDet | TradingContractNumber | Trading Contract |
| KEY | TradingContractItem | TradingContractItem | Item Number | |
| KEY | PricingConditionTerm | ACMConditionTermNumber | ||
| TrdgContrPrcgAspectDummyLotID | TrdgContrPrcgAspectDummyLotID | |||
| ACMPriceMethodProgramID | _PriceMeth | ACMPriceMethodProgramID | ||
| ACMPriceMethodProgram | _PriceMeth | ACMPriceMethodProgram | ||
| TradingContractType | TradingContractType | |||
| TradingContractTypeName | TradingContractTypeName | |||
| Side | Side | Side | ||
| DocumentSide | ||||
| ContractStatus | ContractStatus | Paper Contr Status | ||
| TrdgContrApplStsName | TrdgContrApplStsName | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationText | _SalesOrganizationText | SalesOrganizationText | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DistributionChannelText | _DistributionChannelText | DistributionChannelText | ||
| Division | Division | Internal Division ID | ||
| DivisionName | _OrganizationDivisionName | DivisionName | Division Description | |
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingOrganizationName | _PurchasingOrganizationName | PurchasingOrganizationName | Purch. Org. Name | |
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingGroupName | _PurchasingGroupName | PurchasingGroupName | Purchasing Grp. Name | |
| TradingContractExternalID | TradingContractExternalID | |||
| ContractPlant | ContractPlant | |||
| PlantName | _PlantName | PlantName | Plant Name | |
| ContractMaterial | ContractMaterial | |||
| Material | Material | Vehicle Model | ||
| MaterialName | _MaterialText | MaterialName | Material Description | |
| PricingApproach | I_ACMTrdgContrPrcLotDet | PricingApproach | ||
| PricingTypeName | _PricingApproach | PricingTypeName | ||
| Commodity | _CommodityDetails | Commodity | Commodity Code | |
| CommodityName | _CommodityDetails | CommodityName | ||
| CounterpartyendasCounterparty | ||||
| CustomerNameendasCustomerName | ||||
| TransactingCtpty | _TransactingCounterparty | TransactingCtpty | ||
| ACMTransCounterpartyFullName | _TransactingCounterparty | ACMTransCounterpartyFullName | ||
| ACMOriginalTraderID | _ContrHdrAddDets | ACMOriginalTraderID | ||
| ACMAmendingTraderID | _ContrHdrAddDets | ACMAmendingTraderID | ||
| AlternatePaymentTerm | I_ACMTrdgContrPrcLotDet | AlternatePaymentTerm | ||
| Incoterms | Incoterms | Incoterms | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| TrdgContrPurgIncotermsLoc1Text | TrdgContrPurgIncotermsLoc1Text | |||
| TrdgContrSlsIncotermsLoc1Text | TrdgContrSlsIncotermsLoc1Text | |||
| UnitOfMeasure | ContractTradeUnit | |||
| Quantity | I_ACMTrdgContrPrcLotDet | ContractTradeQuantity | ||
| TradingContrCreatedOnDate | TradingContrCreatedOnDate | |||
| TrdgContrPersonResponsible | PersonResponsible | Person Responsible | ||
| TrdgContrPersonResponsibleName | _PersonRespDetails | UserDescription | Full Name | |
| TradingContractCreatedBy | TradingContractCreatedBy | |||
| TradingContractCreatedByName | _CreatedByDetails | UserDescription | Full Name | |
| TradingContractChangedByName | _CreatedByDetails | UserDescription | Full Name | |
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ACMPricingItemQuantity | ACMPricingItemQuantity | |||
| TrdgContractItemUnitOfMeasure | TrdgContractItemUnitOfMeasure | |||
| ValuationPoint | ValuationPoint | |||
| ValuationPointDesc | _ValPtDesc | ValuationPointDesc | ||
| CompanyCode | I_ACMTrdgContrPrcLotDet | CompanyCode | Receiver Company Code | |
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | Company Name | |
| DerivativeContrSpecification | I_ACMTrdgContrPrcLotDet | DerivativeContrSpecification | DCS ID | |
| ACMDerivativeContrSpecsTxt | _DCSText | DerivativeContrSpecName | ||
| ACMPricingMarketIdentifierCode | I_ACMTrdgContrPrcLotDet | ACMPricingMarketIdentifierCode | MIC | |
| ACMMarketIdentifierCodeTxt | _MarketIDText | MarketIdentifierCodeName | ||
| MaturityKeyDate | I_ACMTrdgContrPrcLotDet | MaturityKeyDate | Maturity Key Date | |
| DerivativeContractMaturityCode | ||||
| PrcgCndnTradingContrCurrency | I_ACMTrdgContrPrcLotDet | PrcgCndnTradingContrCurrency | Term Currency | |
| ACMPrcgTotAmt | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | ||
| CmmdtyDealDetEffectiveFromDate | CmmdtyDealDetEffectiveFromDate | |||
| CmmdtyDealDetEffectiveToDate | CmmdtyDealDetEffectiveToDate | |||
| ACMPrcgIntendedPrcType | I_ACMTrdgContrPrcLotDet | ACMPrcgIntendedPrcType | ||
| ACMPrcgIntendedPrcTypeDesc | _IntendedPrcType | DomainText | Short Description | |
| ACMYourReference | I_ACMTrdgContrPrcLotDet | ACMYourReference | ||
| ACMCustomerReference | I_ACMTrdgContrPrcLotDet | ACMCustomerReference | ||
| ACMPrcgCndnFuturePrice | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFuturePrice | ||
| ACMPrcgCndnFutureTermCrcy | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFutureTermCrcy | ||
| ACMPrcgCndnFixedRateFutureUoM | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFixedRateFutureUoM | ||
| ACMPrcgCndnFlatRateFutureUoM | UnitOfMeasure | Unit Protected Qty | ||
| ACMPrcgCndnBasisPrc | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnBasisPrc | ||
| PrcgConditionTermFixedRateCrcy | I_ACMTrdgContrPrcLotDet | PrcgConditionTermFixedRateCrcy | Currency Fixed Rate | |
| ACMPrcgCndnNonHedgeTermCrcy | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgeTermCrcy | ||
| ACMPrcgCndnNonHedgePriceUnit | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgePriceUnit | ||
| ACMPrcgCndnNonHedgeQtyUnit | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgeQtyUnit | ||
| ACMPrcgCndnFlatPrice | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | ||
| ACMPrcgSourceLotGroup | ||||
| SessionUser | ||||
| ACMTrdgContrPrcgStatusText | ACMTrdgContrPrcgStatusText | |||
| TrdgContrPrcgAspectSrceLotID | TrdgContrPrcgAspectSrceLotID | |||
| ACMPurgIncotermsPart1 | I_ACMTrdgContrPrcLotDet | ACMPurgIncotermsPart1 | ||
| ACMSlsIncotermsPart1 | I_ACMTrdgContrPrcLotDet | ACMSlsIncotermsPart1 | ||
| TrdgContrGoodsSupplier | I_ACMTrdgContrPrcLotDet | TrdgContrGoodsSupplier | ||
| PurchaseOrderSupplier | I_ACMTrdgContrPrcLotDet | PurchaseOrderSupplier | ||
| PricingDocument | I_ACMTrdgContrPrcLotDet | PricingDocument | Document Condition | |
| ACMTrdgContrStatusCategory | I_ACMTrdgContrPrcLotDet | ACMTrdgContrStatusCategory | ||
| ACMContractStatusIsPosRelevant | I_ACMTrdgContrPrcLotDet | ACMContractStatusIsPosRelevant | ||
| ACMPricingRate | I_ACMTrdgContrPrcLotDet | ACMPricingRate | ||
| ConditionTermUnit | I_ACMTrdgContrPrcLotDet | ConditionTermUnit | ||
| ACMPrcgToLiftQty | Value | |||
| ACMPrcgToLiftQtyUnit | Unit Protected Qty | |||
| ACMPrcgToRollQty | Value | |||
| ACMPrcgQtyToBePricedFldCtrl | ||||
| ACMPrcgToRollQtyFldCtrl | ||||
| ACMPrcgVehiclesToRollFldCtrl | ||||
| ACMPrcgHdrOpenQty | Quantity | Pricing Quantity | ||
| ACMPrcgHdrOpenQtyFldCtrl | ||||
| ACMPrcgHdrEditQty | Quantity | Pricing Header Updated Quantity | ||
| ACMPrcgCancellationCode | Cancellation Code | |||
| ACMPrcgCancellationDate | Cancellation Date | |||
| ACMPrcgCancEffectiveDate | Cancellation Effective Date | |||
| PricingFormulaCurrency | Trading Contract Currency | |||
| ACMPrcgCancellationFee | ||||
| ACMPrcgCancellationFeeCurrency | Cancellation Fee Currency | |||
| ACMPrcgCancFeePrcUnitQty | Cancel Fee Price Unit Quantity | |||
| ACMPrcgCancellationCodeText | Cancellation Code Text | |||
| ACMPrcgCancellationTypeText | Cancellation Type Text | |||
| ACMPrcgToBeCancelledQty | Quantity | To be Cancelled Quantity | ||
| ACMPrcgAllwdToSpltQty | Quantity | Allowed To Split Quantity | ||
| ACMPrcgVehToBeCancelled | Vehicles to Cancel | |||
| ACMPrcgToBeCancelledQtyFldCtrl | ||||
| ACMPrcgVehToBeCancelledFldCtrl | ||||
| ACMPrcgToBeCancelledHdrQty | Quantity | To be Cancelled Header Quantity | ||
| ACMPrcgToBeCancHdrQtyFldCtrl | ||||
| ACMPrcgIsCancellationAllowed | ||||
| ACMPrcgCancellationEquityAmt | ACMPrcgCndnFlatPrice | Cancellation Equity Amount | ||
| ACMPrcgCancellationEquityCrcy | Cancellation Equity Currency | |||
| ACMPrcgCancEquityPrcUnitQty | Cancel Equity Prc Unit Quantity | |||
| ACMPrcgCancellationEquityUnit | Cancellation Equity Unit | |||
| ACMPrcgFutIsUserChanged | ||||
| ACMPrcgCancFutureRefPrice | ACMPrcgCndnFlatPrice | Cancel Future Ref Price | ||
| ACMPrcgCancFutureFetchedPrice | ACMPrcgCndnFlatPrice | Cancel Future Fetched Price | ||
| ACMPrcgCancFutureRefPrcFldCtrl | ||||
| ACMPrcgCancBasisRefPrice | ACMPrcgCndnFlatPrice | Cancel Basis Ref Price | ||
| ACMPrcgCancBasisFetchedPrice | ACMPrcgCndnFlatPrice | Cancel Basis Fetched Price | ||
| ACMPrcgCancBasisRefPriceCrcy | Cancel Basis Ref Price Currency | |||
| ACMPrcgCancBasisRefPriceQty | Cancel Basis Ref Price Quantity | |||
| ACMPrcgCancBasisRefPriceUnit | Cancel Basis Ref Price Unit | |||
| ACMPrcgFutureReasonCodeDetail | Future Reason Code | |||
| ACMPrcgBasisReasonCodeDetail | Basis Reason Code | |||
| ACMPrcgCancBasisRefPrcFldCtrl | ||||
| ACMPrcgFutureReasonCodeFldCtrl | ||||
| ACMPrcgBasisReasonCodeFldCtrl | ||||
| ACMPrcgIsCancelled | ||||
| ACMPrcgExchRateType | ||||
| ACMPrcgCancellationType | ||||
| ACMPrcgUnitOfMeasureFldCtrl | ||||
| ACMPricingFormulaCrcyFldCtrl | ||||
| ACMPrcgCanclnButtonFldCtrl | ||||
| ACMPrcgCmmdtyOrdType | ||||
| ACMPrcgCmmdtyOrdTypeText | Order Type Text | |||
| ACMPrcgCmmdtyOrdRequestReason | Order Request Status Reason | |||
| ACMPrcgCmmdtyOrdNmbrOfOrdLots | ||||
| ACMPrcgCmmdtyOrdReqReasonTxt | Order Request Reason Description | |||
| ACMPrcgCmmdtyOrdQty | Quantity | Commodity Order Quantity | ||
| ACMPrcgCmmdtyOrdQtyFldCtrl | ||||
| ACMPrcgCmmdtyOrdVeh | Commodity Order Vehicles | |||
| ACMPrcgCmmdtyOrdVehFldCtrl | ||||
| ACMPrcgCmmdtyOrdFlowType | ||||
| ACMPrcgCmmdtyOrdFlowTypeTxt | Commodity Order Flow Type Text | |||
| ACMPrcgCmmdtyOrdTraderID | ||||
| ACMPrcgCmmdtyOrdFetchPriceDate | Order Fetch Price Date | |||
| ACMPrcgExecInstruction | Execution Instruction | |||
| ACMPrcgExecInstructionTxt | Exec Instruction Text | |||
| ACMPrcgExpiryInstructionTxt | Expiry Instruction Text | |||
| ACMPrcgExpiryInstruction | ||||
| ACMPrcgCmmdtyOrdExpiryDate | Order Expiry Date | |||
| ACMPrcgIsCmmdtyOrdPrcgAllowed | ||||
| ACMPrcgIsCmmdtyOrdPlaced | ||||
| ACMPrcgCmmdtyOrdExchType | ||||
| ACMPrcgCmmdtyOrdExchTypeTxt | ||||
| ACMPrcgCmmdtyOrdCtptyBroker | ||||
| ACMPrcgCmmdtyOrdBrokerAccount | ||||
| ACMPrcgCounterpartySubAccount | Counterparty Subaccount | |||
| ACMPrcgCmmdtyOrdLeewayPriceAmt | ACMPrcgCndnFuturePrice | Order Lee way Price Amount | ||
| ACMPrcgCmmdtyOrdLeewayRngeAmt | ACMPrcgCndnFuturePrice | Order Lee way Range Amount | ||
| ACMPrcgCmmdtyOrdLimitSpreadPrc | ACMPrcgCndnFuturePrice | Order Limit Spread Price | ||
| ACMPrcgCmmdtyOrdLongFutureID | ||||
| ACMPrcgCmmdtyOrdShortFutureID | ||||
| ACMPrcgCmmdtyOrdExternalDocRef | ||||
| ACMPrcgLongMaturityKeyDte | Long Maturity Key Date | |||
| ACMPrcgShortMaturityKeyDte | Short Maturity Key Date | |||
| ACMPrcgNegotiatedDateTime | ||||
| ACMPrcgCmmdtyOrdRequestTicks | ||||
| ACMPrcgReferencePrice | ACMPrcgCndnFuturePrice | Reference Price | ||
| ACMPrcgCmmdtyOrdStopPrice | ACMPrcgCndnFuturePrice | Order Stop Price | ||
| ACMPrcgCmmdtyOrdLimitPrice | ACMPrcgCndnFuturePrice | Order Limit Price | ||
| ACMPrcgCmmdtyOrdStopLimitPrice | ACMPrcgCndnFuturePrice | Order Stop Limit Price | ||
| PrcgCndnTermFixedRateQtyUnit | Term Fixed Rate Quantity Unit | |||
| PrcgConditionTermFixedRateQty | Term Fixed Rate Quantity | |||
| ACMPrcgCmmdtyOrdSequenceNumber | Order Sequence Number | |||
| ACMPrcgCmmdtyOrdSubAccountID | ACMPrcgCmmdtyOrdSubAccountID | Order Sub Account ID | ||
| ACMTrdgContrSubAccountName | ACMTrdgContrSubAccountName | Order Sub Account Name | ||
| ACMPrcgCmmdtyOrdDocumentType | ||||
| ACMPrcgNegotiatedOnFldCtrl | ||||
| ACMPrcgSpreadSpotFldCtrl | ||||
| ACMPrcgCmmdtyOrdTraderFldCtrl | ||||
| ACMPrcgSpreadBasisFldCtrl | ||||
| ACMPrcgRefMaturityCodeFldCtrl | ||||
| ACMPrcgRefMarketPriceFldCtrl | ||||
| ACMPrcgRefMarketCrcyFldCtrl | ||||
| ACMPrcgRefFlowTypeFldCtrl | ||||
| ACMPrcgCmmdtyOrdRefAmtFldCtrl | ||||
| ACMPrcgCmmdtyOrdQtyUnitFldCtrl | ||||
| ACMPrcgCmmdtyOrderLotsFldCtrl | ||||
| ACMPrcgBrokerAccountFldCtrl | ||||
| ACMPrcgCmmdtyOrdBrokerFldCtrl | ||||
| ACMPrcgCtptyBrokerFldCtrl | ||||
| ACMPrcgCtptySubAccountFldCtrl | ||||
| ACMPrcgCounterpartyFldCtrl | ||||
| ACMPrcgExchangeTypeFldCtrl | ||||
| ACMPrcgExecutionInstrFldCtrl | ||||
| ACMPrcgExecutionTicksFldCtrl | ||||
| ACMPrcgExpirationDateFldCtrl | ||||
| ACMPrcgExpirationInstrFldCtrl | ||||
| ACMPrcgFlowTypeFldCtrl | ||||
| ACMPrcgOrderLiftFxdExchFldCtrl | ||||
| ACMPrcgMaturityCodeFldCtrl | ||||
| ACMPrcgMaturityKeyDateFldCtrl | ||||
| ACMPrcgAmountFldCtrl | ||||
| ACMPrcgCmmdtyOrdRefFlowType | Order Ref Flow Type | |||
| ACMPrcgCmmdtyOrdRefFlowTypeTxt | Order Ref Flow Type Text | |||
| ACMPrcgIsRolledWithCmmdtyOrd | ||||
| ACMPrcgIsRollWthCmmdtyOrdAllwd | ||||
| ACMPrcgIsLiftedWithCmmdtyOrd | ||||
| ACMPrcgIsLiftWthCmmdtyOrdAllwd | ||||
| ACMPrcgIsCancelledWthCmmdtyOrd | ||||
| ACMPrcgIsCancWthCmmdtyOrdAllwd | ||||
| CmmdtyOrderRequestStatus | _PriceCommOrder | CmmdtyOrderRequestStatus | Order Status | |
| CmmdtyOrderRequestStatusText | _PriceCommOrder | CmmdtyOrderRequestStatusText | ||
| ACMPrcgRefMaturityCode | ||||
| ACMPrcgRefMaturityKeyDate | Reference Maturity Key Date | |||
| ACMPrcgRollSpotFxdExchRate | Roll Spot Fixed Exchange Rate | |||
| ACMPrcgRollBlendedFxdExchRate | Roll Blended Fixed Exchange Rate | |||
| ACMPrcgBlendFxdExchRateFldCtrl | ||||
| ACMPrcgSpotFxdExchRateFldCtrl | ||||
| ACMPrcgIsFetchFxdExchDisabled | ||||
| ACMPrcgRolledPriceAmt | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Rolled Price Amount | |
| ACMPrcgSpreadFutureAmt | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Spread Future Amount | |
| ACMPrcgPremiumAmt | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Premium Amount | |
| PrcgCndnTermCnvrsnSourceCrcy | ACMPrcgCndnFutureTermCrcy | Source Currency | ||
| PricingConditionTermFixedRate | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Condition Term Fixed Rate | |
| ACMPrcgFirstExecInstrPrice | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | First Execution Instruction Price | |
| ACMPrcgSecondExecInstrPrice | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Second Execution Instruction Price | |
| ACMPrcgThirdExecInstrPrice | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnFlatPrice | Third Execution Instruction Price | |
| ACMPrcgThirdExecPrcFldCtrl | ||||
| ACMPrcgSecondExecPrcFldCtrl | ||||
| ACMPrcgFirstExecPrcFldCtrl | ||||
| ConditionType | ||||
| ACMPricingConditionTypeName | Condition Type Name | |||
| ACMContrPrcgCumltvBsAmt | ACMPrcgCndnFuturePrice | |||
| ACMFormulaUoM | ACMFormulaUoM | |||
| ACMPrcgNonHedgeFlatPrcAmt | ACMPrcgCndnFlatPrice | |||
| ACMPrcgNonHedgeFlatPrcCrcy | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgeTermCrcy | ||
| ACMPrcgNonHedgeFlatPrcUnit | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgeQtyUnit | ||
| ACMPrcgNonHedgePrPerQuantity | I_ACMTrdgContrPrcLotDet | ACMPrcgCndnNonHedgePriceUnit | ||
| ACMPrcgOverfillFldCtrl |
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_ACMMntnTrdgContrPrcOvw.
-- 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: IMNTNCNTRPRCOVW
CREATE VIEW I_ACMMntnTrdgContrPrcOvw AS
SELECT
TrdgContrPrcgAspectDummyLotID AS ACMTrdgContrSourcePriceLotID,
Pricing.TradingContractNumber AS TradingContractNumber,
TradingContractItem,
ACMConditionTermNumber AS PricingConditionTerm,
TrdgContrPrcgAspectDummyLotID,
_PriceMeth.ACMPriceMethodProgramID AS ACMPriceMethodProgramID,
_PriceMeth.ACMPriceMethodProgram AS ACMPriceMethodProgram,
TradingContractType,
TradingContractTypeName,
Side,
cast( _Side.DomainText as wb2_side ) AS DocumentSide,
ContractStatus,
TrdgContrApplStsName,
SalesOrganization,
_SalesOrganizationText.SalesOrganizationText AS SalesOrganizationText,
DistributionChannel,
_DistributionChannelText.DistributionChannelText AS DistributionChannelText,
Division,
_OrganizationDivisionName.DivisionName AS DivisionName,
PurchasingOrganization,
_PurchasingOrganizationName.PurchasingOrganizationName AS PurchasingOrganizationName,
PurchasingGroup,
_PurchasingGroupName.PurchasingGroupName AS PurchasingGroupName,
TradingContractExternalID,
ContractPlant,
_PlantName.PlantName AS PlantName,
ContractMaterial,
Material,
_MaterialText.MaterialName AS MaterialName,
Pricing.PricingApproach AS PricingApproach,
_PricingApproach.PricingTypeName AS PricingTypeName,
_CommodityDetails.Commodity AS Commodity,
_CommodityDetails.CommodityName AS CommodityName,
case Side when 'M' then Purchase_Counterparty.Counterparty else Sales_Counterparty.Counterparty end as Counterparty AS CounterpartyendasCounterparty,
case Side when 'M' then Purchase_Counterparty.CustomerName else Sales_Counterparty.CustomerName end as CustomerName AS CustomerNameendasCustomerName,
_TransactingCounterparty.TransactingCtpty AS TransactingCtpty,
_TransactingCounterparty.ACMTransCounterpartyFullName AS ACMTransCounterpartyFullName,
_ContrHdrAddDets.ACMOriginalTraderID AS ACMOriginalTraderID,
_ContrHdrAddDets.ACMAmendingTraderID AS ACMAmendingTraderID,
Pricing.AlternatePaymentTerm AS AlternatePaymentTerm,
Incoterms,
IncotermsLocation1,
TrdgContrPurgIncotermsLoc1Text,
TrdgContrSlsIncotermsLoc1Text,
ContractTradeUnit AS UnitOfMeasure,
Pricing.ContractTradeQuantity AS Quantity,
TradingContrCreatedOnDate,
PersonResponsible AS TrdgContrPersonResponsible,
_PersonRespDetails.UserDescription AS TrdgContrPersonResponsibleName,
TradingContractCreatedBy,
_CreatedByDetails.UserDescription AS TradingContractCreatedByName,
_CreatedByDetails.UserDescription AS TradingContractChangedByName,
DocumentDate,
ACMPricingItemQuantity,
TrdgContractItemUnitOfMeasure,
ValuationPoint,
_ValPtDesc.ValuationPointDesc AS ValuationPointDesc,
Pricing.CompanyCode AS CompanyCode,
_CompanyCodeText.CompanyCodeName AS CompanyCodeName,
Pricing.DerivativeContrSpecification AS DerivativeContrSpecification,
_DCSText.DerivativeContrSpecName AS ACMDerivativeContrSpecsTxt,
Pricing.ACMPricingMarketIdentifierCode AS ACMPricingMarketIdentifierCode,
_MarketIDText.MarketIdentifierCodeName AS ACMMarketIdentifierCodeTxt,
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,
_IntendedPrcType.DomainText AS ACMPrcgIntendedPrcTypeDesc,
Pricing.ACMYourReference AS ACMYourReference,
Pricing.ACMCustomerReference AS ACMCustomerReference,
Pricing.ACMPrcgCndnFuturePrice AS ACMPrcgCndnFuturePrice,
Pricing.ACMPrcgCndnFutureTermCrcy AS ACMPrcgCndnFutureTermCrcy,
Pricing.ACMPrcgCndnFixedRateFutureUoM AS ACMPrcgCndnFixedRateFutureUoM,
UnitOfMeasure AS ACMPrcgCndnFlatRateFutureUoM,
Pricing.ACMPrcgCndnBasisPrc AS ACMPrcgCndnBasisPrc,
Pricing.PrcgConditionTermFixedRateCrcy AS PrcgConditionTermFixedRateCrcy,
Pricing.ACMPrcgCndnNonHedgeTermCrcy AS ACMPrcgCndnNonHedgeTermCrcy,
Pricing.ACMPrcgCndnNonHedgePriceUnit AS ACMPrcgCndnNonHedgePriceUnit,
Pricing.ACMPrcgCndnNonHedgeQtyUnit AS ACMPrcgCndnNonHedgeQtyUnit,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgCndnFlatPrice,
cast( '000000' as numc06 ) AS ACMPrcgSourceLotGroup,
$session.user AS SessionUser,
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.ACMPricingRate AS ACMPricingRate,
Pricing.ConditionTermUnit AS ConditionTermUnit,
cast( Quantity as menge_d ) AS ACMPrcgToLiftQty,
cast( UnitOfMeasure as cpet_uomfrom ) AS ACMPrcgToLiftQtyUnit,
cast( Quantity as menge_d ) AS ACMPrcgToRollQty,
cast ( 01 as int1 ) AS ACMPrcgQtyToBePricedFldCtrl,
cast( '0' as int1 ) AS ACMPrcgToRollQtyFldCtrl,
cast( '0' as int1 ) AS ACMPrcgVehiclesToRollFldCtrl,
Quantity AS ACMPrcgHdrOpenQty,
cast( '0' as int1 ) AS ACMPrcgHdrOpenQtyFldCtrl,
Quantity AS ACMPrcgHdrEditQty,
cast ( '' as absgr ) AS ACMPrcgCancellationCode,
cast( $session.system_date as datum ) AS ACMPrcgCancellationDate,
cast( $session.system_date as datum ) AS ACMPrcgCancEffectiveDate,
cast( PrcgCndnTradingContrCurrency as waers ) AS PricingFormulaCurrency,
cast( 0 as /accgo/e_fee ) AS ACMPrcgCancellationFee,
cast( PrcgCndnTradingContrCurrency as waers ) AS ACMPrcgCancellationFeeCurrency,
cast( 1 as cpet_fixprun ) AS ACMPrcgCancFeePrcUnitQty,
cast ( '' as text_val ) AS ACMPrcgCancellationCodeText,
cast ( '' as text_val ) AS ACMPrcgCancellationTypeText,
Quantity AS ACMPrcgToBeCancelledQty,
Quantity AS ACMPrcgAllwdToSpltQty,
cast( 0 as /accgo/e_number_of_vehicles ) AS ACMPrcgVehToBeCancelled,
cast( '0' as int1 ) AS ACMPrcgToBeCancelledQtyFldCtrl,
cast( '0' as int1 ) AS ACMPrcgVehToBeCancelledFldCtrl,
Quantity AS ACMPrcgToBeCancelledHdrQty,
cast( '0' as int1 ) AS ACMPrcgToBeCancHdrQtyFldCtrl,
cast( '' as boole_d ) AS ACMPrcgIsCancellationAllowed,
ACMPrcgCndnFlatPrice AS ACMPrcgCancellationEquityAmt,
cast( PrcgCndnTradingContrCurrency as cpet_fixcurr ) AS ACMPrcgCancellationEquityCrcy,
cast( 1 as cpet_fixprun ) AS ACMPrcgCancEquityPrcUnitQty,
cast( UnitOfMeasure as cpet_fixuom ) AS ACMPrcgCancellationEquityUnit,
cast( '' as boole_d ) AS ACMPrcgFutIsUserChanged,
ACMPrcgCndnFlatPrice AS ACMPrcgCancFutureRefPrice,
ACMPrcgCndnFlatPrice AS ACMPrcgCancFutureFetchedPrice,
cast ( '0' as int1 ) AS ACMPrcgCancFutureRefPrcFldCtrl,
ACMPrcgCndnFlatPrice AS ACMPrcgCancBasisRefPrice,
ACMPrcgCndnFlatPrice AS ACMPrcgCancBasisFetchedPrice,
cast( PrcgCndnTradingContrCurrency as cpet_fixcurr ) AS ACMPrcgCancBasisRefPriceCrcy,
cast( 1 as cpet_fixprun ) AS ACMPrcgCancBasisRefPriceQty,
cast( UnitOfMeasure as cpet_fixuom ) AS ACMPrcgCancBasisRefPriceUnit,
cast( '' as /accgo/e_pror_rc ) AS ACMPrcgFutureReasonCodeDetail,
cast( '' as /accgo/e_pror_rc ) AS ACMPrcgBasisReasonCodeDetail,
cast ( '0' as int1 ) AS ACMPrcgCancBasisRefPrcFldCtrl,
cast ( '0' as int1 ) AS ACMPrcgFutureReasonCodeFldCtrl,
cast ( '0' as int1 ) AS ACMPrcgBasisReasonCodeFldCtrl,
cast ( '' as boole_d ) AS ACMPrcgIsCancelled,
cast( '' as kurst_curr ) AS ACMPrcgExchRateType,
cast( '' as /accgo/e_cancl_typ ) AS ACMPrcgCancellationType,
cast( '1' as int1 ) AS ACMPrcgUnitOfMeasureFldCtrl,
cast( '0' as int1 ) AS ACMPricingFormulaCrcyFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCanclnButtonFldCtrl,
cast( '' as cmmfdor_ordertype ) AS ACMPrcgCmmdtyOrdType,
cast( '' as cmmfdor_ordertypetext ) AS ACMPrcgCmmdtyOrdTypeText,
cast( '' as cmmfdor_orderrequstatusreason ) AS ACMPrcgCmmdtyOrdRequestReason,
cast( 0 as cmmfdor_ordreqnumberoflots ) AS ACMPrcgCmmdtyOrdNmbrOfOrdLots,
cast( '' as /accgo/e_cdote_ordreason_desc ) AS ACMPrcgCmmdtyOrdReqReasonTxt,
Quantity AS ACMPrcgCmmdtyOrdQty,
cast( 0 as int1 ) AS ACMPrcgCmmdtyOrdQtyFldCtrl,
cast( 0 as /accgo/e_number_of_vehicles ) AS ACMPrcgCmmdtyOrdVeh,
cast( 0 as int1 ) AS ACMPrcgCmmdtyOrdVehFldCtrl,
cast( '' as cmmfdor_orderrequestflowtype ) AS ACMPrcgCmmdtyOrdFlowType,
cast( '' as cmmfdor_ordreqflowtypetext ) AS ACMPrcgCmmdtyOrdFlowTypeTxt,
cast( '' as rdealer ) AS ACMPrcgCmmdtyOrdTraderID,
cast( $session.system_date as datum ) AS ACMPrcgCmmdtyOrdFetchPriceDate,
cast( '' as cmmfdor_orderpricingexecinst ) AS ACMPrcgExecInstruction,
cast( '' as text_30 ) AS ACMPrcgExecInstructionTxt,
cast( '' as text_30 ) AS ACMPrcgExpiryInstructionTxt,
cast( '' as cmmfdor_orderexpirationinst ) AS ACMPrcgExpiryInstruction,
cast( $session.system_date as datum ) AS ACMPrcgCmmdtyOrdExpiryDate,
cast( '' as boole_d ) AS ACMPrcgIsCmmdtyOrdPrcgAllowed,
cast( '' as boole_d ) AS ACMPrcgIsCmmdtyOrdPlaced,
cast( '' as cmmfdor_ordreqexchangetype ) AS ACMPrcgCmmdtyOrdExchType,
cast( '' as cmmfdor_ordreqexchangetypetext ) AS ACMPrcgCmmdtyOrdExchTypeTxt,
cast( '' as cmmfdor_cntrparty_broker ) AS ACMPrcgCmmdtyOrdCtptyBroker,
cast( '' as cmmfsa_referencebrokeraccount ) AS ACMPrcgCmmdtyOrdBrokerAccount,
cast( '' as cmmfdor_ordreqcntrptysubacct ) AS ACMPrcgCounterpartySubAccount,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdLeewayPriceAmt,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdLeewayRngeAmt,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdLimitSpreadPrc,
cast( 0 as cmmfdor_ordreqlongfuture ) AS ACMPrcgCmmdtyOrdLongFutureID,
cast( 0 as cmmfdor_cmmdtyordfillfutureid ) AS ACMPrcgCmmdtyOrdShortFutureID,
cast( '' as cmmfdof_cmmdtyordfillextordref ) AS ACMPrcgCmmdtyOrdExternalDocRef,
cast( $session.system_date as tba_keydate ) AS ACMPrcgLongMaturityKeyDte,
cast( $session.system_date as tba_keydate ) AS ACMPrcgShortMaturityKeyDte,
cast( 0 as cmmfdor_ordnegotiationdatetime ) AS ACMPrcgNegotiatedDateTime,
cast( 0 as cmmfdor_ordreqticks ) AS ACMPrcgCmmdtyOrdRequestTicks,
ACMPrcgCndnFuturePrice AS ACMPrcgReferencePrice,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdStopPrice,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdLimitPrice,
ACMPrcgCndnFuturePrice AS ACMPrcgCmmdtyOrdStopLimitPrice,
cast( '' as cpet_uomfrom) AS PrcgCndnTermFixedRateQtyUnit,
cast( 1 as cpet_fixprun ) AS PrcgConditionTermFixedRateQty,
cast( 0 as int4 ) AS ACMPrcgCmmdtyOrdSequenceNumber,
ACMPrcgCmmdtyOrdSubAccountID,
ACMTrdgContrSubAccountName,
cast( '' as cmmfdor_orderrequestdoctype ) AS ACMPrcgCmmdtyOrdDocumentType,
cast( '0' as int1 ) AS ACMPrcgNegotiatedOnFldCtrl,
cast( '0' as int1 ) AS ACMPrcgSpreadSpotFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCmmdtyOrdTraderFldCtrl,
cast( '0' as int1 ) AS ACMPrcgSpreadBasisFldCtrl,
cast( '0' as int1 ) AS ACMPrcgRefMaturityCodeFldCtrl,
cast( '0' as int1 ) AS ACMPrcgRefMarketPriceFldCtrl,
cast( '0' as int1 ) AS ACMPrcgRefMarketCrcyFldCtrl,
cast( '0' as int1 ) AS ACMPrcgRefFlowTypeFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCmmdtyOrdRefAmtFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCmmdtyOrdQtyUnitFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCmmdtyOrderLotsFldCtrl,
cast( '0' as int1 ) AS ACMPrcgBrokerAccountFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCmmdtyOrdBrokerFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCtptyBrokerFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCtptySubAccountFldCtrl,
cast( '0' as int1 ) AS ACMPrcgCounterpartyFldCtrl,
cast( '0' as int1 ) AS ACMPrcgExchangeTypeFldCtrl,
cast( '0' as int1 ) AS ACMPrcgExecutionInstrFldCtrl,
cast( '0' as int1 ) AS ACMPrcgExecutionTicksFldCtrl,
cast( '0' as int1 ) AS ACMPrcgExpirationDateFldCtrl,
cast( '0' as int1 ) AS ACMPrcgExpirationInstrFldCtrl,
cast( '0' as int1 ) AS ACMPrcgFlowTypeFldCtrl,
cast( '0' as int1 ) AS ACMPrcgOrderLiftFxdExchFldCtrl,
cast( '0' as int1 ) AS ACMPrcgMaturityCodeFldCtrl,
cast( '0' as int1 ) AS ACMPrcgMaturityKeyDateFldCtrl,
cast( '0' as int1 ) AS ACMPrcgAmountFldCtrl,
cast( '' as cmmfdor_orderrequestflowtype ) AS ACMPrcgCmmdtyOrdRefFlowType,
cast( '' as cmmfdor_ordreqflowtypetext ) AS ACMPrcgCmmdtyOrdRefFlowTypeTxt,
cast( '' as boole_d ) AS ACMPrcgIsRolledWithCmmdtyOrd,
cast( '' as boole_d ) AS ACMPrcgIsRollWthCmmdtyOrdAllwd,
cast( '' as boole_d ) AS ACMPrcgIsLiftedWithCmmdtyOrd,
cast( '' as boole_d ) AS ACMPrcgIsLiftWthCmmdtyOrdAllwd,
cast( '' as boole_d ) AS ACMPrcgIsCancelledWthCmmdtyOrd,
cast( '' as boole_d ) AS ACMPrcgIsCancWthCmmdtyOrdAllwd,
_PriceCommOrder.CmmdtyOrderRequestStatus AS CmmdtyOrderRequestStatus,
_PriceCommOrder.CmmdtyOrderRequestStatusText AS CmmdtyOrderRequestStatusText,
cast( '' as tba_contract_code ) AS ACMPrcgRefMaturityCode,
cast( '' as tba_keydate ) AS ACMPrcgRefMaturityKeyDate,
cast( 0 as cpet_fixexchrate ) AS ACMPrcgRollSpotFxdExchRate,
cast( 0 as cpet_fixexchrate ) AS ACMPrcgRollBlendedFxdExchRate,
cast( '0' as int1 ) AS ACMPrcgBlendFxdExchRateFldCtrl,
cast( '0' as int1 ) AS ACMPrcgSpotFxdExchRateFldCtrl,
cast( '' as boole_d ) AS ACMPrcgIsFetchFxdExchDisabled,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgRolledPriceAmt,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgSpreadFutureAmt,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgPremiumAmt,
ACMPrcgCndnFutureTermCrcy AS PrcgCndnTermCnvrsnSourceCrcy,
Pricing.ACMPrcgCndnFlatPrice AS PricingConditionTermFixedRate,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgFirstExecInstrPrice,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgSecondExecInstrPrice,
Pricing.ACMPrcgCndnFlatPrice AS ACMPrcgThirdExecInstrPrice,
cast( 0 as int1 ) AS ACMPrcgThirdExecPrcFldCtrl,
cast( 0 as int1 ) AS ACMPrcgSecondExecPrcFldCtrl,
cast( 0 as int1 ) AS ACMPrcgFirstExecPrcFldCtrl,
cast( '' as cpet_cond_type ) AS ConditionType,
cast( '' as vtxtm ) AS ACMPricingConditionTypeName,
ACMPrcgCndnFuturePrice AS ACMContrPrcgCumltvBsAmt,
ACMFormulaUoM,
ACMPrcgCndnFlatPrice AS ACMPrcgNonHedgeFlatPrcAmt,
Pricing.ACMPrcgCndnNonHedgeTermCrcy AS ACMPrcgNonHedgeFlatPrcCrcy,
Pricing.ACMPrcgCndnNonHedgeQtyUnit AS ACMPrcgNonHedgeFlatPrcUnit,
Pricing.ACMPrcgCndnNonHedgePriceUnit AS ACMPrcgNonHedgePrPerQuantity,
cast( '1' as int1 ) AS ACMPrcgOverfillFldCtrl
FROM I_ACMTrdgContrPrcLotDet AS Pricing
LEFT OUTER JOIN I_TrdgContrPrcFixPrcMethDet AS _PriceMeth ON _PriceMeth.TradingContractNumber = TradingContractNumber AND _PriceMeth.TradingContractItem = TradingContractItem AND _PriceMeth.PricingConditionTerm = PricingConditionTerm -- association [0..*]
LEFT OUTER JOIN I_ACMTrdgContrHdrAddlDets AS _ContrHdrAddDets ON _ContrHdrAddDets.TradingContractNumber = Pricing.TradingContractNumber -- association [1..1]
LEFT OUTER JOIN I_ACMCommodityDetails AS _CommodityDetails ON Pricing.Material = _CommodityDetails.Material -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrPartForMntnContr AS _TransactingCounterparty ON _TransactingCounterparty.TradingContractNumber = Pricing.TradingContractNumber -- association [0..1]
LEFT OUTER JOIN I_ACMMntnPrcgLotCmmdtyOrder AS _PriceCommOrder ON _PriceCommOrder.TradingContractNumber = TradingContractNumber AND _PriceCommOrder.TradingContractItem = TradingContractItem AND _PriceCommOrder.PricingConditionTerm = PricingConditionTerm -- association [0..*]
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_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_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_PlantStdVH AS _PlantName ON Pricing.ContractPlant = _PlantName.Plant -- 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_IncotermsClassificationText AS _IncoDescmm ON Pricing.ACMPurgIncotermsPart1 = _IncoDescmm.IncotermsClassification AND _IncoDescmm.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncoDescsd ON Pricing.ACMSlsIncotermsPart1 = _IncoDescsd.IncotermsClassification AND _IncoDescsd.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON _CompanyCodeText.CompanyCode = Pricing. CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ACMValuationPointVH AS _ValPtDesc ON Pricing.ValuationPoint = _ValPtDesc.ValuationPoint -- association [0..1]
LEFT OUTER JOIN I_ACMMntnContrSideText AS _Side ON Side = _Side.DomainValue -- association [0..1]
;
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