I_UtilsTechObjLocationAddr

DDL: I_UTILSTECHOBJLOCATIONADDR SQL: IETECHOBJLOCADDR Type: view COMPOSITE

Technical Object Location Address

I_UtilsTechObjLocationAddr (Composite)

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

Utilities

I_UtilsTechObjLocationAddr is a Composite CDS View (Dimension) that provides data about "Technical Object Location Address" in SAP S/4HANA. It reads from 1 data source (I_FunctionalLocation) and exposes 31 fields with key field FunctionalLocation. It has 5 associations to related views.

SAP Help Documentation

CategoryFunctional Location
Data CategoryDimension
Purpose
This CDS view retrieves data for the functional location. The location and account assignment data for a functional location is also retrieved.

Prerequisites
Authorizations The following authorization objects are required to use this CDS view: I_BEGRP (Authorization to display master data in Plant Maintenance) I_INGRP (Authorization to display the objects of a maintenance planner group) I_WERK (Authorization to display maintenance planning plant data in Plant Maintenance) I_SWERK (Authorization to display maintenance plant data in Plant Maintenance)

Structure
Important fields in this view include the following: Field Name Description FunctionalLocation Functional Location MaintObjectLocAcctAssgmtNmbr Location and Account Assignment for Technical Object MaintenancePlanningPlant Maintenance Planning Plant MaintenancePlant Maintenance Plant MaintenanceObjectLocation Location of Maintenance Object CostCenter Controlling Area

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-DM
CapabilitiesData Source in SQL Select, Analytical Dimension, Data Provider for Analytical Queries, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageUtilities for SAP S/4HANA

Documentation

Data Sources (1)

SourceAliasJoin Type
I_FunctionalLocation I_FunctionalLocation from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant $projection.maintenanceplant = _Plant.Plant
[0..1] I_Plant _PlanningPlant $projection.MaintenancePlanningPlant = _PlanningPlant.Plant
[0..*] I_FunctionalLocationText _FunctionalLocationText _FunctionalLocationText.FunctionalLocation = $projection.FunctionalLocation
[0..1] I_PostalCity _PostalCity $projection.CityNumber = _PostalCity.CityNumber and $projection.country = _PostalCity.Country
[0..1] I_FunctionalLocation _FunctionalLocation $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation

Annotations (14)

NameValueLevelField
EndUserText.label Technical Object Location Address view
Analytics.dataCategory #DIMENSION view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey FunctionalLocation view
AbapCatalog.sqlViewName IETECHOBJLOCADDR view
ObjectModel.usageType.serviceQuality C view
ObjectModel.usageType.sizeCategory XL view
ObjectModel.usageType.dataClass MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation I_FunctionalLocation FunctionalLocation Functional Location
MaintObjectLocAcctAssgmtNmbr I_FunctionalLocation MaintObjectLocAcctAssgmtNmbr Location and account assignment for technical object
MaintenancePlanningPlant I_FunctionalLocation MaintenancePlanningPlant Maintenance Planning Plant
AuthorizationGroup I_FunctionalLocation AuthorizationGroup Technical Object Authorization Group
MaintenancePlannerGroup I_FunctionalLocation MaintenancePlannerGroup Planner Group for Customer Service and Plant Maintenance
MaintenancePlant Maintenance Plant
AddressID Address Number
MaintenanceObjectLocation Location of maintenance object
AssetLocation Location of maintenance object
ControllingArea Controlling Area
CostCenter Cost Center
CityNumber City code for city/street file
Country Country/Region Key
Region Region (State, Province, County)
CountyCode County code for county
_FunctionalLocationText _FunctionalLocationText
_Address
_Address2
_Country
_CountyCode
_Region
_CostCenter
_ControllingArea
_Location
_Plant _Plant
_MaintenancePlanningPlant _MaintenancePlanningPlant
_PlanningPlant _PlanningPlant
_LocationAccountAssignment _LocationAccountAssignment
_MaintenancePlannerGroup _MaintenancePlannerGroup
_PostalCity _PostalCity
_FunctionalLocation _FunctionalLocation

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_UtilsTechObjLocationAddr.
-- 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: IETECHOBJLOCADDR

CREATE VIEW I_UtilsTechObjLocationAddr AS
SELECT
  I_FunctionalLocation.FunctionalLocation AS FunctionalLocation,
  I_FunctionalLocation.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  I_FunctionalLocation.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  I_FunctionalLocation.AuthorizationGroup AS AuthorizationGroup,
  I_FunctionalLocation.MaintenancePlannerGroup AS MaintenancePlannerGroup,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].MaintenancePlant AS MaintenancePlant,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].AddressID AS AddressID,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].MaintenanceObjectLocation AS MaintenanceObjectLocation,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].AssetLocation AS AssetLocation,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].ControllingArea AS ControllingArea,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr].CostCenter AS CostCenter,
  cast( I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2.CityNumber as ad_citynum preserving type ) AS CityNumber,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2.Country AS Country,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2.Region AS Region,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2.SecondaryRegion AS CountyCode,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address AS _Address,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2 AS _Address2,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2._Country AS _Country,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2._SecondaryRegion AS _CountyCode,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Address2._Region AS _Region,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._CostCenter AS _CostCenter,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._ControllingArea AS _ControllingArea,
  I_FunctionalLocation._LocationAccountAssignment[1: MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr]._Location AS _Location
FROM I_FunctionalLocation
LEFT OUTER JOIN I_Plant AS _Plant ON maintenanceplant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _PlanningPlant ON MaintenancePlanningPlant = _PlanningPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocationText AS _FunctionalLocationText ON _FunctionalLocationText.FunctionalLocation = FunctionalLocation  -- association [0..*]
LEFT OUTER JOIN I_PostalCity AS _PostalCity ON CityNumber = _PostalCity.CityNumber AND country = _PostalCity.Country  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation  -- association [0..1]
;