I_MeasurementPoint

DDL: I_MEASUREMENTPOINT SQL: IPVMEASPT Type: view BASIC Package: OIU_VDM_CDS

Measurement Point

I_MeasurementPoint (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Production Revenue Accounting Measurement Point · Cross Applications

I_MeasurementPoint is a Basic CDS View (Dimension) that provides data about "Measurement Point" in SAP S/4HANA. It reads from 1 data source (oiu_pr_mp) and exposes 23 fields with key field MeasurementPoint. It has 7 associations to related views. It is exposed through 1 OData service (UI_PRATANKSTOROBJ_MANAGE). Part of development package OIU_VDM_CDS.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Analytical Dimension,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
oiu_pr_mp oiu_pr_mp from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_PrimaryGeogrlLocation _PrimaryGeogrlLocation $projection.Country = _PrimaryGeogrlLocation.Country and $projection.PrimaryGeogrlLocation = _PrimaryGeogrlLocation.PrimaryGeogrlLocation
[0..1] I_SecondaryGeogrlLocation _SecondaryGeogrlLocation $projection.Country = _SecondaryGeogrlLocation.Country and $projection.PrimaryGeogrlLocation = _SecondaryGeogrlLocation.PrimaryGeogrlLocation and $projection.SecondaryGeogrlLocation = _SecondaryGeogrlLocation.SecondaryGeogrlLocation
[0..1] I_MeasurementPtType _MeasurementPtType $projection.MeasurementPtType = _MeasurementPtType.MeasurementPtType
[0..1] I_MeasurementPtMeterClass _MeasurementPtMeterClass $projection.MeasurementPtMeterClass = _MeasurementPtMeterClass.MeasurementPtMeterClass
[0..1] I_MeasurementPtHier _MeasurementPtHier $projection.MeasurementPtHier = _MeasurementPtHier.MeasurementPtHier
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID

Annotations (15)

NameValueLevelField
EndUserText.label Measurement Point view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVMEASPT view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey MeasurementPoint view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name PRAMeasurementPoint view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRATANKSTOROBJ_MANAGE UI_PRATANKSTOROBJ_MANAGE V2 C1 NOT_RELEASED

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY MeasurementPoint mp_no Measurement point number
MeasurementPtName Measurement point description
MeasurementPtType type_cd Measurement point type code
MeasurementPtMeterClass mtr_cl_cd Meter Class
Country Country/Region Key
PrimaryGeogrlLocation pri_geo_loc Primary Geographical Location
SecondaryGeogrlLocation sec_geo_loc Secondary geographic location
LatitudeUnit Unit of Measure
MeasurementPtLatitude lat_no Latitude number
MeasurementPtLatitudeDrctn lat_dir_cd Latitude direction code
LongitudeUnit Unit of Measure
MeasurementPtLongitude lng_no Longitude
MeasurementPtLongitudeDrctn lng_dir_cd Longitude Direction Code
MeasurementPtHier mp_set Measurement point hierarchy group
CreatedByUser Created By
CreationDateTime Created On Timestamp
_MeasurementPtType _MeasurementPtType
_MeasurementPtMeterClass _MeasurementPtMeterClass
_MeasurementPtHier _MeasurementPtHier
_Country _Country
_PrimaryGeogrlLocation _PrimaryGeogrlLocation
_SecondaryGeogrlLocation _SecondaryGeogrlLocation
_CreatedByUser _CreatedByUser

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_MeasurementPoint.
-- 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: IPVMEASPT

CREATE VIEW I_MeasurementPoint AS
SELECT
  mp_no AS MeasurementPoint,
  cast (mp_de as oiu_mp_de preserving type) AS MeasurementPtName,
  type_cd AS MeasurementPtType,
  mtr_cl_cd AS MeasurementPtMeterClass,
  cast( cntry_cd as land1_gp ) AS Country,
  pri_geo_loc AS PrimaryGeogrlLocation,
  sec_geo_loc AS SecondaryGeogrlLocation,
  cast ( 'DEG' as oiu_uom ) AS LatitudeUnit,
  lat_no AS MeasurementPtLatitude,
  lat_dir_cd AS MeasurementPtLatitudeDrctn,
  cast ( 'DEG' as oiu_uom ) AS LongitudeUnit,
  lng_no AS MeasurementPtLongitude,
  lng_dir_cd AS MeasurementPtLongitudeDrctn,
  mp_set AS MeasurementPtHier,
  cast( oiu_cruser as fclm_bam_created_by ) AS CreatedByUser,
  cast( oiu_timestamp as oiu_vdm_created_on_ts ) AS CreationDateTime
FROM oiu_pr_mp
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_PrimaryGeogrlLocation AS _PrimaryGeogrlLocation ON Country = _PrimaryGeogrlLocation.Country AND PrimaryGeogrlLocation = _PrimaryGeogrlLocation.PrimaryGeogrlLocation  -- association [0..1]
LEFT OUTER JOIN I_SecondaryGeogrlLocation AS _SecondaryGeogrlLocation ON Country = _SecondaryGeogrlLocation.Country AND PrimaryGeogrlLocation = _SecondaryGeogrlLocation.PrimaryGeogrlLocation AND SecondaryGeogrlLocation = _SecondaryGeogrlLocation.SecondaryGeogrlLocation  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPtType AS _MeasurementPtType ON MeasurementPtType = _MeasurementPtType.MeasurementPtType  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPtMeterClass AS _MeasurementPtMeterClass ON MeasurementPtMeterClass = _MeasurementPtMeterClass.MeasurementPtMeterClass  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPtHier AS _MeasurementPtHier ON MeasurementPtHier = _MeasurementPtHier.MeasurementPtHier  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
;