P_PriceFixationSecBasisDetails
P_PriceFixationSecBasisDetails is a Composite CDS View in SAP S/4HANA. It reads from 9 data sources and exposes 13 fields with key field SourceLotId.
Data Sources (9)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMContrPrcAspectBridgeDets | bridge | inner |
| P_TradingContractConditionNmbr | ConditionNumber | from |
| I_ACMPricingCndnTypeMapping | ConditionTypeMap | inner |
| I_ACMContrPricingCndnTypeText | ConditionTypeText | inner |
| I_ACMFormulaGrpgGeneralResult | formula_mm | inner |
| I_ACMMappingDocItemData | guid | inner |
| I_ACMTrdgContrPrcAspectDets | PricingAspect | inner |
| I_CmmdtyPrcgTrmGrpgGenRslt | termgrpout | inner |
| I_CmmdtyPrcgTrmInptGenData | terminput | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRCFIXSBASDET | 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 (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLotId | I_ACMTrdgContrPrcAspectDets | TrdgContrPrcgAspectSrceLotID | Src. Lot ID |
| TermNo | I_CmmdtyPrcgTrmGrpgGenRslt | PricingConditionTerm | Term Number | |
| TradingContractNumber | P_TradingContractConditionNmbr | tkonn | Trading Contract | |
| TradingContractItem | P_TradingContractConditionNmbr | tposn | Item Number | |
| ACMPricingConditionType | I_ACMFormulaGrpgGeneralResult | ACMPricingConditionType | Condition Type | |
| ACMPricingConditionTypeName | I_ACMContrPricingCndnTypeText | ACMPricingConditionTypeName | ||
| SecondaryBasisFx | termconvin | ACMPricingFXRate | ||
| SecondaryBasisPrice | I_CmmdtyPrcgTrmInptGenData | ACMPrcgTermInputCndnPrc | Fixed Rate | |
| SecondaryBasisTermCurrency | I_CmmdtyPrcgTrmInptGenData | PrcgConditionTermFixedRateCrcy | Currency Fixed Rate | |
| SecondaryBasisPriceUnit | I_CmmdtyPrcgTrmInptGenData | PrcgConditionTermFixedRateQty | PrcUnit Fixed Value | |
| SecondaryBasisUnitofMeasure | I_CmmdtyPrcgTrmInptGenData | PrcgCndnTermFixedRateQtyUnit | UoM for Fixed Value | |
| 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_PriceFixationSecBasisDetails.
-- 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: PPRCFIXSBASDET
CREATE VIEW P_PriceFixationSecBasisDetails AS
SELECT
PricingAspect.TrdgContrPrcgAspectSrceLotID AS SourceLotId,
termgrpout.PricingConditionTerm AS TermNo,
ConditionNumber.tkonn AS TradingContractNumber,
ConditionNumber.tposn AS TradingContractItem,
formula_mm.ACMPricingConditionType AS ACMPricingConditionType,
ConditionTypeText.ACMPricingConditionTypeName AS ACMPricingConditionTypeName,
termconvin.ACMPricingFXRate AS SecondaryBasisFx,
terminput.ACMPrcgTermInputCndnPrc AS SecondaryBasisPrice,
terminput.PrcgConditionTermFixedRateCrcy AS SecondaryBasisTermCurrency,
terminput.PrcgConditionTermFixedRateQty AS SecondaryBasisPriceUnit,
terminput.PrcgCndnTermFixedRateQtyUnit AS SecondaryBasisUnitofMeasure,
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 I_ACMContrPrcAspectBridgeDets AS bridge ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMPricingCndnTypeMapping AS ConditionTypeMap ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMTrdgContrPrcAspectDets AS PricingAspect ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMContrPricingCndnTypeText AS ConditionTypeText 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