I want to delete a toolbar button that consists of an icon only, no text label or tooltip. How can I name the button?

You can use the icon id directly, e.g.

del P[@9S@]

To find out the correct icon id, you can either use the SAP menu painter or GuiXT Script Editor Pro.