P_PrcFixationOptnCnvrsnSlsNew
Price Fixation Option Conversion (sCPE) Sales
P_PrcFixationOptnCnvrsnSlsNew is a Composite CDS View that provides data about "Price Fixation Option Conversion (sCPE) Sales" in SAP S/4HANA. It reads from 4 data sources (I_CmmdtyPrcgConditionFormula, cped_knumvtoguid, vbak, vbap) and exposes 15 fields with key fields SalesDocument, SalesDocumentItem, ConditionType, ConditionTermNumber. Part of development package LOG_CMM_PRC_FIX_OPT.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_CmmdtyPrcgConditionFormula | formula | from |
| cped_knumvtoguid | knumvtoguid | inner |
| vbak | vbak | inner |
| vbap | vbap | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | vbak | vbeln | SD Sched. Agmt |
| KEY | SalesDocumentItem | vbap | posnr | WBS Element |
| KEY | ConditionType | I_CmmdtyPrcgConditionFormula | ConditionType | Condition type |
| KEY | ConditionTermNumber | term | PricingConditionTerm | Term Number |
| DocItmCmmdtyPrcgCndnUUID | termconv | DocItmCmmdtyPrcgCndnUUID | Doc. Cond. Item GUID | |
| PricingConditionTerm | termconv | PricingConditionTerm | Term Number | |
| PrcgConditionConversionPlace | termconv | PrcgConditionConversionPlace | Conv. Place | |
| PrcgCndnUsedExchangeRate | termconv | PrcgCndnUsedExchangeRate | ||
| PrcgCndnTermCnvrsnSourceCrcy | termconv | PrcgCndnUsedSourceCurrency | ||
| PrcgCndnTermCnvrsnTargetCrcy | termconv | PrcgCndnUsedTargetCurrency | ||
| PrcgConditionUsedSourceFactor | termconv | PrcgConditionUsedSourceFactor | ||
| PrcgCndnUsedSourceQuantityUnit | termconv | PrcgCndnUsedSourceQuantityUnit | ||
| PrcgConditionUsedTargetFactor | termconv | PrcgConditionUsedTargetFactor | ||
| PrcgCndnUsedTargetQuantityUnit | termconv | PrcgCndnUsedTargetQuantityUnit | ||
| PrcgCndnCnvrsnQtyAdjmtFactor | termconv | PrcgCndnCnvrsnQtyAdjmtFactor |
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_PrcFixationOptnCnvrsnSlsNew.
-- 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.
CREATE VIEW P_PrcFixationOptnCnvrsnSlsNew AS
SELECT
vbak.vbeln AS SalesDocument,
vbap.posnr AS SalesDocumentItem,
formula.ConditionType AS ConditionType,
term.PricingConditionTerm AS ConditionTermNumber,
termconv.DocItmCmmdtyPrcgCndnUUID AS DocItmCmmdtyPrcgCndnUUID,
termconv.PricingConditionTerm AS PricingConditionTerm,
termconv.PrcgConditionConversionPlace AS PrcgConditionConversionPlace,
termconv.PrcgCndnUsedExchangeRate AS PrcgCndnUsedExchangeRate,
termconv.PrcgCndnUsedSourceCurrency AS PrcgCndnTermCnvrsnSourceCrcy,
termconv.PrcgCndnUsedTargetCurrency AS PrcgCndnTermCnvrsnTargetCrcy,
termconv.PrcgConditionUsedSourceFactor AS PrcgConditionUsedSourceFactor,
termconv.PrcgCndnUsedSourceQuantityUnit AS PrcgCndnUsedSourceQuantityUnit,
termconv.PrcgConditionUsedTargetFactor AS PrcgConditionUsedTargetFactor,
termconv.PrcgCndnUsedTargetQuantityUnit AS PrcgCndnUsedTargetQuantityUnit,
termconv.PrcgCndnCnvrsnQtyAdjmtFactor AS PrcgCndnCnvrsnQtyAdjmtFactor
FROM I_CmmdtyPrcgConditionFormula AS formula
INNER JOIN cped_knumvtoguid AS knumvtoguid ON /* join condition not captured in parsed metadata */
INNER JOIN vbak ON /* join condition not captured in parsed metadata */
INNER JOIN vbap 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