Show TOC

Component documentationCHECK_GUI_SUPPORT Locate this document in the navigation structure

 

This method allows checking if the GUI supports a specific feature. The features are organized by components. Therefore, it is necessary to specify both a component and a feature name in order to check if a specific feature is available or not.

Arguments

[IMPORTING] component TYPE STRING

Parent component for feature to check.

[IMPORTING] feature_name TYPE STRING

Name of feature to check for.

Return Value

[RETURNING] result TYPE ABAP_BOOL

Flag indicating whether the specified feature is supported or not.

Possible values:

  • ABAP_FALSE

    the feature is not supported by the GUI

  • ABAP_TRUE

    the feature is supported by the GUI

Exceptions

CNTL_ERROR

Thrown if feature table cannot be retrieved.

ERROR_NO_GUI

Currently not used.

NOT_SUPPORTED_BY_GUI

Raised if neither Windows nor Java GUI is being used.

UNKNOWN_ERROR

Currently not used.

WRONG_PARAMETER

Currently not used.