Deleting a menu item with its toolbar button: When we delete a menu item in a GuiXT script the corresponding toolbar button is usually deleted as well. We now have a case (transaction IH10) in which the menu item is deleted but the toolbar button is not. What could be the reason?

The reason is that the link between this particular menu item and the toolbar button is not correctly set by SAP. You can recognize this when you look at the right hand side of the menu item text: normally the function key is displayed there, but for this menu item there is no link to a function key and so GuiXT is not able to select the toolbar button to be deleted. You need to delete the toolbar button explicitely with a del P[...] command.