I_CmmdtyPriceFixationOptionNew
Union Price Fixation Option sCPE
I_CmmdtyPriceFixationOptionNew is a Composite CDS View that provides data about "Union Price Fixation Option sCPE" in SAP S/4HANA. It reads from 2 data sources (P_CmmdtyPrcFixationOptnPurgNew, P_CmmdtyPrcFixationOptnSlsNew) and exposes 92 fields with key fields SourceDocument, SourceDocumentItem, ConditionType, PricingConditionTerm, SourceDocumentItem. It has 2 associations to related views. Part of development package LOG_CMM_PRC_FIX_OPT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_CmmdtyPrcFixationOptnPurgNew | P_CmmdtyPrcFixationOptnPurgNew | from |
| P_CmmdtyPrcFixationOptnSlsNew | P_CmmdtyPrcFixationOptnSlsNew | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CmmdtyDrvtvContrSpecAttrib | _DerivativeContrSpecification | $projection.DerivativeContrSpecification = _DerivativeContrSpecification.DerivativeContrSpecification |
| [1..1] | I_CmmdtyDrvtvContrSpec | _DerivativeContrSpec | $projection.DerivativeContrSpecification = _DerivativeContrSpec.CommodityCurveDrvtvContrSpec |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Union Price Fixation Option sCPE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (92)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceDocument | Purchasing Document | ||
| KEY | SourceDocumentItem | Sales Document Item | ||
| KEY | ConditionType | ConditionType | Condition type | |
| KEY | PricingConditionTerm | PricingConditionTerm | Term Number | |
| CalcdPrcgConditionTermQuantity | CalcdPrcgConditionTermQuantity | |||
| CalcdPrcgCndnTermQuantityUnit | CalcdPrcgCndnTermQuantityUnit | |||
| PrcgCndnTermFixationOptnStatus | PrcgCndnTermFixationOptnStatus | |||
| CndnTrmFixationOptnNonFixedQty | CndnTrmFixationOptnNonFixedQty | |||
| TrmFixationOptnNonFixedQtyUnit | TrmFixationOptnNonFixedQtyUnit | |||
| ConditionTermRate | ConditionTermRate | |||
| ConditionTermRateCurrency | ConditionTermRateCurrency | |||
| ConditionTermRateQuantity | ConditionTermRateQuantity | |||
| ConditionTermRateQuantityUnit | ConditionTermRateQuantityUnit | |||
| PrcgCndnTermCnvrsnSourceCrcy | PrcgCndnTermCnvrsnSourceCrcy | |||
| PrcgCndnTermCnvrsnTargetCrcy | PrcgCndnTermCnvrsnTargetCrcy | |||
| BusinessObjectType | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| SalesOrganization | Sales Organization | |||
| DistributionChannel | RefDistCh-Cust/Mat. | |||
| Division | Internal Division ID | |||
| Plant | Plant | Valuation Area | ||
| Material | Material | Vehicle Model | ||
| PrcgConditionFormulaInputUUID | PrcgConditionFormulaInputUUID | Doc. Form. GUID | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DerivativeContrSpecification | DerivativeContrSpecification | DCS ID | ||
| ConditionApplication | ||||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| DataControllerSet | DataControllerSet | Data Ctrlr. Set | ||
| DataController1 | DataController1 | Data Controller | ||
| DataController2 | DataController2 | Data Controller | ||
| DataController3 | DataController3 | Data Controller | ||
| DataController4 | DataController4 | Data Controller | ||
| DataController5 | DataController5 | Data Controller | ||
| DataController6 | DataController6 | Data Controller | ||
| DataController7 | DataController7 | Data Controller | ||
| DataController8 | DataController8 | Data Controller | ||
| DataController9 | DataController9 | Data Controller | ||
| DataController10 | DataController10 | Data Controller | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| _DerivativeContrSpecification | _DerivativeContrSpecification | |||
| KEY | SourceDocumentItem | Sales Document Item | ||
| KEY | ConditionType | ConditionType | Condition type | |
| KEY | PricingConditionTerm | PricingConditionTerm | Term Number | |
| CalcdPrcgConditionTermQuantity | CalcdPrcgConditionTermQuantity | |||
| CalcdPrcgCndnTermQuantityUnit | CalcdPrcgCndnTermQuantityUnit | |||
| PrcgCndnTermFixationOptnStatus | PrcgCndnTermFixationOptnStatus | |||
| CndnTrmFixationOptnNonFixedQty | CndnTrmFixationOptnNonFixedQty | |||
| TrmFixationOptnNonFixedQtyUnit | TrmFixationOptnNonFixedQtyUnit | |||
| ConditionTermRate | ConditionTermRate | |||
| ConditionTermRateCurrency | ConditionTermRateCurrency | |||
| ConditionTermRateQuantity | ConditionTermRateQuantity | |||
| ConditionTermRateQuantityUnit | ConditionTermRateQuantityUnit | |||
| PrcgCndnTermCnvrsnSourceCrcy | PrcgCndnTermCnvrsnSourceCrcy | |||
| PrcgCndnTermCnvrsnTargetCrcy | PrcgCndnTermCnvrsnTargetCrcy | |||
| BusinessObjectType | ||||
| CompanyCode | Receiver Company Code | |||
| PurchasingOrganization | Purchasing Organization | |||
| PurchasingGroup | Purchasing Group | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| Plant | Plant | Valuation Area | ||
| Material | Material | Vehicle Model | ||
| PrcgConditionFormulaInputUUID | PrcgConditionFormulaInputUUID | Doc. Form. GUID | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DerivativeContrSpecification | DerivativeContrSpecification | DCS ID | ||
| ConditionApplication | ||||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| DataControllerSet | DataControllerSet | Data Ctrlr. Set | ||
| DataController1 | DataController1 | Data Controller | ||
| DataController2 | DataController2 | Data Controller | ||
| DataController3 | DataController3 | Data Controller | ||
| DataController4 | DataController4 | Data Controller | ||
| DataController5 | DataController5 | Data Controller | ||
| DataController6 | DataController6 | Data Controller | ||
| DataController7 | DataController7 | Data Controller | ||
| DataController8 | DataController8 | Data Controller | ||
| DataController9 | DataController9 | Data Controller | ||
| DataController10 | DataController10 | Data Controller | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| _DerivativeContrSpecification | _DerivativeContrSpecification | |||
| _DerivativeContrSpec | _DerivativeContrSpec |
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_CmmdtyPriceFixationOptionNew.
-- 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 I_CmmdtyPriceFixationOptionNew AS
SELECT
cast (PurchasingDocument as cds_source_document) AS SourceDocument,
cast ((concat( '0', PurchasingDocumentItem )) as cds_source_document_item) AS SourceDocumentItem,
ConditionType,
PricingConditionTerm,
CalcdPrcgConditionTermQuantity,
CalcdPrcgCndnTermQuantityUnit,
PrcgCndnTermFixationOptnStatus,
CndnTrmFixationOptnNonFixedQty,
TrmFixationOptnNonFixedQtyUnit,
ConditionTermRate,
ConditionTermRateCurrency,
ConditionTermRateQuantity,
ConditionTermRateQuantityUnit,
PrcgCndnTermCnvrsnSourceCrcy,
PrcgCndnTermCnvrsnTargetCrcy,
cast ('BUS2012' as swo_objtyp) AS BusinessObjectType,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
cast ('' as vkorg) AS SalesOrganization,
cast ('' as vtweg) AS DistributionChannel,
cast ('' as spart) AS Division,
Plant,
Material,
PrcgConditionFormulaInputUUID,
LastChangeDateTime,
CreatedByUser,
DocumentDate,
DerivativeContrSpecification,
cast ('M' as kappl) AS ConditionApplication,
BusinessPartner,
BusinessPartnerName,
DataControllerSet,
DataController1,
DataController2,
DataController3,
DataController4,
DataController5,
DataController6,
DataController7,
DataController8,
DataController9,
DataController10,
AuthorizationGroup,
IsBusinessPurposeCompleted
FROM P_CmmdtyPrcFixationOptnPurgNew
LEFT OUTER JOIN I_CmmdtyDrvtvContrSpecAttrib AS _DerivativeContrSpecification ON DerivativeContrSpecification = _DerivativeContrSpecification.DerivativeContrSpecification -- association [1..1]
LEFT OUTER JOIN I_CmmdtyDrvtvContrSpec AS _DerivativeContrSpec ON DerivativeContrSpecification = _DerivativeContrSpec.CommodityCurveDrvtvContrSpec -- association [1..1]
-- UNION ALL with additional select branch(es): P_CmmdtyPrcFixationOptnSlsNew
;
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