Entering content frame

Procedure documentation Deactivate menu functions Locate the document in its SAP Library structure

You can deactivate menu functions in a view cluster object maintenance screen by calling the function module VIEWCLUSTER_SET_EXCL_CUA_FUNCT in a user exit FORM routine, e.g. at view cluster maintenance event 01.

  1. Enter the function codes of the functions you want to deactivate in an internal table of the structure VIMEXCLFUN.
  2. Pass the name of the object and the corresponding internal table that contains the functions to deactivate to the function module VIEW CLUSTER_SET_EXCL_CUA_FUNCT.

CALL FUNCTION 'VIEW CLUSTER_SET_EXCL_CUA_FUNCT'

     EXPORTING

          OBJECT = <object name>

     TABLES

          EXCL_CUA_FUNCT = <internal table>

     EXCEPTIONS

          OBJECT_NOT_FOUND = 1

          VIEW CLUSTER_NOT_ACTIVE = 2

          OTHERS = 3.

Note

Any functions you deactivated in a previous call are automatically re-activated, unless you include them again in the internal table that contains the functions to deactivate.

 

Leaving content frame