I_MeasurementPoint

DDL: I_MEASUREMENTPOINT SQL: IPVMEASPT Type: view BASIC

Measurement Point

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). It is used in 1 Fiori application: Tank Strapping.

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 (14)

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

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRATANKSTOROBJ_MANAGE UI_PRATANKSTOROBJ_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5516 Tank Strapping Transactional An Application to maintain Tank Strapping information. Tank strapping is the process whereby the quantity of a material in a storage object such as Measurement Point can be determined from the depth of material in that storage object.

Tank Strapping

Business Role: Hydrocarbon Analyst (Oil & Gas)

With Tank Strapping app, you can assign Measurement Points to Tanks, Create Tank Strapping (i.e. Calibration) readings. The Tank strapping information will be used during the Measurement Point volume creation for the Measurement Points that are assigned to Tanks via Tank Strapping Application.

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY MeasurementPoint mp_no Measurement Pt
MeasurementPtName MP descr.
MeasurementPtType type_cd Usage Type
MeasurementPtMeterClass mtr_cl_cd Meter Class
Country Country/Reg.
PrimaryGeogrlLocation pri_geo_loc Primary geo.loc
SecondaryGeogrlLocation sec_geo_loc Secndry geo.loc
LatitudeUnit
MeasurementPtLatitude lat_no Latitude
MeasurementPtLatitudeDrctn lat_dir_cd Latitude DC
LongitudeUnit
MeasurementPtLongitude lng_no Longitude
MeasurementPtLongitudeDrctn lng_dir_cd Longitude DC
MeasurementPtHier mp_set MP hier.node
CreatedByUser Created By
CreationDateTime 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]
;