I_OIL_LocationBerthTankBasic

DDL: I_OIL_LOCATIONBERTHTANKBASIC Type: view_entity BASIC

Assignment of berths to tanks

I_OIL_LocationBerthTankBasic is a Basic CDS View that provides data about "Assignment of berths to tanks" in SAP S/4HANA. It reads from 1 data source (oijbersoc) and exposes 15 fields with key fields AssignedStorObjCharcSgmtNumber, BerthIdentifier, LoadingSystem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oijbersoc oijbersoc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_OIL_StorageObjCharcSegment _StorageObjCharcSegment _StorageObjCharcSegment.StorObjectCharcSegmentNumber = $projection.AssignedStorObjCharcSgmtNumber
[1..1] I_OIL_Berth _Berth _Berth.BerthIdentifier = $projection.BerthIdentifier
[1..1] I_OIL_TransportSystem _TransportSystem _TransportSystem.TransportSystem = $projection.LoadingSystem

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Assignment of berths to tanks view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY AssignedStorObjCharcSgmtNumber socnr SOCSEG number
KEY BerthIdentifier berid Single-Character Flag
KEY LoadingSystem lsyst Loading system
CreationDate erdat Entered On
CreationTime erzeit Time created
CreatedByUser ernam User Name
LastChangeDate aedat Obsolete
LastChangeTime aezeit Time changed
LastChangedByUser aenam User Name
IsBlocked bloind Single-Character Flag
IsDeleted delind Will be Deleted
TicketIsSelectable tktselect Flag to Select Tkt
_StorageObjCharcSegment _StorageObjCharcSegment
_Berth _Berth
_TransportSystem _TransportSystem

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_LocationBerthTankBasic.
-- 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_LocationBerthTankBasic AS
SELECT
  socnr AS AssignedStorObjCharcSgmtNumber,
  berid AS BerthIdentifier,
  lsyst AS LoadingSystem,
  erdat AS CreationDate,
  erzeit AS CreationTime,
  ernam AS CreatedByUser,
  aedat AS LastChangeDate,
  aezeit AS LastChangeTime,
  aenam AS LastChangedByUser,
  bloind AS IsBlocked,
  delind AS IsDeleted,
  tktselect AS TicketIsSelectable
FROM oijbersoc
LEFT OUTER JOIN I_OIL_StorageObjCharcSegment AS _StorageObjCharcSegment ON _StorageObjCharcSegment.StorObjectCharcSegmentNumber = AssignedStorObjCharcSgmtNumber  -- association [1..1]
LEFT OUTER JOIN I_OIL_Berth AS _Berth ON _Berth.BerthIdentifier = BerthIdentifier  -- association [1..1]
LEFT OUTER JOIN I_OIL_TransportSystem AS _TransportSystem ON _TransportSystem.TransportSystem = LoadingSystem  -- association [1..1]
;