R_ProductUnitOfMeasureTP
Product Unit of Measure
R_ProductUnitOfMeasureTP is a Transactional CDS View that provides data about "Product Unit of Measure" in SAP S/4HANA. It reads from 1 data source (I_ProductUnitsOfMeasure) and exposes 31 fields with key fields Product, AlternativeUnit. It has 3 associations to related views. Part of development package VDM_MD_PRODUCT_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductUnitsOfMeasure | I_ProductUnitsOfMeasure | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | E_Productunitsofmeasure | _ActiveExtension | $projection.Product = _ActiveExtension.Product and $projection.AlternativeUnit = _ActiveExtension.AlternativeUnit |
| [0..*] | R_ProductUnitOfMeasureEANTP | _ProductUnitOfMeasureEAN | |
| [0..*] | R_ProdUoMSuplrEANTP | _ProdUoMSuplrEAN | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Product Unit of Measure | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Sold | |
| KEY | AlternativeUnit | AlternativeUnit | Base UoM | |
| AlternativeSAPUnit | Base UoM | |||
| QuantityNumerator | QuantityNumerator | Units / Quantity - Base Unit of Measure | ||
| QuantityDenominator | QuantityDenominator | Units / Quantity - Alt Unit of Measure | ||
| ProductVolume | MaterialVolume | Volume | ||
| VolumeUnit | VolumeUnit | Volume Unit | ||
| GrossWeight | GrossWeight | Total Weight | ||
| WeightUnit | WeightUnit | Weight unit | ||
| GlobalTradeItemNumber | GlobalTradeItemNumber | GTIN | ||
| GlobalTradeItemNumberCategory | GlobalTradeItemNumberCategory | GTIN Category | ||
| UnitSpecificProductLength | UnitSpecificProductLength | Length | ||
| UnitSpecificProductWidth | UnitSpecificProductWidth | Width | ||
| UnitSpecificProductHeight | UnitSpecificProductHeight | Height | ||
| ProductMeasurementUnit | ProductMeasurementUnit | Unit | ||
| LowerLevelPackagingUnit | LowerLevelPackagingUnit | Lower-lev. unit | ||
| MaximumStackingFactor | MaximumStackingFactor | Max. Stack Fact | ||
| CapacityUsage | CapacityUsage | Capac. Usage | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| _AlternativeUnit | _AlternativeUnit | |||
| _GlobalTradeItemNumber | _GlobalTradeItemNumber | |||
| _Product | _Product | |||
| _ProductMeasurementUnit | _ProductMeasurementUnit | |||
| _WeightUnitValueHelp | _WeightUnitValueHelp | |||
| _QuantityUnitValueHelp | _QuantityUnitValueHelp | |||
| _ProductUnitOfMeasureEAN | _ProductUnitOfMeasureEAN | |||
| _LowerLevelPackagingUnit | _LowerLevelPackagingUnit | |||
| _ProdUoMSuplrEAN | _ProdUoMSuplrEAN | |||
| _ProductDescription_2 | _ProductDescription_2 | |||
| _GlobalTradeItemNumberText | _GlobalTradeItemNumberText | |||
| _UnitOfMeasureText | _ProductMeasurementUnitText |
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 R_ProductUnitOfMeasureTP.
-- 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 R_ProductUnitOfMeasureTP AS
SELECT
Product,
AlternativeUnit,
cast( AlternativeUnit as cmd_prod_meins preserving type ) AS AlternativeSAPUnit,
QuantityNumerator,
QuantityDenominator,
MaterialVolume AS ProductVolume,
VolumeUnit,
GrossWeight,
WeightUnit,
GlobalTradeItemNumber,
GlobalTradeItemNumberCategory,
UnitSpecificProductLength,
UnitSpecificProductWidth,
UnitSpecificProductHeight,
ProductMeasurementUnit,
LowerLevelPackagingUnit,
MaximumStackingFactor,
CapacityUsage,
BaseUnit
FROM I_ProductUnitsOfMeasure
LEFT OUTER JOIN E_Productunitsofmeasure AS _ActiveExtension ON Product = _ActiveExtension.Product AND AlternativeUnit = _ActiveExtension.AlternativeUnit -- association [1]
LEFT OUTER JOIN R_ProductUnitOfMeasureEANTP AS _ProductUnitOfMeasureEAN ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_ProdUoMSuplrEANTP AS _ProdUoMSuplrEAN ON /* condition not available in parsed metadata */ -- association [0..*]
;
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