A_OIL_LocationTSW

DDL: A_OIL_LOCATIONTSW Type: view_entity CONSUMPTION

TSW Location

A_OIL_LocationTSW is a Consumption CDS View that provides data about "TSW Location" in SAP S/4HANA. It reads from 1 data source (R_OIL_LocationTSWTP) and exposes 38 fields with key fields BusinessLocationIdentifier, TSWLocationID.

Data Sources (1)

SourceAliasJoin Type
R_OIL_LocationTSWTP R_OIL_LocationTSWTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label TSW Location view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
OData.entityType.name OIL_BusinessLocationTSW_Type view

Fields (38)

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
BusinessLocationIsOrigin _LocationType BusinessLocationIsOrigin
BusinessLocationIsRefinery _LocationType BusinessLocationIsRefinery
BusinessLocationIsDestination _LocationType BusinessLocationIsDestination
BusinessLocIsPlanningRelevant _LocationType BusinessLocIsPlanningRelevant

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 A_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 A_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,
  _LocationType.BusinessLocationIsOrigin AS BusinessLocationIsOrigin,
  _LocationType.BusinessLocationIsRefinery AS BusinessLocationIsRefinery,
  _LocationType.BusinessLocationIsDestination AS BusinessLocationIsDestination,
  _LocationType.BusinessLocIsPlanningRelevant AS BusinessLocIsPlanningRelevant
FROM R_OIL_LocationTSWTP
;