I_VisualLocations

DDL: I_VISUALLOCATIONS SQL: IVISUALLOC Type: view COMPOSITE

Location Master Data

I_VisualLocations is a Composite CDS View that provides data about "Location Master Data" in SAP S/4HANA. It reads from 6 data sources and exposes 15 fields with key fields CompanyCode, Plant, LocationId.

Data Sources (6)

SourceAliasJoin Type
adrc a left_outer
v_oifspbl b left_outer
v_oijrra l left_outer
t001w p left_outer
v_t005u t left_outer
v_t005t tc left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IVISUALLOC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Location Master Data view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode c bukrs Value
KEY Plant t001w werks Receiving Plant
KEY LocationId v_oijrra locid Single-Character Flag
BusinessPartnerRoleType v_oijrra rpart Role part. type
BusinessEntityLocationName v_oifspbl name1 PA text
LocationType v_oifspbl pbltyp Location type
AddressNumber adrc addrnumber Address Number
CityName adrc city1 City
CountryName v_t005t landx50 Country/Region
Region v_t005u bezei TrContType name
PostalCode adrc post_code1 Postal Code
Latitude
Longitude
IsBerthManaged
TankID

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_VisualLocations.
-- 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.
-- SQL view name: IVISUALLOC

CREATE VIEW I_VisualLocations AS
SELECT
  c.bukrs AS CompanyCode,
  p.werks AS Plant,
  l.locid AS LocationId,
  l.rpart AS BusinessPartnerRoleType,
  b.name1 AS BusinessEntityLocationName,
  b.pbltyp AS LocationType,
  a.addrnumber AS AddressNumber,
  a.city1 AS CityName,
  tc.landx50 AS CountryName,
  t.bezei AS Region,
  a.post_code1 AS PostalCode,
  cast( ' ' as abap.char(20)) AS Latitude,
  cast( ' ' as abap.char(20)) AS Longitude,
  cast( ' ' as abap.char(1 )) AS IsBerthManaged,
  cast( ' ' as abap.char(10)) AS TankID
LEFT OUTER JOIN t001w AS p ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_oijrra AS l ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_oifspbl AS b ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN adrc AS a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_t005u AS t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_t005t AS tc ON /* join condition not captured in parsed metadata */
;