I_OIL_StorageObjCharcSegment
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)
| Source | Alias | Join Type |
|---|---|---|
| oiisock | oiisock | from |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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