I_PurHubCmmdtyFormulaUnion
Union Layer purchase hub cmmdty formula
I_PurHubCmmdtyFormulaUnion is a Composite CDS View that provides data about "Union Layer purchase hub cmmdty formula" in SAP S/4HANA. It reads from 4 data sources (I_PurHubCommodityFormulaNew, I_PurchaseHubCommodityFormula, I_CmmdtyPricingMigrationStatus, I_CmmdtyPricingMigrationStatus) and exposes 59 fields with key fields ConditionRecord, ConditionSequentialNumberShort, ConditionSequentialNumberShort.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_PurHubCommodityFormulaNew | new | from |
| I_PurchaseHubCommodityFormula | old | union_all |
| I_CmmdtyPricingMigrationStatus | tf | inner |
| I_CmmdtyPricingMigrationStatus | tf | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Union Layer purchase hub cmmdty formula | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionRecord | I_PurHubCommodityFormulaNew | ConditionRecord | Cond.Record No. |
| KEY | ConditionSequentialNumberShort | I_PurHubCommodityFormulaNew | ConditionSequentialNumberShort | Sequent. No. of Cond |
| DocItemCommodityPricingUUID | I_PurHubCommodityFormulaNew | DocItemCommodityPricingUUID | GUID | |
| ConditionType | I_PurHubCommodityFormulaNew | ConditionType | Condition type | |
| PricingConditionFormulaKey | I_PurHubCommodityFormulaNew | PricingConditionFormulaKey | Formula Key | |
| PrcgConditionFormulaInputUUID | I_PurHubCommodityFormulaNew | PrcgConditionFormulaInputUUID | Doc. Form. GUID | |
| PrcgCndnFmlaAmtInDocCurrency | Form. Doc. Crcy | |||
| PrcgCndnFormulaAmountCurrency | I_PurHubCommodityFormulaNew | PrcgCndnFormulaAmountCurrency | Doc. Currency | |
| PricingConditionFormulaRate | Formula Rate | |||
| PrcgCndnFormulaRateCurrency | I_PurHubCommodityFormulaNew | PrcgCndnFormulaRateCurrency | Formula Currency | |
| PrcgCndnFormulaRateQuantity | I_PurHubCommodityFormulaNew | PrcgCndnFormulaRateQuantity | Formula Price Unit | |
| PrcgCndnFormulaRateQtyUnit | I_PurHubCommodityFormulaNew | PrcgCndnFormulaRateQtyUnit | Formula UoM | |
| PrcgCndnFmlaCommodityQuantity | I_PurHubCommodityFormulaNew | PrcgCndnFmlaCommodityQuantity | Comm.Qty Item | |
| PrcgCndnFmlaCmmdtyQuantityUnit | I_PurHubCommodityFormulaNew | PrcgCndnFmlaCmmdtyQuantityUnit | Commodity UoM | |
| PrcgCndnFmlaEvaluationDateTime | I_PurHubCommodityFormulaNew | PrcgCndnFmlaEvaluationDateTime | Eval. Date and Time | |
| PrcgCndnFmlaCombinationRoutine | I_PurHubCommodityFormulaNew | PrcgCndnFmlaCombinationRoutine | Combination Routine | |
| PrcgCndnFmlaEvaluationModule | I_PurHubCommodityFormulaNew | PrcgCndnFmlaEvaluationModule | Module | |
| PrcgCndnFmlaCombnRoutineSubMdl | I_PurHubCommodityFormulaNew | PrcgCndnFmlaCombnRoutineSubMdl | Submodule | |
| OriginSystem | I_PurHubCommodityFormulaNew | OriginSystem | LogSys: Formula | |
| PrcgCndnFmlaValdtyStrtDateTime | I_PurHubCommodityFormulaNew | PrcgCndnFmlaValdtyStrtDateTime | Valid From | |
| _CommodityCodeMapping | I_PurHubCommodityFormulaNew | _CommodityCodeMapping | ||
| _CommodityCndnMapping | I_PurHubCommodityFormulaNew | _CommodityCndnMapping | ||
| _OriginSystem | I_PurHubCommodityFormulaNew | _OriginSystem | ||
| _PrcgCndnFmlaCmmdtyQtyUnit | I_PurHubCommodityFormulaNew | _PrcgCndnFmlaCmmdtyQtyUnit | ||
| _PrcgCndnFormulaAmountCurrency | I_PurHubCommodityFormulaNew | _PrcgCndnFormulaAmountCurrency | ||
| _PrcgCndnFormulaRateCurrency | I_PurHubCommodityFormulaNew | _PrcgCndnFormulaRateCurrency | ||
| _PrcgCndnFormulaRateQtyUnit | I_PurHubCommodityFormulaNew | _PrcgCndnFormulaRateQtyUnit | ||
| _PurgPrcgCndnType | I_PurHubCommodityFormulaNew | _PurgPrcgCndnType | ||
| _CommodityPricingFormulaText | I_PurHubCommodityFormulaNew | _CommodityPricingFormulaText | ||
| ConditionRecord | Cond.Record No. | |||
| KEY | ConditionSequentialNumberShort | I_PurchaseHubCommodityFormula | ConditionSequentialNumberShort | Sequent. No. of Cond |
| DocItemCommodityPricingUUID | I_PurchaseHubCommodityFormula | DocItemCommodityPricingUUID | GUID | |
| ConditionType | I_PurchaseHubCommodityFormula | ConditionType | Condition type | |
| PricingConditionFormulaKey | I_PurchaseHubCommodityFormula | PricingConditionFormulaKey | Formula Key | |
| PrcgConditionFormulaInputUUID | I_PurchaseHubCommodityFormula | PrcgConditionFormulaInputUUID | Doc. Form. GUID | |
| PrcgCndnFmlaAmtInDocCurrency | I_PurchaseHubCommodityFormula | PrcgCndnFmlaAmtInDocCurrency | Form. Doc. Crcy | |
| PrcgCndnFormulaAmountCurrency | I_PurchaseHubCommodityFormula | PrcgCndnFormulaAmountCurrency | Doc. Currency | |
| PricingConditionFormulaRate | I_PurchaseHubCommodityFormula | PricingConditionFormulaRate | Formula Rate | |
| PrcgCndnFormulaRateCurrency | I_PurchaseHubCommodityFormula | PrcgCndnFormulaRateCurrency | Formula Currency | |
| PrcgCndnFormulaRateQuantity | I_PurchaseHubCommodityFormula | PrcgCndnFormulaRateQuantity | Formula Price Unit | |
| PrcgCndnFormulaRateQtyUnit | I_PurchaseHubCommodityFormula | PrcgCndnFormulaRateQtyUnit | Formula UoM | |
| PrcgCndnFmlaCommodityQuantity | I_PurchaseHubCommodityFormula | PrcgCndnFmlaCommodityQuantity | Comm.Qty Item | |
| PrcgCndnFmlaCmmdtyQuantityUnit | I_PurchaseHubCommodityFormula | PrcgCndnFmlaCmmdtyQuantityUnit | Commodity UoM | |
| PrcgCndnFmlaEvaluationDateTime | I_PurchaseHubCommodityFormula | PrcgCndnFmlaEvaluationDateTime | Eval. Date and Time | |
| PrcgCndnFmlaCombinationRoutine | I_PurchaseHubCommodityFormula | PrcgCndnFmlaCombinationRoutine | Combination Routine | |
| PrcgCndnFmlaEvaluationModule | I_PurchaseHubCommodityFormula | PrcgCndnFmlaEvaluationModule | Module | |
| PrcgCndnFmlaCombnRoutineSubMdl | I_PurchaseHubCommodityFormula | PrcgCndnFmlaCombnRoutineSubMdl | Submodule | |
| OriginSystem | I_PurchaseHubCommodityFormula | OriginSystem | LogSys: Formula | |
| PrcgCndnFmlaValdtyStrtDateTime | I_PurchaseHubCommodityFormula | PrcgCndnFmlaValdtyStrtDateTime | Valid From | |
| _CommodityCodeMapping | I_PurchaseHubCommodityFormula | _CommodityCodeMapping | ||
| _CommodityCndnMapping | I_PurchaseHubCommodityFormula | _CommodityCndnMapping | ||
| _OriginSystem | I_PurchaseHubCommodityFormula | _OriginSystem | ||
| _PrcgCndnFmlaCmmdtyQtyUnit | I_PurchaseHubCommodityFormula | _PrcgCndnFmlaCmmdtyQtyUnit | ||
| _PrcgCndnFormulaAmountCurrency | I_PurchaseHubCommodityFormula | _PrcgCndnFormulaAmountCurrency | ||
| _PrcgCndnFormulaRateCurrency | I_PurchaseHubCommodityFormula | _PrcgCndnFormulaRateCurrency | ||
| _PrcgCndnFormulaRateQtyUnit | I_PurchaseHubCommodityFormula | _PrcgCndnFormulaRateQtyUnit | ||
| _PurgPrcgCndnType | I_PurchaseHubCommodityFormula | _PurgPrcgCndnType | ||
| _CommodityPricingFormulaText | I_PurchaseHubCommodityFormula | _CommodityPricingFormulaText | ||
| _CmmdtyPricingCombRoutineText | I_PurchaseHubCommodityFormula | _CmmdtyPricingCombRoutineText |
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_PurHubCmmdtyFormulaUnion.
-- 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_PurHubCmmdtyFormulaUnion AS
SELECT
new.ConditionRecord AS ConditionRecord,
new.ConditionSequentialNumberShort AS ConditionSequentialNumberShort,
new.DocItemCommodityPricingUUID AS DocItemCommodityPricingUUID,
new.ConditionType AS ConditionType,
new.PricingConditionFormulaKey AS PricingConditionFormulaKey,
new.PrcgConditionFormulaInputUUID AS PrcgConditionFormulaInputUUID,
cast ( cast (new.PrcgCndnFmlaAmtInDocCurrency as abap.decfloat34) as cpet_formval_doccurr_cds) AS PrcgCndnFmlaAmtInDocCurrency,
new.PrcgCndnFormulaAmountCurrency AS PrcgCndnFormulaAmountCurrency,
cast ( cast (new.PricingConditionFormulaRate as abap.decfloat34) as cpet_formrate_cds) AS PricingConditionFormulaRate,
new.PrcgCndnFormulaRateCurrency AS PrcgCndnFormulaRateCurrency,
new.PrcgCndnFormulaRateQuantity AS PrcgCndnFormulaRateQuantity,
new.PrcgCndnFormulaRateQtyUnit AS PrcgCndnFormulaRateQtyUnit,
new.PrcgCndnFmlaCommodityQuantity AS PrcgCndnFmlaCommodityQuantity,
new.PrcgCndnFmlaCmmdtyQuantityUnit AS PrcgCndnFmlaCmmdtyQuantityUnit,
new.PrcgCndnFmlaEvaluationDateTime AS PrcgCndnFmlaEvaluationDateTime,
new.PrcgCndnFmlaCombinationRoutine AS PrcgCndnFmlaCombinationRoutine,
new.PrcgCndnFmlaEvaluationModule AS PrcgCndnFmlaEvaluationModule,
new.PrcgCndnFmlaCombnRoutineSubMdl AS PrcgCndnFmlaCombnRoutineSubMdl,
new.OriginSystem AS OriginSystem,
new.PrcgCndnFmlaValdtyStrtDateTime AS PrcgCndnFmlaValdtyStrtDateTime,
new._CommodityCodeMapping AS _CommodityCodeMapping,
new._CommodityCndnMapping AS _CommodityCndnMapping,
new._OriginSystem AS _OriginSystem,
new._PrcgCndnFmlaCmmdtyQtyUnit AS _PrcgCndnFmlaCmmdtyQtyUnit,
new._PrcgCndnFormulaAmountCurrency AS _PrcgCndnFormulaAmountCurrency,
new._PrcgCndnFormulaRateCurrency AS _PrcgCndnFormulaRateCurrency,
new._PrcgCndnFormulaRateQtyUnit AS _PrcgCndnFormulaRateQtyUnit,
new._PurgPrcgCndnType AS _PurgPrcgCndnType,
new._CommodityPricingFormulaText AS _CommodityPricingFormulaText,
old._CmmdtyPricingCombRoutineText AS _CmmdtyPricingCombRoutineText
FROM I_PurHubCommodityFormulaNew AS new
INNER JOIN I_CmmdtyPricingMigrationStatus AS tf ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_PurchaseHubCommodityFormula
;
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