on 09-11-2008 9:04 AM
Hi,
I have made a module pool program which has 2 screens 0001 and 0002.
I have made a menu 'MENU1' which has a menu bar and has option 'Operations' without any function code, which has futher submenus that have funcction codes.
I want this menu bar only on screen 0001 and not on screen 0002.
Is there any other option to make 'Operations' invisible in screen 0002 other than creating a new menu for screen 0002 or excluding the internal table which has the submenus function codes .
Regards,
Darpana.
SCREEN 0002
PBO:
DATA IT_UCOMM TYPE TABLE OF SY-UCOMM.
APPEND 'Operations' TO IT_UCOMM.
SET PF-STATUS 'MENU1' EXCLUDING IT_UCOMM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IF am right like these setting:
set41->status->change->goto(MENU)->ATTRIBUTER->PUSHBUTTON ASSIGNMENT....
then you can see a DIALOG, clike 'display all'.
code:
append: 'CRE' TO IT_UCOMM,
'DIS' TO IT_UCOMM,
'UPD' TO IT_UCOMM.
SET PF-STATUS 'MENU1' EXCLUDING IT_UCOMM.
THESE THREE SUBMENU ARE DISABLE.
Ya you are right now.
Now the question is if there is any other way to not get this Menu bar in screen 0002.
Obviously there are 2 ways to do this
- Make a new menu for 0002 which does not have the menubar &
-To make an internal table which includes CRE, DIS and UPD
and then exclude this internal table while setting pf-status.
In this condition the 'Operations' still exists on the menubar, it only disables the submenus.
I totally want to remove this menubar 'Operations' in screen0002.
hi Darpana
if you have good idea plz share, thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to
GUI STATUS->'MENU1'->APPLICATION TOOLBAR
DO YOU SEE ANY BUTTON IN THERE?option Operations IN THERE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am not understand that you said "option 'Operations' without any function code"? MENU1 is empty? it has no button? what is option 'Operations?'
Edited by: jeffpan jeffpan on Sep 11, 2008 10:50 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In menu painter SE41 there is
Menu bar
Application Toolbar
Function keys
in Menubar option i have 'Operations' which has submenus.
Operations has no code because it has submenus
i.e CRE for Change
DIS for Display
UPD for Update.
if it had to have a code say OPR then the submenus will not be displayed.
I want to entierly disable 'Operations' without creating new menu for screen 0002 or excluding CRE, DIS, UDP together.
User | Count |
---|---|
84 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.