I_PRAStorObjCharcsSgmtHdr

DDL: I_PRASTOROBJCHARCSSGMTHDR Type: view BASIC Package: OIU_VDM_CDS

Storage Object Characs Segment Header

I_PRAStorObjCharcsSgmtHdr is a Basic CDS View that provides data about "Storage Object Characs Segment Header" in SAP S/4HANA. It reads from 1 data source (oiu_oiisock) and exposes 34 fields with key field TankStorageObjUUID. It has 3 associations to related views. Part of development package OIU_VDM_CDS.

Data Sources (1)

SourceAliasJoin Type
oiu_oiisock PRAStorObjSgmtHdr from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.MaterialVolumeUoM = _UnitOfMeasure.UnitOfMeasure
[1..1] I_MeasurementPoint _MeasurementPoint $projection.MeasurementPoint = _MeasurementPoint.MeasurementPoint
[0..1] I_PRAMonth _Month $projection.EquipmentMonthOfManufacture = _Month.PRACalendarMonth

Annotations (11)

NameValueLevelField
EndUserText.label Storage Object Characs Segment Header view
AbapCatalog.sqlViewName ISOCSGMTHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY TankStorageObjUUID socnr_uuid UUID
MeasurementPoint mp_no Measurement Pt
MeasurementPtName _MeasurementPoint MeasurementPtName MP descr.
StorageObjEquipmentNumber equnr Equipment
StorageObjectFunctionalLoc tplnr Functional loc.
ManufacturerName herst Vendor/Manuf.
CountryOrRegion herld Mnf. Cntry/Regn
ManufacturerDrawingNumber hzein Drawing no.
ManufacturerSerialNumber serge Mnf.serial no.
ManufacturerModelNumber typbz Type Name
EquipmentYearOfManufacture baujj ConstructYear
EquipmentMonthOfManufacture baumm ConstructMth
MaterialVolumeUoM volun Volume UoM
MassUoMTank masun UoM mass
TankDipTotalHeightUoM lenun Length UoM
FlowRateUnitOfMeasure frtun UoM flow rate
UnitOfMeasureTemperatureUnit tmpun UoM Temp
DensityUnitOfMeasure dnsun Density UoM
VolumePerHeightUnitOfMeasure spvun Vol/height UoM
DensityType dntyp Dens. Type
TankCapacity kapaz Max. capacity
OilTankMaximumSafetyWeight mxmas Max.safety wgt.
OilTankStorageExpryDte gxdat Expiry date
OilTankStorageExpryTime gxtim Expiry time
OilTankExpiryReason gxrea Expiry reason
StorObjGroupName sogrp SO is group
PRACreationDateTime oiu_crtmstmp Time Stamp
CreatedByUser oiu_cruser Created By
PRAChangeDateTime oiu_chtmstmp Time Stamp
OilTankDipChangedByUser oiu_chuser Changed By
PRALoclLastChgdAtDateTime local_last_changed_at Time Stamp
Associations_UnitOfMeasure
_MeasurementPoint _MeasurementPoint
_Month _Month

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_PRAStorObjCharcsSgmtHdr.
-- 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_PRAStorObjCharcsSgmtHdr AS
SELECT
  socnr_uuid AS TankStorageObjUUID,
  mp_no AS MeasurementPoint,
  _MeasurementPoint.MeasurementPtName AS MeasurementPtName,
  equnr AS StorageObjEquipmentNumber,
  tplnr AS StorageObjectFunctionalLoc,
  herst AS ManufacturerName,
  herld AS CountryOrRegion,
  hzein AS ManufacturerDrawingNumber,
  serge AS ManufacturerSerialNumber,
  typbz AS ManufacturerModelNumber,
  baujj AS EquipmentYearOfManufacture,
  baumm AS EquipmentMonthOfManufacture,
  volun AS MaterialVolumeUoM,
  masun AS MassUoMTank,
  lenun AS TankDipTotalHeightUoM,
  frtun AS FlowRateUnitOfMeasure,
  tmpun AS UnitOfMeasureTemperatureUnit,
  dnsun AS DensityUnitOfMeasure,
  spvun AS VolumePerHeightUnitOfMeasure,
  dntyp AS DensityType,
  kapaz AS TankCapacity,
  mxmas AS OilTankMaximumSafetyWeight,
  gxdat AS OilTankStorageExpryDte,
  gxtim AS OilTankStorageExpryTime,
  gxrea AS OilTankExpiryReason,
  sogrp AS StorObjGroupName,
  oiu_crtmstmp AS PRACreationDateTime,
  oiu_cruser AS CreatedByUser,
  oiu_chtmstmp AS PRAChangeDateTime,
  oiu_chuser AS OilTankDipChangedByUser,
  local_last_changed_at AS PRALoclLastChgdAtDateTime
FROM oiu_oiisock AS PRAStorObjSgmtHdr
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON MaterialVolumeUoM = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_MeasurementPoint AS _MeasurementPoint ON MeasurementPoint = _MeasurementPoint.MeasurementPoint  -- association [1..1]
LEFT OUTER JOIN I_PRAMonth AS _Month ON EquipmentMonthOfManufacture = _Month.PRACalendarMonth  -- association [0..1]
;