‎2007 Jul 06 9:43 PM
Hi All,
I want to deactivatesome options in menu bar, how can I do that?
regards
Saurabh
‎2007 Jul 06 9:52 PM
Hi,
Use
set pf-status sy-dynnr excluding i_fctab "<fill i_fctab with fcodes you don't want enable
aRs
‎2007 Jul 06 10:13 PM
Hi,
1. Declare an internal table of type sy-ucomm. i.e.
<b>DATA : it_fcode TYPE TABLE OF sy-ucomm.</b>
2. Append Function Codes of the options in the Menu that you want to deactivate to the above declared internal table. For e.g. If DEL & INS are the Function Codes of options that need to be deactivated then,
<b>APPEND 'DEL' TO it_fcode.
APPEND 'INS' TO it_fcode.</b>
3. Set PF_-Status as shown below.
<b>SET PF-STATUS 'status_name' EXCLUDING it_fcode.</b>
4. Now, the options in the menu bar with Function Codes 'DEL' & 'INS' will be deactivated.
Reward points if the answer is helpful.
Regards,
Mukul
‎2011 Jul 19 9:57 AM