P_PriceFixationBasicDetails
P_PriceFixationBasicDetails is a Composite CDS View in SAP S/4HANA. It reads from 8 data sources and exposes 21 fields with key field SourceLotId.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMContrPrcAspectBridgeDets | bridge | inner |
| P_TradingContractConditionNmbr | ConditionNumber | from |
| I_ACMFormulaGrpgGeneralResult | formula_mm | inner |
| I_ACMMappingDocItemData | guid | inner |
| P_GetCPETermInputDataBasis | P_GetCPETermInputDataBasis | inner |
| I_ACMTrdgContrPrcAspectDets | PricingAspect | inner |
| I_CmmdtyPrcgTrmGrpgGenRslt | termgrpout | inner |
| I_CmmdtyPrcgTrmInptGenData | terminput | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRCFIXBASDET | 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 | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLotId | I_ACMTrdgContrPrcAspectDets | TrdgContrPrcgAspectSrceLotID | Src. Lot ID |
| BasisCondType | I_ACMFormulaGrpgGeneralResult | ACMPricingConditionType | Condition Type | |
| TermNo | I_CmmdtyPrcgTrmGrpgGenRslt | PricingConditionTerm | Term Number | |
| tkonn | P_TradingContractConditionNmbr | tkonn | Trading Contract | |
| tposn | P_TradingContractConditionNmbr | tposn | Item Number | |
| BasisFx | termconvin | ACMPricingFXRate | ||
| basisprice | I_CmmdtyPrcgTrmInptGenData | ACMPrcgTermInputCndnPrc | Fixed Rate | |
| PrcgCndnBasisTermCurrency | I_CmmdtyPrcgTrmInptGenData | PrcgConditionTermFixedRateCrcy | Currency Fixed Rate | |
| DCSID | I_CmmdtyPrcgTrmInptGenData | DerivativeContrSpecification | DCS ID | |
| DerivativeContrSpecsTxt | DCSText | DerivativeContrSpecName | ||
| MIC | I_CmmdtyPrcgTrmInptGenData | MarketIdentifierCode | MIC | |
| MarketIdentifierCodeTxt | MICText | MarketIdentifierCodeName | ||
| PriceUnitBasisFixedRate | I_CmmdtyPrcgTrmInptGenData | PrcgConditionTermFixedRateQty | PrcUnit Fixed Value | |
| FixedRateBasisUnitofMeasure | I_CmmdtyPrcgTrmInptGenData | PrcgCndnTermFixedRateQtyUnit | UoM for Fixed Value | |
| BasisFetchPrice | terminput_bas | fetch_price | ||
| BasisFetchPriceCurrency | terminput_bas | FETCH_PRICE_CURRENCY | ||
| BasisFetchPriceQty | terminput_bas | FETCH_PRICE_QTY | ||
| BasisFetchPriceUnit | terminput_bas | FETCH_PRICE_UNIT | ||
| BasisReasonCode | terminput_bas | REASON_CODE | Return/Change Reason | |
| TERMCOMMUOM | I_CmmdtyPrcgTrmGrpgGenRslt | UnitOfMeasure | Unit Protected Qty | |
| TERMCOMMQUAN | I_CmmdtyPrcgTrmGrpgGenRslt | Quantity | Value |
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 P_PriceFixationBasicDetails.
-- 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: PPRCFIXBASDET
CREATE VIEW P_PriceFixationBasicDetails AS
SELECT
PricingAspect.TrdgContrPrcgAspectSrceLotID AS SourceLotId,
formula_mm.ACMPricingConditionType AS BasisCondType,
termgrpout.PricingConditionTerm AS TermNo,
ConditionNumber.tkonn AS tkonn,
ConditionNumber.tposn AS tposn,
termconvin.ACMPricingFXRate AS BasisFx,
terminput.ACMPrcgTermInputCndnPrc AS basisprice,
terminput.PrcgConditionTermFixedRateCrcy AS PrcgCndnBasisTermCurrency,
terminput.DerivativeContrSpecification AS DCSID,
DCSText.DerivativeContrSpecName AS DerivativeContrSpecsTxt,
terminput.MarketIdentifierCode AS MIC,
MICText.MarketIdentifierCodeName AS MarketIdentifierCodeTxt,
terminput.PrcgConditionTermFixedRateQty AS PriceUnitBasisFixedRate,
terminput.PrcgCndnTermFixedRateQtyUnit AS FixedRateBasisUnitofMeasure,
terminput_bas.fetch_price AS BasisFetchPrice,
terminput_bas.FETCH_PRICE_CURRENCY AS BasisFetchPriceCurrency,
terminput_bas.FETCH_PRICE_QTY AS BasisFetchPriceQty,
terminput_bas.FETCH_PRICE_UNIT AS BasisFetchPriceUnit,
terminput_bas.REASON_CODE AS BasisReasonCode,
termgrpout.UnitOfMeasure AS TERMCOMMUOM,
termgrpout.Quantity AS TERMCOMMQUAN
FROM P_TradingContractConditionNmbr AS ConditionNumber
INNER JOIN I_ACMMappingDocItemData AS guid ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMFormulaGrpgGeneralResult AS formula_mm ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyPrcgTrmGrpgGenRslt AS termgrpout ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyPrcgTrmInptGenData AS terminput ON /* join condition not captured in parsed metadata */
INNER JOIN P_GetCPETermInputDataBasis ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMContrPrcAspectBridgeDets AS bridge ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMTrdgContrPrcAspectDets AS PricingAspect ON /* join condition not captured in parsed metadata */
;
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