I_OIL_LocationTypeTSWVH

DDL: I_OIL_LOCATIONTYPETSWVH Type: view_entity BASIC

Location Type

I_OIL_LocationTypeTSWVH is a Basic CDS View that provides data about "Location Type" in SAP S/4HANA. It reads from 1 data source (oijloct) and exposes 6 fields with key field BusinessLocationType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
oijloct oijloct from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_OIL_LocationTypeTSWT _Text _Text.BusinessLocationType = $projection.BusinessLocationType

Annotations (12)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.internalName #LOCAL view
EndUserText.label Location Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BusinessLocationType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BusinessLocationType loctyp Location type
BusinessLocIsPlanningRelevant planind Planning loc.
BusinessLocationIsRefinery refind Refinery ind.
BusinessLocationIsOrigin odindo Origin
BusinessLocationIsDestination odindd Destination
_Text _Text

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_LocationTypeTSWVH.
-- 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_LocationTypeTSWVH AS
SELECT
  loctyp AS BusinessLocationType,
  planind AS BusinessLocIsPlanningRelevant,
  refind AS BusinessLocationIsRefinery,
  odindo AS BusinessLocationIsOrigin,
  odindd AS BusinessLocationIsDestination
FROM oijloct
LEFT OUTER JOIN I_OIL_LocationTypeTSWT AS _Text ON _Text.BusinessLocationType = BusinessLocationType  -- association [0..*]
;