I_FeatureToggle

DDL: I_FEATURETOGGLE SQL: IFEATURETOGGLE Type: view BASIC

Feature Toggle Status Check view

I_FeatureToggle is a Basic CDS View that provides data about "Feature Toggle Status Check view" in SAP S/4HANA. It reads from 2 data sources (ftgl_custom, ftgl_id) and exposes 2 fields with key field FeatureToggle.

Data Sources (2)

SourceAliasJoin Type
ftgl_custom custom left_outer
ftgl_id main from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFEATURETOGGLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Feature Toggle Status Check view view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY FeatureToggle ftgl_id feature_id Feature Toggle
feature_idthenXelseendasStatus

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_FeatureToggle.
-- 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: IFEATURETOGGLE

CREATE VIEW I_FeatureToggle AS
SELECT
  main.feature_id AS FeatureToggle,
  case when main.release_status = 'R' then 'X' when custom.feature_id <> '' then 'X' else '' end as Status AS feature_idthenXelseendasStatus
FROM ftgl_id AS main
LEFT OUTER JOIN ftgl_custom AS custom ON /* join condition not captured in parsed metadata */
;