Deactivate Menu Functions
Procedure
You can deactivate individual menu functions from the maintenance screen of a single dialog box included in a view cluster. This is achieved by calling function module VIEWCLUSTER_SET_EXCL_CUA_FUNCT in an event FORM routine. For example, at view cluster maintenance event 01.
-
Enter the function codes of the functions you want to deactivate in an internal table of the structure VIMEXCLFUN.
-
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 'VIEWCLUSTER_SET_EXCL_CUA_FUNCT' EXPORTING OBJECT = <objekt-name> TABLES EXCL_CUA_FUNCT = <int.Tabelle> EXCEPTIONS OBJECT_NOT_FOUND = 1 VIEWCLUSTER_NOT_ACTIVE = 2 OTHERS = 3.