UPOV_PR_MPAPD_UOM
UOM: Measure pt. Alloc profile details
UPOV_PR_MPAPD_UOM is a CDS View that provides data about "UOM: Measure pt. Alloc profile details" in SAP S/4HANA. It reads from 4 data sources (upot_int_rule_id, gho_noderule_h, gho_noderule_i, upoc_udm_vtqt_mp) and exposes 7 fields.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| upot_int_rule_id | MPAllocNr | left_outer |
| gho_noderule_h | NodeAllocRuleHeader | from |
| gho_noderule_i | NodeAllocRuleItem | left_outer |
| upoc_udm_vtqt_mp | VolumeType | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | UPOSPR_MPAPD_UOM | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | UOM: Measure pt. Alloc profile details | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| MPAPH_NO | ||||
| VT_CD | ||||
| MATNR | ||||
| qty_reqd03then6elseendasVLI_CD | ||||
| FRML_NO | ||||
| OIU_CRUSER | ||||
| OIU_TIMESTAMP |
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_PR_MPAPD_UOM.
-- 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: UPOSPR_MPAPD_UOM
CREATE VIEW UPOV_PR_MPAPD_UOM AS
SELECT
cast(MPAllocNr.rule_id as oiu_mpaph_no) AS MPAPH_NO,
cast(VolumeType.vol_type as oiu_vl_type_cd) AS VT_CD,
cast(NodeAllocRuleItem.alloc_material as matnr) AS MATNR,
case when NodeAllocRuleItem.qty_reqd = '02' then '1' when NodeAllocRuleItem.qty_reqd = '01' then '2' when NodeAllocRuleItem.qty_reqd = '03' then '6' else '' end as VLI_CD AS qty_reqd03then6elseendasVLI_CD,
cast(NodeAllocRuleItem.custom_calc_id as oiu_pr_frml_no) AS FRML_NO,
cast(NodeAllocRuleHeader.created_by as ernam) AS OIU_CRUSER,
cast(NodeAllocRuleHeader.created_tst as tzntstmps) AS OIU_TIMESTAMP
FROM gho_noderule_h AS NodeAllocRuleHeader
LEFT OUTER JOIN gho_noderule_i AS NodeAllocRuleItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upoc_udm_vtqt_mp AS VolumeType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upot_int_rule_id AS MPAllocNr 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