I_MeasuringPoint

DDL: I_MEASURINGPOINT SQL: IMEASPOINT Type: view BASIC

Measuring Point

I_MeasuringPoint is a Basic CDS View that provides data about "Measuring Point" in SAP S/4HANA. It reads from 1 data source (imptt) and exposes 57 fields with key field MeasuringPoint. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
imptt imptt from

Associations (14)

CardinalityTargetAliasCondition
[1..1] I_ControllingObject _ControllingObject $projection.MeasuringPointObjectIdentifier = _ControllingObject.ControllingObject
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_Product _Product $projection.Assembly = _Product.Product
[0..1] I_MeasuringPoint _ReferenceMeasuringPoint $projection.ReferenceMeasuringPoint = _ReferenceMeasuringPoint.MeasuringPoint
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.MeasurementRangeUnit = _UnitOfMeasure.UnitOfMeasure
[0..1] I_MeasuringPoint _MsmtRdngSourceMeasuringPoint $projection.MsmtRdngSourceMeasuringPoint = _MsmtRdngSourceMeasuringPoint.MeasuringPoint
[0..1] I_Inspectioncatalog _MeasuringPointCatalogType $projection.MeasuringPointCatalogType = _MeasuringPointCatalogType.InspectionCatalog
[0..1] I_InspectionCodeGroup _MeasuringPointCodeGroup $projection.MeasuringPointCatalogType = _MeasuringPointCodeGroup.InspectionCatalog and $projection.MeasuringPointCodeGroup = _MeasuringPointCodeGroup.InspectionCodeGroup
[0..1] I_ClfnCharacteristicForKeyDate _Characteristic $projection.MsrgPtInternalCharacteristic = _Characteristic.CharcInternalID
[0..1] I_MeasuringPointCategory _MeasuringPointCategory $projection.MeasuringPointCategory = _MeasuringPointCategory.MeasuringPointCategory
[0..1] I_Equipment _Equipment $projection.MeasuringPointObjectIdentifier = _Equipment.MaintObjectInternalID
[0..1] I_FunctionalLocation _FunctionalLocation $projection.MeasuringPointObjectIdentifier = _FunctionalLocation.MaintObjectInternalID
[0..1] I_FunctionalLocationLabel _FunctionalLocationLabel $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation
[0..1] I_TechObjAuthznGrp _AuthorizationGroup $projection.AuthorizationGroup = _AuthorizationGroup.TechObjAuthorizationGroup

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMEASPOINT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Measuring Point view
ObjectModel.representativeKey MeasuringPoint view
Search.searchable true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.supportedCapabilities #CDS_MODELING_DATA_SOURCE view
Metadata.ignorePropagatedAnnotations true view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY MeasuringPoint point
MeasuringPointObjectIdentifier mpobj
MeasuringPointPositionNumber psort
MeasuringPointCategory mptyp
CreationDate erdat
LastChangeDate aedat
AuthorizationGroup begru
MeasuringPointIsInactive inact
MeasuringPointIsCounter indct
MultiLevelDeletionLogicStatus lvorm
Assembly locas
ReferenceMeasuringPoint refmp
MsrgPtInternalCharacteristic atinn
MeasuringPointExponent expon
MeasuringPointDecimalPlaces decim
MeasuringPointMinimumThreshold mrmin
MinimumThresholdIsEntered mrmini
MeasuringPointMaximumThreshold mrmax
MaximumThresholdIsEntered mrmaxi
MeasurementRangeUnit mrngu
MeasuringPointSIUnitOfMeasure
MsrgPtIsCountingBackwards indrv
MsmtRdngSourceMeasuringPoint trans
CounterOverflowRdngThreshold cjump
OverflowReadingIsEntered cjumpi
MeasuringPointAnnualEstimate pyear
MsrgPtAnnualEstimateIsEntered pyeari
MeasuringPointCatalogType codct
MeasuringPointCodeGroup codgr
ValuationCodeIsSufficient cdsuf
Language mlang
MeasuringPointDescription pttxt
MeasuringPointShortText dstxt
MeasuringPointIsReference irfmp
MeasurementTransferIsSupported indtr
CreatedByUser ernam
LastChangedByUser aenam
MeasuringPointHasLongText kzltx
MeasuringPointObjectType
MeasuringPointTargetValue desir
TargetValueIsEntered desiri
MsmtRdngTransferMode modtr
FunctionalLocation _FunctionalLocation FunctionalLocation
_ControllingObject _ControllingObject
_Language _Language
_Product _Product
_ReferenceMeasuringPoint _ReferenceMeasuringPoint
_UnitOfMeasure _UnitOfMeasure
_MsmtRdngSourceMeasuringPoint _MsmtRdngSourceMeasuringPoint
_MeasuringPointCatalogType _MeasuringPointCatalogType
_MeasuringPointCodeGroup _MeasuringPointCodeGroup
_Characteristic _Characteristic
_MeasuringPointCategory _MeasuringPointCategory
_Equipment _Equipment
_FunctionalLocation _FunctionalLocation
_FunctionalLocationLabel _FunctionalLocationLabel
_AuthorizationGroup _AuthorizationGroup
@AbapCatalog.sqlViewName: 'IMEASPOINT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Measuring Point'
@ObjectModel.representativeKey: 'MeasuringPoint'

@Search.searchable: true
@VDM.viewType: #BASIC

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.supportedCapabilities: #CDS_MODELING_DATA_SOURCE
@Metadata.ignorePropagatedAnnotations:true

define view I_MeasuringPoint
  as select from imptt
  association [1..1] to I_ControllingObject            as _ControllingObject            on  $projection.MeasuringPointObjectIdentifier = _ControllingObject.ControllingObject
  association [0..1] to I_Language                     as _Language                     on  $projection.Language = _Language.Language
  association [0..1] to I_Product                      as _Product                      on  $projection.Assembly = _Product.Product
  association [0..1] to I_MeasuringPoint               as _ReferenceMeasuringPoint      on  $projection.ReferenceMeasuringPoint = _ReferenceMeasuringPoint.MeasuringPoint
  association [0..1] to I_UnitOfMeasure                as _UnitOfMeasure                on  $projection.MeasurementRangeUnit = _UnitOfMeasure.UnitOfMeasure
  association [0..1] to I_MeasuringPoint               as _MsmtRdngSourceMeasuringPoint on  $projection.MsmtRdngSourceMeasuringPoint = _MsmtRdngSourceMeasuringPoint.MeasuringPoint
  association [0..1] to I_Inspectioncatalog            as _MeasuringPointCatalogType    on  $projection.MeasuringPointCatalogType = _MeasuringPointCatalogType.InspectionCatalog
  association [0..1] to I_InspectionCodeGroup          as _MeasuringPointCodeGroup      on  $projection.MeasuringPointCatalogType = _MeasuringPointCodeGroup.InspectionCatalog
                                                                                        and $projection.MeasuringPointCodeGroup   = _MeasuringPointCodeGroup.InspectionCodeGroup
  association [0..1] to I_ClfnCharacteristicForKeyDate as _Characteristic               on  $projection.MsrgPtInternalCharacteristic = _Characteristic.CharcInternalID
  association [0..1] to I_MeasuringPointCategory       as _MeasuringPointCategory       on  $projection.MeasuringPointCategory = _MeasuringPointCategory.MeasuringPointCategory
  association [0..1] to I_Equipment                    as _Equipment                    on  $projection.MeasuringPointObjectIdentifier = _Equipment.MaintObjectInternalID
  association [0..1] to I_FunctionalLocation           as _FunctionalLocation           on  $projection.MeasuringPointObjectIdentifier = _FunctionalLocation.MaintObjectInternalID
  association [0..1] to I_FunctionalLocationLabel      as _FunctionalLocationLabel      on  $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation
  association [0..1] to I_TechObjAuthznGrp             as _AuthorizationGroup           on  $projection.AuthorizationGroup = _AuthorizationGroup.TechObjAuthorizationGroup
//  association [0..1] to P_Building                     as _Building                     on  $projection.MeasuringPointObjectIdentifier = _Building.ObjectNumberOfBuilding

//  association [0..1] to P_SettlementUnit               as _SettlementUnit               on  $projection.MeasuringPointObjectIdentifier = _SettlementUnit.ObjectNumberOfSettlementUnit

//  association [0..1] to P_RentalObject                 as _RentalObject                 on  $projection.MeasuringPointObjectIdentifier = _RentalObject.ObjectNumberOfRentalObject


{

      @ObjectModel.text.element: 'MeasuringPointDescription'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
  key point                                     as MeasuringPoint,

      @ObjectModel.foreignKey.association: '_ControllingObject'
      mpobj                                     as MeasuringPointObjectIdentifier,

      psort                                     as MeasuringPointPositionNumber,

      @ObjectModel.foreignKey.association: '_MeasuringPointCategory'
      mptyp                                     as MeasuringPointCategory,

      @Semantics.systemDate.createdAt: true
      erdat                                     as CreationDate,

      @Semantics.systemDate.lastChangedAt: true
      aedat                                     as LastChangeDate,

      @ObjectModel.foreignKey.association: '_AuthorizationGroup'
      begru                                     as AuthorizationGroup,

      inact                                     as MeasuringPointIsInactive,

      indct                                     as MeasuringPointIsCounter,

      lvorm                                     as MultiLevelDeletionLogicStatus,

//      @Consumption.valueHelpDefinition: [{

//        entity: {

//            name:    'I_MaterialStdVH',

//            element: 'Material'

//        }

//      }]

      @ObjectModel.foreignKey.association: '_Product'
      locas                                     as Assembly,

      @ObjectModel.foreignKey.association: '_ReferenceMeasuringPoint'
      refmp                                     as ReferenceMeasuringPoint,

      @ObjectModel.foreignKey.association: '_Characteristic'
      atinn                                     as MsrgPtInternalCharacteristic,

      expon                                     as MeasuringPointExponent,

      decim                                     as MeasuringPointDecimalPlaces,

      mrmin                                     as MeasuringPointMinimumThreshold,

      mrmini                                    as MinimumThresholdIsEntered,

      mrmax                                     as MeasuringPointMaximumThreshold,

      mrmaxi                                    as MaximumThresholdIsEntered,

      @ObjectModel.foreignKey.association: '_UnitOfMeasure'
      @Semantics.unitOfMeasure: true
      mrngu                                     as MeasurementRangeUnit,
      
      _UnitOfMeasure._Dimension.UnitOFMeasureSiUnit as MeasuringPointSIUnitOfMeasure, 

      indrv                                     as MsrgPtIsCountingBackwards,

      @ObjectModel.foreignKey.association: '_MsmtRdngSourceMeasuringPoint'
      trans                                     as MsmtRdngSourceMeasuringPoint,

      cjump                                     as CounterOverflowRdngThreshold,

      cjumpi                                    as OverflowReadingIsEntered,

      pyear                                     as MeasuringPointAnnualEstimate,

      pyeari                                    as MsrgPtAnnualEstimateIsEntered,

      @ObjectModel.foreignKey.association: '_MeasuringPointCatalogType'
      codct                                     as MeasuringPointCatalogType,

      @ObjectModel.foreignKey.association: '_MeasuringPointCodeGroup'
      codgr                                     as MeasuringPointCodeGroup,

      cdsuf                                     as ValuationCodeIsSufficient,

      @ObjectModel.foreignKey.association: '_Language'
      mlang                                     as Language,

      @Semantics.text: true
      pttxt                                     as MeasuringPointDescription,

      dstxt                                     as MeasuringPointShortText,

      irfmp                                     as MeasuringPointIsReference,

      indtr                                     as MeasurementTransferIsSupported,

      @Semantics.user.createdBy: true
      ernam                                     as CreatedByUser,

      @Semantics.user.lastChangedBy: true
      aenam                                     as LastChangedByUser,

      kzltx                                     as MeasuringPointHasLongText,

      cast(substring(mpobj,1,2) as j_obart)     as MeasuringPointObjectType,

      desir                                     as MeasuringPointTargetValue,

      desiri                                    as TargetValueIsEntered,
      
      modtr                                     as MsmtRdngTransferMode,
    
     _FunctionalLocation.FunctionalLocation     as FunctionalLocation,
 
      // Propagate association(s)

      _ControllingObject,
      _Language,
      _Product,
      _ReferenceMeasuringPoint,
      _UnitOfMeasure,
      _MsmtRdngSourceMeasuringPoint,
      _MeasuringPointCatalogType,
      _MeasuringPointCodeGroup,
      _Characteristic,
      _MeasuringPointCategory,
      _Equipment,
      _FunctionalLocation,
      _FunctionalLocationLabel,
      _AuthorizationGroup
//      _Building,

//      _SettlementUnit,

//      _RentalObject


}