I_ACMTrdgContrPrcgVersionDets
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)
| Source | Alias | Join Type |
|---|---|---|
| cmm_vlogp | cmm_vlogp | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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