I_OIL_LocationTSWBasic
Traders And Schedulers Workbench Loc
I_OIL_LocationTSWBasic is a Basic CDS View that provides data about "Traders And Schedulers Workbench Loc" in SAP S/4HANA. It reads from 1 data source (oijloc) and exposes 44 fields with key field TSWLocationID. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oijloc | oijloc | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OIL_LocationTypeTSWVH | _LocationTypeTSW | _LocationTypeTSW.BusinessLocationType = $projection.BusinessLocationType |
| [1..1] | I_OIL_LocationTypeVH | _LocationType | _LocationType.BusinessLocationType = $projection.BusinessLocationType |
| [1..1] | I_OIL_TransportConncnPointVH | _TransportConncnPointVH | _TransportConncnPointVH.ConnectPointID = $projection.TransportationConnectionPoint |
| [1..1] | I_UnitOfMeasure | _RateUnitOfMeasure | _RateUnitOfMeasure.UnitOfMeasure = $projection.BusinessLocationRateUnit |
| [1..1] | I_UnitOfMeasure | _TimeUnitOfMeasure | _TimeUnitOfMeasure.UnitOfMeasure = $projection.BusinessLocationRateTimeUnit |
| [1..1] | I_UnitOfMeasure | _UsageUnitOfMeasure | _UsageUnitOfMeasure.UnitOfMeasure = $projection.BusinessLocationUsageUnit |
| [1..1] | I_UnitOfMeasure | _UsageTimeUnitOfMeasure | _UsageTimeUnitOfMeasure.UnitOfMeasure = $projection.BusinessLocationUsageTimeUnit |
| [1..1] | I_OIL_ShipShoreCalcRoutineType | _ShipShoreCalcRoutineType | _ShipShoreCalcRoutineType.BusinessLocComprnCalcRoutnType = $projection.BusinessLocComprnCalcRoutnType |
| [1..1] | I_UnitOfMeasure | _BerthSchedgPerdUnit | _BerthSchedgPerdUnit.UnitOfMeasure = $projection.BusinessLocBerthSchedgPerdUnit |
| [0..1] | I_OIL_BusinessLocationBasic | _Location | _Location.BusinessLocationIdentifier = $projection.BusinessLocationIdentifier |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| 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 | #BASIC | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TSWLocationID | locid | Single-Character Flag | |
| BusinessLocationType | loctyp | Location type | ||
| BusinessLocationName | locnam | Location name | ||
| TransportationConnectionPoint | knote | Points | ||
| 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 | ||
| BusinessLocTicketIsSelectable | tktselect | Flag to Select Tkt | ||
| BusinessLocStkProjtnIsActive | rdact | Loc SP Act | ||
| MaxRatePerPeriodQuantity | maxrate | Maximum rate | ||
| MinRatePerPeriodQuantity | minrate | Minimum rate | ||
| OpgRatePerPeriodQuantity | operate | operating rate | ||
| BusinessLocationRateUnit | rateuom | Rate unit | ||
| BusinessLocationRateTimeUnit | rateperd | Time UoM | ||
| MaxVolumePerPeriodQuantity | maxusage | Max Volume | ||
| MinVolumePerPeriodQuantity | minusage | Min Volume | ||
| OpgVolumePerPeriodQuantity | opeusage | Oper. Volume | ||
| BusinessLocationUsageUnit | usageuom | Usage unit | ||
| BusinessLocationUsageTimeUnit | usageperd | Time UoM | ||
| BusinessLocComprnCalcRoutnType | ss_rt | MeasrComp Rt. Type | ||
| BusinessLocHasBerthScheduling | bschflag | Berth Sched. Rel | ||
| BusinessLocBerthSchedgPeriod | bschperd | Berth sch. per. | ||
| BusinessLocBerthSchedgPerdUnit | bschpuom | Time UoM | ||
| BizLocHasAggrgTankConstraints | tankagg | Agg Tank Constraints | ||
| BusinessLocationIdentifier | pblnr | Location ID | ||
| BusinessLocScmaBusinessConfVal | schema_busconf | Schema | ||
| BusinessLocScmaTechSchedgVal | schema_techsch | Schema | ||
| BusinessLocScmaMsmtAllocVal | schema_alloc | Schema | ||
| BusinessLocIsExternalTerminal | external_ind | Third Party Terminal | ||
| _LocationTypeTSW | _LocationTypeTSW | |||
| _LocationType | _LocationType | |||
| _TransportConncnPointVH | _TransportConncnPointVH | |||
| _RateUnitOfMeasure | _RateUnitOfMeasure | |||
| _TimeUnitOfMeasure | _TimeUnitOfMeasure | |||
| _UsageUnitOfMeasure | _UsageUnitOfMeasure | |||
| _UsageTimeUnitOfMeasure | _UsageTimeUnitOfMeasure | |||
| _ShipShoreCalcRoutineType | _ShipShoreCalcRoutineType | |||
| _BerthSchedgPerdUnit | _BerthSchedgPerdUnit | |||
| _Location | _Location |
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_LocationTSWBasic.
-- 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_LocationTSWBasic AS
SELECT
locid AS TSWLocationID,
loctyp AS BusinessLocationType,
locnam AS BusinessLocationName,
knote AS TransportationConnectionPoint,
erdat AS CreationDate,
erzeit AS CreationTime,
ernam AS CreatedByUser,
aedat AS LastChangeDate,
aezeit AS LastChangeTime,
aenam AS LastChangedByUser,
bloind AS EntityIsBlocked,
delind AS EntityIsMarkedForDeletion,
tktselect AS BusinessLocTicketIsSelectable,
rdact AS BusinessLocStkProjtnIsActive,
maxrate AS MaxRatePerPeriodQuantity,
minrate AS MinRatePerPeriodQuantity,
operate AS OpgRatePerPeriodQuantity,
rateuom AS BusinessLocationRateUnit,
rateperd AS BusinessLocationRateTimeUnit,
maxusage AS MaxVolumePerPeriodQuantity,
minusage AS MinVolumePerPeriodQuantity,
opeusage AS OpgVolumePerPeriodQuantity,
usageuom AS BusinessLocationUsageUnit,
usageperd AS BusinessLocationUsageTimeUnit,
ss_rt AS BusinessLocComprnCalcRoutnType,
bschflag AS BusinessLocHasBerthScheduling,
bschperd AS BusinessLocBerthSchedgPeriod,
bschpuom AS BusinessLocBerthSchedgPerdUnit,
tankagg AS BizLocHasAggrgTankConstraints,
pblnr AS BusinessLocationIdentifier,
schema_busconf AS BusinessLocScmaBusinessConfVal,
schema_techsch AS BusinessLocScmaTechSchedgVal,
schema_alloc AS BusinessLocScmaMsmtAllocVal,
external_ind AS BusinessLocIsExternalTerminal
FROM oijloc
LEFT OUTER JOIN I_OIL_LocationTypeTSWVH AS _LocationTypeTSW ON _LocationTypeTSW.BusinessLocationType = BusinessLocationType -- association [1..1]
LEFT OUTER JOIN I_OIL_LocationTypeVH AS _LocationType ON _LocationType.BusinessLocationType = BusinessLocationType -- association [1..1]
LEFT OUTER JOIN I_OIL_TransportConncnPointVH AS _TransportConncnPointVH ON _TransportConncnPointVH.ConnectPointID = TransportationConnectionPoint -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _RateUnitOfMeasure ON _RateUnitOfMeasure.UnitOfMeasure = BusinessLocationRateUnit -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _TimeUnitOfMeasure ON _TimeUnitOfMeasure.UnitOfMeasure = BusinessLocationRateTimeUnit -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UsageUnitOfMeasure ON _UsageUnitOfMeasure.UnitOfMeasure = BusinessLocationUsageUnit -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UsageTimeUnitOfMeasure ON _UsageTimeUnitOfMeasure.UnitOfMeasure = BusinessLocationUsageTimeUnit -- association [1..1]
LEFT OUTER JOIN I_OIL_ShipShoreCalcRoutineType AS _ShipShoreCalcRoutineType ON _ShipShoreCalcRoutineType.BusinessLocComprnCalcRoutnType = BusinessLocComprnCalcRoutnType -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BerthSchedgPerdUnit ON _BerthSchedgPerdUnit.UnitOfMeasure = BusinessLocBerthSchedgPerdUnit -- association [1..1]
LEFT OUTER JOIN I_OIL_BusinessLocationBasic AS _Location ON _Location.BusinessLocationIdentifier = BusinessLocationIdentifier -- association [0..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