I_ACMTrdgContrPrcFixMeth
Price Fixation Method
I_ACMTrdgContrPrcFixMeth is a Basic CDS View that provides data about "Price Fixation Method" in SAP S/4HANA. It reads from 2 data sources (P_ACCGOMPPRDAT, P_ACCGOPMMD) and exposes 25 fields with key fields TradingContractNumber, TradingContractItem, PricingConditionTerm, ACMPriceMethodProgramID. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ACCGOMPPRDAT | assignment | from |
| P_ACCGOPMMD | masterdata | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ACMTrdgContrItmDet | _ContractItem | $projection.TradingContractNumber = _ContractItem.TradingContractNumber and $projection.TradingContractItem = _ContractItem.TradingContractItem |
| [1..1] | I_ACMTrdgContrHdr | _ContractHeader | $projection.TradingContractNumber = _ContractHeader.TradingContractNumber |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITCPRCPRFIXMET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.supportedCapabilities | #CDS_MODELING_DATA_SOURCE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| EndUserText.label | Price Fixation Method | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContractNumber | P_ACCGOMPPRDAT | contract_no | Trading Contract |
| KEY | TradingContractItem | P_ACCGOMPPRDAT | contract_item_no | Item Number |
| KEY | PricingConditionTerm | P_ACCGOMPPRDAT | term_no | Term Number |
| KEY | ACMPriceMethodProgramID | P_ACCGOMPPRDAT | program_id | Program ID |
| ACMPriceMethodProgram | P_ACCGOPMMD | program_name | Program Name | |
| ACMPriceMethodProgramName | P_ACCGOPMMD | external_code | External Code | |
| ACMPriceMethodProgramFamily | P_ACCGOPMMD | program_family | Program Family | |
| ACMPriceMethodProgramType | P_ACCGOPMMD | program_type | Program Type | |
| ACMPriceMethodProgramTypeName | P_ACCGOPMMD | external_code_pt | Program Type (Code) | |
| ACMPrcMethSignUpStartDate | P_ACCGOPMMD | sign_up_start_date | Signup Start Date | |
| ACMPrcMethSignUpEndDate | P_ACCGOPMMD | sign_up_end_date | Signup End Date | |
| StartDate | P_ACCGOPMMD | pricing_start_date | PR SDat | |
| EndDate | P_ACCGOPMMD | pricing_end_date | Pricing End Date | |
| DerivativeContractMaturityCode | P_ACCGOPMMD | maturity_code | Contr. Maturity Code | |
| ACMPrcMethCropYear | P_ACCGOPMMD | crop_year | Crop Year | |
| ACMPrcMethMarketingTiming | P_ACCGOPMMD | marketing_timing | Market Timing | |
| ACMPrcMethPriceFutures | P_ACCGOPMMD | price_futures | Futures Pricing | |
| ACMPrcMethTargetAmount | ||||
| ACMPricingMethodStatus | P_ACCGOPMMD | status | Workflow Status | |
| ACMPricingMethodMinPrice | ||||
| ACMPricingMethodMaxPrice | ||||
| ACMFutureValueUnitCurrency | P_ACCGOPMMD | currency | Valuation Crcy | |
| _PriceFixDetail | _PriceFixDetail | |||
| _ContractItem | _ContractItem | |||
| _ContractHeader | _ContractHeader |
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_ACMTrdgContrPrcFixMeth.
-- 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: ITCPRCPRFIXMET
CREATE VIEW I_ACMTrdgContrPrcFixMeth AS
SELECT
assignment.contract_no AS TradingContractNumber,
assignment.contract_item_no AS TradingContractItem,
assignment.term_no AS PricingConditionTerm,
assignment.program_id AS ACMPriceMethodProgramID,
masterdata.program_name AS ACMPriceMethodProgram,
masterdata.external_code AS ACMPriceMethodProgramName,
masterdata.program_family AS ACMPriceMethodProgramFamily,
masterdata.program_type AS ACMPriceMethodProgramType,
masterdata.external_code_pt AS ACMPriceMethodProgramTypeName,
masterdata.sign_up_start_date AS ACMPrcMethSignUpStartDate,
masterdata.sign_up_end_date AS ACMPrcMethSignUpEndDate,
masterdata.pricing_start_date AS StartDate,
masterdata.pricing_end_date AS EndDate,
masterdata.maturity_code AS DerivativeContractMaturityCode,
masterdata.crop_year AS ACMPrcMethCropYear,
masterdata.marketing_timing AS ACMPrcMethMarketingTiming,
masterdata.price_futures AS ACMPrcMethPriceFutures,
cast(masterdata.target_price as abap.curr( 10, 2 )) AS ACMPrcMethTargetAmount,
masterdata.status AS ACMPricingMethodStatus,
cast(masterdata.minimum_price as abap.curr( 10, 2 )) AS ACMPricingMethodMinPrice,
cast(masterdata.maximum_price as abap.curr( 10, 2 )) AS ACMPricingMethodMaxPrice,
masterdata.currency AS ACMFutureValueUnitCurrency
FROM P_ACCGOMPPRDAT AS assignment
INNER JOIN P_ACCGOPMMD AS masterdata ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ACMTrdgContrItmDet AS _ContractItem ON TradingContractNumber = _ContractItem.TradingContractNumber AND TradingContractItem = _ContractItem.TradingContractItem -- association [1..1]
LEFT OUTER JOIN I_ACMTrdgContrHdr AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber -- association [1..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