UPOV_UOM_STD_UNIT
Standardized Measurement Units
UPOV_UOM_STD_UNIT is a CDS View that provides data about "Standardized Measurement Units" in SAP S/4HANA. It reads from 7 data sources and exposes 5 fields with key fields BusinessKey, Dimension.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| t006 | dimension | inner |
| gho_imptt_ext | impt | inner |
| gho_imrg_ext | imrge | inner |
| gho_imrg_std_h | Measurement_hdr | from |
| gho_imrg_std_i | Measurement_item | inner |
| gho_uom_rule_h | RuleUoMHdr | inner |
| gho_uom_rule_i | RuleUoMItem | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_bus_key | gho_meas_guid |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | UPOS_UOM_STD_UT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Standardized Measurement Units | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessKey | gho_imrg_std_h | bus_key | Meas. GUIDD |
| KEY | Dimension | t006 | dimid | Dimension |
| std_uomendasUnit | ||||
| ConversionGroup | gho_uom_rule_h | conv_grp | Conv. Grp. | |
| StdVolume |
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 UPOV_UOM_STD_UNIT.
-- 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: UPOS_UOM_STD_UT
-- Parameters: p_bus_key : gho_meas_guid
CREATE VIEW UPOV_UOM_STD_UNIT AS
SELECT
Measurement_hdr.bus_key AS BusinessKey,
dimension.dimid AS Dimension,
case when RuleUoMItem.dimension = dimension.dimid then RuleUoMItem.uom else Measurement_item.std_uom end as Unit AS std_uomendasUnit,
RuleUoMHdr.conv_grp AS ConversionGroup,
cast(Measurement_item.std_val as abap.quan( 13, 3 )) AS StdVolume
FROM gho_imrg_std_h AS Measurement_hdr
INNER JOIN gho_imrg_std_i AS Measurement_item ON /* join condition not captured in parsed metadata */
INNER JOIN t006 AS dimension ON /* join condition not captured in parsed metadata */
INNER JOIN gho_imrg_ext AS imrge ON /* join condition not captured in parsed metadata */
INNER JOIN gho_imptt_ext AS impt ON /* join condition not captured in parsed metadata */
INNER JOIN gho_uom_rule_h AS RuleUoMHdr ON /* join condition not captured in parsed metadata */
INNER JOIN gho_uom_rule_i AS RuleUoMItem ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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