I_OIL_LocationTSW

DDL: I_OIL_LOCATIONTSW Type: view_entity COMPOSITE

Traders And Schedulers Workbench Loc

I_OIL_LocationTSW is a Composite CDS View that provides data about "Traders And Schedulers Workbench Loc" in SAP S/4HANA. It reads from 1 data source (I_OIL_LocationTSWBasic) and exposes 44 fields with key fields BusinessLocationIdentifier, TSWLocationID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_OIL_LocationTSWBasic I_OIL_LocationTSWBasic from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_OIL_BusinessLocationBasic _BusinessLocation _BusinessLocation.BusinessLocationIdentifier = $projection.BusinessLocationIdentifier

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Traders And Schedulers Workbench Loc view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey TSWLocationID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY BusinessLocationIdentifier BusinessLocationIdentifier Location ID
KEY TSWLocationID TSWLocationID Location ID
BusinessLocationType BusinessLocationType Location type
BusinessLocationName BusinessLocationName Location name
TransportationConnectionPoint TransportationConnectionPoint Connect point
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
LastChangedByUser LastChangedByUser User Name
EntityIsBlocked EntityIsBlocked Blocking ind.
EntityIsMarkedForDeletion EntityIsMarkedForDeletion Will be Deleted
BusinessLocTicketIsSelectable BusinessLocTicketIsSelectable Flag to Select Tkt
BusinessLocStkProjtnIsActive BusinessLocStkProjtnIsActive Loc SP Act
MaxRatePerPeriodQuantity MaxRatePerPeriodQuantity Maximum rate
MinRatePerPeriodQuantity MinRatePerPeriodQuantity Minimum rate
OpgRatePerPeriodQuantity OpgRatePerPeriodQuantity operating rate
BusinessLocationRateUnit BusinessLocationRateUnit Rate unit
BusinessLocationRateTimeUnit BusinessLocationRateTimeUnit Time UoM
MaxVolumePerPeriodQuantity MaxVolumePerPeriodQuantity Max Volume
MinVolumePerPeriodQuantity MinVolumePerPeriodQuantity Min Volume
OpgVolumePerPeriodQuantity OpgVolumePerPeriodQuantity Oper. Volume
BusinessLocationUsageUnit BusinessLocationUsageUnit Usage unit
BusinessLocationUsageTimeUnit BusinessLocationUsageTimeUnit Time UoM
BusinessLocComprnCalcRoutnType BusinessLocComprnCalcRoutnType MeasrComp Rt. Type
BusinessLocHasBerthScheduling BusinessLocHasBerthScheduling Berth Sched. Rel
BusinessLocBerthSchedgPeriod BusinessLocBerthSchedgPeriod Berth sch. per.
BusinessLocBerthSchedgPerdUnit BusinessLocBerthSchedgPerdUnit Time UoM
BizLocHasAggrgTankConstraints BizLocHasAggrgTankConstraints Agg Tank Constraints
BusinessLocScmaBusinessConfVal BusinessLocScmaBusinessConfVal Schema
BusinessLocScmaTechSchedgVal BusinessLocScmaTechSchedgVal Schema
BusinessLocScmaMsmtAllocVal BusinessLocScmaMsmtAllocVal Schema
BusinessLocIsExternalTerminal BusinessLocIsExternalTerminal Third Party Terminal
_BusinessLocation _BusinessLocation
_LocationTypeTSW _LocationTypeTSW
_LocationType _LocationType
_TransportConncnPointVH _TransportConncnPointVH
_RateUnitOfMeasure _RateUnitOfMeasure
_TimeUnitOfMeasure _TimeUnitOfMeasure
_UsageUnitOfMeasure _UsageUnitOfMeasure
_UsageTimeUnitOfMeasure _UsageTimeUnitOfMeasure
_ShipShoreCalcRoutineType _ShipShoreCalcRoutineType
_BerthSchedgPerdUnit _BerthSchedgPerdUnit

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_LocationTSW.
-- 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_LocationTSW AS
SELECT
  BusinessLocationIdentifier,
  TSWLocationID,
  BusinessLocationType,
  BusinessLocationName,
  TransportationConnectionPoint,
  CreationDate,
  CreationTime,
  CreatedByUser,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  EntityIsBlocked,
  EntityIsMarkedForDeletion,
  BusinessLocTicketIsSelectable,
  BusinessLocStkProjtnIsActive,
  MaxRatePerPeriodQuantity,
  MinRatePerPeriodQuantity,
  OpgRatePerPeriodQuantity,
  BusinessLocationRateUnit,
  BusinessLocationRateTimeUnit,
  MaxVolumePerPeriodQuantity,
  MinVolumePerPeriodQuantity,
  OpgVolumePerPeriodQuantity,
  BusinessLocationUsageUnit,
  BusinessLocationUsageTimeUnit,
  BusinessLocComprnCalcRoutnType,
  BusinessLocHasBerthScheduling,
  BusinessLocBerthSchedgPeriod,
  BusinessLocBerthSchedgPerdUnit,
  BizLocHasAggrgTankConstraints,
  BusinessLocScmaBusinessConfVal,
  BusinessLocScmaTechSchedgVal,
  BusinessLocScmaMsmtAllocVal,
  BusinessLocIsExternalTerminal
FROM I_OIL_LocationTSWBasic
LEFT OUTER JOIN I_OIL_BusinessLocationBasic AS _BusinessLocation ON _BusinessLocation.BusinessLocationIdentifier = BusinessLocationIdentifier  -- association [0..1]
;