I_OIL_LocationTypeTSWT

DDL: I_OIL_LOCATIONTYPETSWT Type: view_entity BASIC

Location Type - Text

I_OIL_LocationTypeTSWT is a Basic CDS View that provides data about "Location Type - Text" in SAP S/4HANA. It reads from 1 data source (oijlocts) and exposes 6 fields with key fields Language, BusinessLocationType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oijlocts oijlocts from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language _Language.Language = $projection.Language
[0..1] I_OIL_LocationTypeTSWVH _LocationTypeTSW _LocationTypeTSW.BusinessLocationType = $projection.BusinessLocationType

Annotations (11)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language spras Off. Language
KEY BusinessLocationType loctyp Location type
LocationTypeShortText stext Text
LocationTypeText ltext Text exists
_Language _Language
_LocationTypeTSW _LocationTypeTSW

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_LocationTypeTSWT.
-- 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_LocationTypeTSWT AS
SELECT
  spras AS Language,
  loctyp AS BusinessLocationType,
  stext AS LocationTypeShortText,
  ltext AS LocationTypeText
FROM oijlocts
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_OIL_LocationTypeTSWVH AS _LocationTypeTSW ON _LocationTypeTSW.BusinessLocationType = BusinessLocationType  -- association [0..1]
;