Hi Herzel
That is possible for "application toolbar". Hope you do not mean the standard toolbar.
To exclude a single function from the application toolbar you can use:
SET PF-STATUS 'STAT_0100' EXCLUDING 'ABCD' .
To exclude multiple user commands, collect them in an internal table and use EXCLUDING addition giving the name of the internal name.
<u><b>e.g.</b></u>
DATA: BEGIN OF lt_exclude OCCURS 0, fcode LIKE sy-ucomm , END OF lt_exclude . lt_exclude-fcode = 'ABCD' . APPEND lt_exclude . lt_exclude-fcode = 'EFGH' . APPEND lt_exclude . SET PF-STATUS 'STAT_0100' EXCLUDING lt_exclude .
*--Serdar
Add a comment