I_UtilsTechObjLocationAddr
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
| Category | Functional Location |
|---|---|
| Data Category | Dimension |
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-DM |
| Capabilities | Data Source in SQL Select, Analytical Dimension, Data Provider for Analytical Queries, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Utilities for SAP S/4HANA |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA, onpremise edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FunctionalLocation | I_FunctionalLocation | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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