I_GHOAllocMsmtPriorityRules
Measurment Priority Allocation Rules
I_GHOAllocMsmtPriorityRules is a Basic CDS View that provides data about "Measurment Priority Allocation Rules" in SAP S/4HANA. It reads from 1 data source (gho_meas_prio_h) and exposes 13 fields with key field MeasurementPriorityIdentifier. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gho_meas_prio_h | gho_meas_prio_h | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_GHOAllocMsmtPrioRulesItems | _MsmtPriorityRulesItems | $projection.MeasurementPriorityIdentifier = _MsmtPriorityRulesItems.MeasurementPriorityIdentifier |
| [0..*] | I_GhoMediumText | _MediumText | $projection.NetworkMedium = _MediumText.NetworkMedium |
| [0..*] | I_GhoFreqText | _FrequencyText | $projection.AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode |
| [1..1] | I_GHOProdnNtwkStructure | _ProductionNetworkDetails | $projection.GHONetworkID = _ProductionNetworkDetails.GHONetworkID |
| [0..*] | I_ReadDomainFixedValues | _MeasurementType | _MeasurementType.SAPDataDictionaryDomain = 'GHO_MEAS_TYPE' and $projection.GHOMeasurementType = _MeasurementType.DomainValue |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Measurment Priority Allocation Rules | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MeasurementPriorityIdentifier | priority_id | Meas Priority ID | |
| GHONetworkID | Production Flow NW | |||
| GHONetworkObjectID | Result ID | |||
| NetworkMedium | medium | Medium ID | ||
| AllocationFrequencyCode | frequency | Reporting Frequency | ||
| GHOMeasurementType | gho_meas_type | Measurement Type | ||
| ValidFromDateTime | valid_from | Validity Start Time | ||
| ValidToDateTime | valid_to | Validity End Time | ||
| _MsmtPriorityRulesItems | _MsmtPriorityRulesItems | |||
| _MediumText | _MediumText | |||
| _FrequencyText | _FrequencyText | |||
| _ProductionNetworkDetails | _ProductionNetworkDetails | |||
| _MeasurementType | _MeasurementType |
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_GHOAllocMsmtPriorityRules.
-- 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_GHOAllocMsmtPriorityRules AS
SELECT
priority_id AS MeasurementPriorityIdentifier,
cast(net_id as gho_network_id preserving type ) AS GHONetworkID,
cast(obj_id as gho_ntwkobj_id preserving type ) AS GHONetworkObjectID,
medium AS NetworkMedium,
frequency AS AllocationFrequencyCode,
gho_meas_type AS GHOMeasurementType,
valid_from AS ValidFromDateTime,
valid_to AS ValidToDateTime
FROM gho_meas_prio_h
LEFT OUTER JOIN I_GHOAllocMsmtPrioRulesItems AS _MsmtPriorityRulesItems ON MeasurementPriorityIdentifier = _MsmtPriorityRulesItems.MeasurementPriorityIdentifier -- association [0..*]
LEFT OUTER JOIN I_GhoMediumText AS _MediumText ON NetworkMedium = _MediumText.NetworkMedium -- association [0..*]
LEFT OUTER JOIN I_GhoFreqText AS _FrequencyText ON AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode -- association [0..*]
LEFT OUTER JOIN I_GHOProdnNtwkStructure AS _ProductionNetworkDetails ON GHONetworkID = _ProductionNetworkDetails.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _MeasurementType ON _MeasurementType.SAPDataDictionaryDomain = 'GHO_MEAS_TYPE' AND GHOMeasurementType = _MeasurementType.DomainValue -- 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