I_OIL_StorageObjCharcSegment

DDL: I_OIL_STORAGEOBJCHARCSEGMENT Type: view_entity BASIC

Storage Object Characteristic Segment

I_OIL_StorageObjCharcSegment is a Basic CDS View that provides data about "Storage Object Characteristic Segment" in SAP S/4HANA. It reads from 1 data source (oiisock) and exposes 55 fields with key field StorObjectCharcSegmentNumber. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiisock oiisock from

Associations (17)

CardinalityTargetAliasCondition
[0..1] I_ControllingObject _ControllingObject _ControllingObject.ControllingObject = $projection.ControllingObject
[0..1] I_OIL_StorageObjectAccessMode _StorageObjectAccessMode _StorageObjectAccessMode.StorageObjectCharcAccessMode = $projection.StorageObjectCharcAccessMode
[0..1] I_OIL_StorObjectCharcClassVH _StorObjectCharcClass _StorObjectCharcClass.StorObjectCharacteristicClass = $projection.StorObjectCharacteristicClass
[0..1] I_OIL_StorageObjectTypeVH _StorageObjectType _StorageObjectType.StorageObjectType = $projection.StorageObjectType
[0..1] I_Equipment _Equipment _Equipment.Equipment = $projection.StorageObjEquipmentNumber
[0..1] I_FunctionalLocation _FunctionalLocation _FunctionalLocation.FunctionalLocation = $projection.StorageObjectFunctionalLoc
[0..1] I_Country _Country _Country.Country = $projection.ManufacturerCountry
[0..1] I_UnitOfMeasure _VolumeUnitOfMeasure _VolumeUnitOfMeasure.UnitOfMeasure = $projection.TankVolumeUnitOfMeasure
[0..1] I_UnitOfMeasure _MassUnitOfMeasure _MassUnitOfMeasure.UnitOfMeasure = $projection.TankMassUnit
[0..1] I_UnitOfMeasure _LengthUnitOfMeasure _LengthUnitOfMeasure.UnitOfMeasure = $projection.TankLengthUnit
[0..1] I_UnitOfMeasure _FlowRateUnitOfMeasure _FlowRateUnitOfMeasure.UnitOfMeasure = $projection.FlowRateUnitOfMeasure
[0..1] I_UnitOfMeasure _TimeUnitOfMeasure _TimeUnitOfMeasure.UnitOfMeasure = $projection.TankTimeUnit
[0..1] I_UnitOfMeasure _TemperatureUnitOfMeasure _TemperatureUnitOfMeasure.UnitOfMeasure = $projection.TankTemperatureUnit
[0..1] I_UnitOfMeasure _DensityUnitOfMeasure _DensityUnitOfMeasure.UnitOfMeasure = $projection.DensityUnitOfMeasure
[0..1] I_UnitOfMeasure _VolumePerHeightUnitOfMeasure _VolumePerHeightUnitOfMeasure.UnitOfMeasure = $projection.VolumePerHeightUnitOfMeasure
[1..1] I_OIL_ConversionDensityTypeVH _ConversionDensityType _ConversionDensityType.ConversionGroupsDensityType = $projection.OilDensityType
[1..1] I_OIL_StopGaugeCalcRoutine _StopGaugeCalcRoutine _StopGaugeCalcRoutine.StopGaugeCalculationRoutine = $projection.StopGaugeCalculationRoutine

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Storage Object Characteristic Segment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey StorObjectCharcSegmentNumber view
VDM.viewType #BASIC view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY StorObjectCharcSegmentNumber socnr SOCSEG number
ControllingObject objnr Val. Obj. No.
StorageObjectCharcAccessMode socam Access mode
StorObjectCharacteristicClass sockl SOC class
StorageObjectType soctyp Stor.obj.type
StorageObjEquipmentNumber equnr Equipment
StorageObjectFunctionalLoc Functional loc.
StorObjEquipmentManufacturer herst Vendor/Manuf.
ManufacturerCountry herld Mnf. Cntry/Regn
ManufacturerDrawingNumber hzein Drawing no.
ManufacturerSerialNumber serge Mnf.serial no.
ManufacturerModelNumber typbz Type Name
StorObjectYearOfConstruction baujj ConstructYear
StorObjectMonthOfConstruction baumm ConstructMth
TankVolumeUnitOfMeasure volun Volume UoM
TankMassUnit masun UoM mass
TankLengthUnit lenun Length UoM
FlowRateUnitOfMeasure frtun UoM flow rate
TankTimeUnit timun UoM time
TankTemperatureUnit tmpun UoM Temp
DensityUnitOfMeasure dnsun Density UoM
VolumePerHeightUnitOfMeasure spvun Vol/height UoM
OilDensityType dntyp Dens. Type
StorageObjectCapacity kapaz Max. capacity
StorageObjectMaxSafetyWeight mxmas Max.safety wgt.
GenStorageObjectUsgeExpiryDate gxdat Expiry date
GenStorageObjectUsgeExpiryTime gxtim Expiry time
GenStorObjectUsgeExpiryReason gxrea Expiry reason
StorageObjectHasGroup sogrp SO is group
CreationDate erdat Entered On
CreationTime erzeit Time created
CreatedByUser ernam User Name
LastChangeDate aedat Obsolete
LastChangeTime aezeit Time changed
LastChangedByUser aenam User Name
EntityIsBlocked bloind Single-Character Flag
EntityIsMarkedForDeletion delind Will be Deleted
StopGaugeCalculationRoutine st_gauge_rt Stp Gauge Routine
_ControllingObject _ControllingObject
_StorageObjectAccessMode _StorageObjectAccessMode
_StorObjectCharcClass _StorObjectCharcClass
_StorageObjectType _StorageObjectType
_Equipment _Equipment
_FunctionalLocation _FunctionalLocation
_Country _Country
_VolumeUnitOfMeasure _VolumeUnitOfMeasure
_MassUnitOfMeasure _MassUnitOfMeasure
_LengthUnitOfMeasure _LengthUnitOfMeasure
_FlowRateUnitOfMeasure _FlowRateUnitOfMeasure
_TimeUnitOfMeasure _TimeUnitOfMeasure
_TemperatureUnitOfMeasure _TemperatureUnitOfMeasure
_DensityUnitOfMeasure _DensityUnitOfMeasure
_VolumePerHeightUnitOfMeasure _VolumePerHeightUnitOfMeasure
_ConversionDensityType _ConversionDensityType
_StopGaugeCalcRoutine _StopGaugeCalcRoutine

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_OIL_StorageObjCharcSegment.
-- 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_OIL_StorageObjCharcSegment AS
SELECT
  socnr AS StorObjectCharcSegmentNumber,
  objnr AS ControllingObject,
  socam AS StorageObjectCharcAccessMode,
  sockl AS StorObjectCharacteristicClass,
  soctyp AS StorageObjectType,
  equnr AS StorageObjEquipmentNumber,
  cast ( tplnr as tplnr_unconverted ) AS StorageObjectFunctionalLoc,
  herst AS StorObjEquipmentManufacturer,
  herld AS ManufacturerCountry,
  hzein AS ManufacturerDrawingNumber,
  serge AS ManufacturerSerialNumber,
  typbz AS ManufacturerModelNumber,
  baujj AS StorObjectYearOfConstruction,
  baumm AS StorObjectMonthOfConstruction,
  volun AS TankVolumeUnitOfMeasure,
  masun AS TankMassUnit,
  lenun AS TankLengthUnit,
  frtun AS FlowRateUnitOfMeasure,
  timun AS TankTimeUnit,
  tmpun AS TankTemperatureUnit,
  dnsun AS DensityUnitOfMeasure,
  spvun AS VolumePerHeightUnitOfMeasure,
  dntyp AS OilDensityType,
  kapaz AS StorageObjectCapacity,
  mxmas AS StorageObjectMaxSafetyWeight,
  gxdat AS GenStorageObjectUsgeExpiryDate,
  gxtim AS GenStorageObjectUsgeExpiryTime,
  gxrea AS GenStorObjectUsgeExpiryReason,
  sogrp AS StorageObjectHasGroup,
  erdat AS CreationDate,
  erzeit AS CreationTime,
  ernam AS CreatedByUser,
  aedat AS LastChangeDate,
  aezeit AS LastChangeTime,
  aenam AS LastChangedByUser,
  bloind AS EntityIsBlocked,
  delind AS EntityIsMarkedForDeletion,
  st_gauge_rt AS StopGaugeCalculationRoutine
FROM oiisock
LEFT OUTER JOIN I_ControllingObject AS _ControllingObject ON _ControllingObject.ControllingObject = ControllingObject  -- association [0..1]
LEFT OUTER JOIN I_OIL_StorageObjectAccessMode AS _StorageObjectAccessMode ON _StorageObjectAccessMode.StorageObjectCharcAccessMode = StorageObjectCharcAccessMode  -- association [0..1]
LEFT OUTER JOIN I_OIL_StorObjectCharcClassVH AS _StorObjectCharcClass ON _StorObjectCharcClass.StorObjectCharacteristicClass = StorObjectCharacteristicClass  -- association [0..1]
LEFT OUTER JOIN I_OIL_StorageObjectTypeVH AS _StorageObjectType ON _StorageObjectType.StorageObjectType = StorageObjectType  -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON _Equipment.Equipment = StorageObjEquipmentNumber  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON _FunctionalLocation.FunctionalLocation = StorageObjectFunctionalLoc  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON _Country.Country = ManufacturerCountry  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumeUnitOfMeasure ON _VolumeUnitOfMeasure.UnitOfMeasure = TankVolumeUnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _MassUnitOfMeasure ON _MassUnitOfMeasure.UnitOfMeasure = TankMassUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _LengthUnitOfMeasure ON _LengthUnitOfMeasure.UnitOfMeasure = TankLengthUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _FlowRateUnitOfMeasure ON _FlowRateUnitOfMeasure.UnitOfMeasure = FlowRateUnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _TimeUnitOfMeasure ON _TimeUnitOfMeasure.UnitOfMeasure = TankTimeUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _TemperatureUnitOfMeasure ON _TemperatureUnitOfMeasure.UnitOfMeasure = TankTemperatureUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _DensityUnitOfMeasure ON _DensityUnitOfMeasure.UnitOfMeasure = DensityUnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumePerHeightUnitOfMeasure ON _VolumePerHeightUnitOfMeasure.UnitOfMeasure = VolumePerHeightUnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_OIL_ConversionDensityTypeVH AS _ConversionDensityType ON _ConversionDensityType.ConversionGroupsDensityType = OilDensityType  -- association [1..1]
LEFT OUTER JOIN I_OIL_StopGaugeCalcRoutine AS _StopGaugeCalcRoutine ON _StopGaugeCalcRoutine.StopGaugeCalculationRoutine = StopGaugeCalculationRoutine  -- association [1..1]
;