I_VisualLocations
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)
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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