2009 Jul 17 9:11 AM
Hi All,
Is it possibe to hide the menu toolbar?? Menu tool bar options like program, Edit.. I want to know how to hide the options at runtime...
Please let me know...
Thanks & regards,
Santhosh
Hi All,
Is it possibe to hide the menu toolbar?? Menu tool bar options like program, Edit.. I want to know how to hide the options at runtime...
Please let me know...
Thanks & regards,
Santhosh
2009 Jul 17 9:24 AM
2009 Jul 17 9:27 AM
hi,
in your custom program you can hide menu dynamically by coding.
In your PBO module write this code
DATA:
IT_TOOL TYPE TABLE OF ST_TOOL,
WA_TOOL LIKE LINE OF IT_TOOL.
if sy-tcode eq 'ZDISPLAY'.
APPEND 'SAVE' TO IT_TOOL.
ENDIF.
SET PF-STATUS 'S9000' EXCLUDING IT_TOOL.
Regards
Sajid
Edited by: shaik sajid on Jul 17, 2009 10:27 AM
2009 Jul 17 10:01 AM
Hi ,
I do not think that it is possible to hide menu bar entirely .
But from the list you can remove Program, Edit, Goto from the Menu bar. But You can not remove
the SYSTEM and HELP from the Menu bar .
Create a status with the specified name with out the adding in the menu barand write code in your program -
set pf-status 'STAT' immediately.
WRITE : 'TEST'.This will remove Program, Edit, Goto from the list.
If you want to remove some subobjects of menu bar you can go for Transaction
variant (Transaction SHD0) but it will not work dynamically means it will be prefixed.
Regards
Pinaki
2009 Jul 17 10:05 AM
Hi,
You cannot disable the menu tool bar completely as the options SYSTEM and STATUS are mandatory and are default for all the screens.
2009 Jul 17 10:14 AM
Hi,
Try this way.
<li> You can not hide SYSTEM and HELP menus. Those will be there everywhere.
Thanks
Venkat.OREPORT ztest_notepad.
DATA: it_fcodes TYPE TABLE OF sy-ucomm,
wa_fcodes LIKE LINE OF it_fcodes.
wa_fcodes = 'SAVE'.
APPEND wa_fcodes TO it_fcodes.
CLEAR wa_fcodes.
wa_fcodes = 'EXIT'.
APPEND wa_fcodes TO it_fcodes.
CLEAR wa_fcodes.
wa_fcodes = 'BACK'.
APPEND wa_fcodes TO it_fcodes.
CLEAR wa_fcodes.
SET PF-STATUS 'STATUS1' EXCLUDING it_fcodes.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |