I_LocationGroup

DDL: I_LOCATIONGROUP SQL: ILOCATIONGRP Type: view BASIC Package: VDM_PP_MD_WKC

Location Group Code

I_LocationGroup (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_LocationGroup is a Basic CDS View (Dimension) that provides data about "Location Group Code" in SAP S/4HANA. It reads from 1 data source (tc28) and exposes 4 fields with key fields LocationGroup, Plant. It has 2 associations to related views. Part of development package VDM_PP_MD_WKC.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM-MD-2CL
CapabilitiesAnalytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities,Data Source for Search
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the prerequisites for answering the following business question:</p> <ul> <li><p>Which location groups are maintained in a plant?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
tc28 tc28 from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_LocationGroupText _Text $projection.LocationGroup = _Text.LocationGroup and $projection.Plant = _Text.Plant

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName ILOCATIONGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey LocationGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Location Group Code view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY LocationGroup tc28 ortgr Location Group
KEY Plant tc28 werks Receiving Plant
_Plant _Plant
_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_LocationGroup.
-- 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: ILOCATIONGRP

CREATE VIEW I_LocationGroup AS
SELECT
  tc28.ortgr AS LocationGroup,
  tc28.werks AS Plant
FROM tc28
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_LocationGroupText AS _Text ON LocationGroup = _Text.LocationGroup AND Plant = _Text.Plant  -- association [0..*]
;