GUIXT + standard toolbar

Third Party products such as GuiXT, BMC Patrol, Vertex, Ixos etc...

Moderators: Snowy, thx4allthefish

Post Reply
tglabicki
Posts: 1
Joined: Mon Feb 07, 2011 8:01 am

GUIXT + standard toolbar

Post by tglabicki » Mon Feb 07, 2011 8:07 am

Hi

Does anybody know how modify standard sap toolbar via GuiXT?
I need to hide/disable such buttons as "page up", "page down" in transaction MB1C.

Thanks in advance :)

quelquepart
Posts: 18
Joined: Wed Feb 22, 2012 6:02 am
Location: France
Contact:

Re: GUIXT + standard toolbar

Post by quelquepart » Sat Jun 09, 2012 6:48 am

Hello,

You cannot "hide" standard button like save, back, ...
You can only disable it, but only if there are associated to a shortcut.

Examples :

disable save button (shortcut F11) :
del M[/11] //=> icon will become gray, you cannot click on it, and nothing append if you push F11 key.

disable back button (shortcut F3) :
del M[/3]

disable Exit button (shortcut SHIFT + F3):
del M[/15]

But you cannot do it if there is no shortcut associated, or shortcut with a letter, like CTRL + F for the search button.

You can only intercept the click on the button with the command ON

Examble to disable search button on the sap welcome screen :

// disable search button
on "=XXSEAR" fcode="/0" //=> icon stay clickable, but when user click, nothing append.

you can inform user that this button is disabled :
on "=XXSEAR" fcode="/0" process="not_allowed.txt"

and in an input script file named "not_allowed.txt"

return "E: Sorry, this function is disabled" -statusline
http://quelquepart.biz

Post Reply