I'd like to be able to define/upload an icon that I can use for a new push button on a toolbar for the FB03 screen.
1) How can I upload the button icon?
From here?
ABAP User Dialogs ->Screens ->Complex Screen Elements ->GUI controls on screen
Or somewhere totally differently?
2) What file format does a button icon need to be in and what is the suggested pixel size?
This is how I'm thinking of creating the button:
lv_icon = '@11@'.
adding button to toolbar
call method gref_toolbar->add_button
exporting
fcode = lv_fcode
icon = lv_icon
is_disabled = lv_is_disabled
butn_type = cntb_btype_button
quickinfo = lv_quickinfo
exceptions
cntl_error = 1
cntb_btype_error = 2
cntb_error_fcode = 3
others = 4