I_FunctionalLocationStatus

DDL: I_FUNCTIONALLOCATIONSTATUS SQL: IFUNCNLLOCSTATUS Type: view COMPOSITE

Functional Location Status

I_FunctionalLocationStatus (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private 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.

SAP Help Documentation

CategoryCDS Views for Maintenance Management
Purpose
This CDS view helps you to retrieve the status of a functional location. This CDS view provides the data to answer the following business questions: What is the status of the functional location? Is the status of the functional location - created, active, deactivated, marked for deletion or deleted? 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 .

Prerequisites
Authorizations You have authorization to display the status of the functional locations in transactions IL03 and IH06 . This check is based on the field - Transaction Code ( I_TCODE ).

Structure
Important Fields Important fields in this view include the following: Field Name Description Comment FuncnlLocIsMarkedForDeletion Indicator for functional location marked for deletion. FuncnlLocIsDeleted Indicator for deleted functional location FunctionalLocationIsActive Indicator for active functional location FunctionalLocationIsCreated Indicator for created functional location FuncnlLocIsDeactivated Indicator for deactivated functional location

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAsset Management
Application ComponentPM-EQM-EQ
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageAsset Management for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps you to retrieve the status of a functional location.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the status of the functional location?</p></li> <li><p>Is the status of the functional location - created, active, deactivated, marked for deletion or deleted?</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 (11)

NameValueLevelField
AbapCatalog.sqlViewName IFUNCNLLOCSTATUS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
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
ClientHandling.algorithm #SESSION_VARIABLE 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.
-- SQL view name: IFUNCNLLOCSTATUS

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
;