I_ACMTrdgContrPrcgVersionDets

DDL: I_ACMTRDGCONTRPRCGVERSIONDETS SQL: ITCPRCVERSDETS Type: view BASIC

Interface view for Trading Contract Pricing Vesrion Details

I_ACMTrdgContrPrcgVersionDets is a Basic CDS View that provides data about "Interface view for Trading Contract Pricing Vesrion Details" in SAP S/4HANA. It reads from 1 data source (cmm_vlogp) and exposes 27 fields with key fields TradingContractNumber, TradingContractItem, PricingKey, MaximumVersion.

Data Sources (1)

SourceAliasJoin Type
cmm_vlogp cmm_vlogp from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ITCPRCVERSDETS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Interface view for Trading Contract Pricing Vesrion Details view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY TradingContractNumber
KEY TradingContractItem root_doc_itm Root Document Item
KEY PricingKey pricing_key Pricing Key
KEY MaximumVersion version XML Vers.
ACMTrdgContrBusinessDocType root_doc_type SAP Object Node Type
PricingConditionTerm termno_l Term Number
CAConditionType kschl Tax Item Type
MarketConditionType kschl_m Mkt Price Condition
OpenCommodityQuantity commodity_adj_in_termuom Qty in Price Unit
OpenQuantityUnit termuom Term UoM
DerivativeContrSpecification dcsid DCSID
ACMPricingMarketIdentifierCode mic MIC
DerivativeContractMaturityCode contract_code Contr. Maturity Code
ConditionTermExtensionUsage term_extension_usage Extension Usage
MTMConditionGroupCategory cgroup_cat Category
ACMConditionTermNumber fixation_id Term Number
MaturityKeyDate keydate Maturity Key Date
PrcgCndnTradingContrCurrency waerk Doc. Currency
PrcgConditionTermRateCrcy termcurr Term Currency
PrcgConditionTermRateQty termprun Term Price Unit
PrcgConditionTermRateQtyUnit termuom Term UoM
PrevVersCndnTrmExchRateIsFixed fixed Single-Character Flag
MTMCalculationGroup calc_group Calc.Group
BasisID basis_id Strategy
PriceQuotationType pricetype Price Type
PricingConditionQuotationKey quotkey Quotation Key
ACMFormulaUoM formuom Formula UoM

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_ACMTrdgContrPrcgVersionDets.
-- 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: ITCPRCVERSDETS

CREATE VIEW I_ACMTrdgContrPrcgVersionDets AS
SELECT
  right( root_doc , 10 ) AS TradingContractNumber,
  root_doc_itm AS TradingContractItem,
  pricing_key AS PricingKey,
  version AS MaximumVersion,
  root_doc_type AS ACMTrdgContrBusinessDocType,
  termno_l AS PricingConditionTerm,
  kschl AS CAConditionType,
  kschl_m AS MarketConditionType,
  commodity_adj_in_termuom AS OpenCommodityQuantity,
  termuom AS OpenQuantityUnit,
  dcsid AS DerivativeContrSpecification,
  mic AS ACMPricingMarketIdentifierCode,
  contract_code AS DerivativeContractMaturityCode,
  term_extension_usage AS ConditionTermExtensionUsage,
  cgroup_cat AS MTMConditionGroupCategory,
  fixation_id AS ACMConditionTermNumber,
  keydate AS MaturityKeyDate,
  waerk AS PrcgCndnTradingContrCurrency,
  termcurr AS PrcgConditionTermRateCrcy,
  termprun AS PrcgConditionTermRateQty,
  termuom AS PrcgConditionTermRateQtyUnit,
  fixed AS PrevVersCndnTrmExchRateIsFixed,
  calc_group AS MTMCalculationGroup,
  basis_id AS BasisID,
  pricetype AS PriceQuotationType,
  quotkey AS PricingConditionQuotationKey,
  formuom AS ACMFormulaUoM
FROM cmm_vlogp
;