I_WorkCenterLocation

DDL: I_WORKCENTERLOCATION SQL: IWKCLOCATION Type: view BASIC

Work Center Location

I_WorkCenterLocation (Basic)

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

Manufacturing

I_WorkCenterLocation is a Basic CDS View (Dimension) that provides data about "Work Center Location" in SAP S/4HANA. It reads from 1 data source (I_Location) and exposes 7 fields with key fields WorkCenterPlant, WorkCenterLocation. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM-MD
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which work center locations are maintained in a plant?</p></li> <li><p>What is the name of a work center location?</p></li> <li><p>What is the address of a work center location?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_Location t499s from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.WorkCenterPlant = _Plant.Plant
[0..1] I_Address _Address $projection.AddressID = _Address.AddressID
[0..1] I_Address_2 _Address_2 $projection.AddressID = _Address_2.AddressID and _Address_2.AddressPersonID = '' and _Address_2.AddressRepresentationCode = ''

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IWKCLOCATION view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey WorkCenterLocation view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Work Center Location view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterPlant I_Location Plant Valuation Area
KEY WorkCenterLocation I_Location Location Location
AddressID I_Location AddressID Ship-to address
WorkCenterLocationName I_Location LocationName Location Name
_Plant _Plant
_Address _Address
_Address_2 _Address_2

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_WorkCenterLocation.
-- 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: IWKCLOCATION

CREATE VIEW I_WorkCenterLocation AS
SELECT
  t499s.Plant AS WorkCenterPlant,
  t499s.Location AS WorkCenterLocation,
  t499s.AddressID AS AddressID,
  t499s.LocationName AS WorkCenterLocationName
FROM I_Location AS t499s
LEFT OUTER JOIN I_Plant AS _Plant ON WorkCenterPlant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Address AS _Address ON AddressID = _Address.AddressID  -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _Address_2 ON AddressID = _Address_2.AddressID AND _Address_2.AddressPersonID = '' AND _Address_2.AddressRepresentationCode = ''  -- association [0..1]
;