I_FunctionalLocationStatus

DDL: I_FUNCTIONALLOCATIONSTATUS Type: view_entity COMPOSITE Package: IEQM

Functional Location Status

I_FunctionalLocationStatus (Composite)

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

Asset Management

I_FunctionalLocationStatus is a Composite CDS View that provides data about "Functional Location Status" in SAP S/4HANA. It reads from 1 data source (P_FuncnlLocStatusAggrgn) and exposes 7 fields with key field FunctionalLocation. Part of development package IEQM.

SAP Help Documentation

CategoryCDS Views for Maintenance Management
Purpose
This CDS view provides a structured representation of the status of functional locations within an organization. It aggregates data related to the lifecycle and operational status of these locations, enabling users to understand their current state and any changes that have occurred. This CDS view provides the data to answer the following business questions: What is the current status of a specific functional location? Is a functional location marked for deletion or has it been deleted? Is a functional location active or has it been deactivated? Has a functional location been newly created? What is the internal ID associated with a specific maintenance object for a functional location? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Structure
Important Fields Important fields in this view include the following: Field Name Description MAINTOBJECTINTERNALID Object Number FUNCNLLOCISDELETED Check-box FUNCTIONALLOCATIONISACTIVE Check-box FUNCNLLOCISDEACTIVATED Check-box FUNCTIONALLOCATIONISCREATED Check-box FUNCNLLOCISMARKEDFORDELETION Check-box FUNCTIONALLOCATION Functional Location

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessAsset Management
Application ComponentPM-EQM-EQ-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAsset Management for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides a structured representation of the status of functional locations within an organization. It aggregates data related to the lifecycle and operational status of these locations, enabling users to understand their current state and any changes that have occurred.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the current status of a specific functional location?</p></li> <li><p>Is a functional location marked for deletion or has it been deleted?</p></li> <li><p>Is a functional location active or has it been deactivated?</p></li> <li><p>Has a functional location been newly created?</p></li> <li><p>What is the internal ID associated with a specific maintenance object for a functional location?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_FuncnlLocStatusAggrgn _FuncnlLocStatus from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Functional Location Status view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation P_FuncnlLocStatusAggrgn FunctionalLocation Functional Location
MaintObjectInternalID P_FuncnlLocStatusAggrgn MaintObjectInternalID Object number
FuncnlLocIsMarkedForDeletion Checkbox
FuncnlLocIsDeleted Checkbox
FunctionalLocationIsActive Checkbox
FunctionalLocationIsCreated Checkbox
FuncnlLocIsDeactivated Checkbox

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_FunctionalLocationStatus.
-- 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.

CREATE VIEW I_FunctionalLocationStatus AS
SELECT
  _FuncnlLocStatus.FunctionalLocation AS FunctionalLocation,
  _FuncnlLocStatus.MaintObjectInternalID AS MaintObjectInternalID,
  cast(_FuncnlLocStatus.FuncnlLocIsMarkedForDeletion as xfeld preserving type) AS FuncnlLocIsMarkedForDeletion,
  cast(_FuncnlLocStatus.FuncnlLocIsDeleted as xfeld preserving type) AS FuncnlLocIsDeleted,
  cast(_FuncnlLocStatus.FunctionalLocationIsActive as xfeld preserving type) AS FunctionalLocationIsActive,
  cast(_FuncnlLocStatus.FunctionalLocationIsCreated as xfeld preserving type) AS FunctionalLocationIsCreated,
  cast(_FuncnlLocStatus.FuncnlLocIsDeactivated as xfeld preserving type) AS FuncnlLocIsDeactivated
FROM P_FuncnlLocStatusAggrgn AS _FuncnlLocStatus
;