‎2008 Mar 28 10:31 AM
Hi I created a button in the application toolbar. I'll quote part of the code.
TABLES : sscrfields.
TYPE-POOLS icon.
SELECTION-SCREEN: FUNCTION KEY 1.
INITIALIZATION.
MOVE ICON_PROTOCOL TO sscrfields-functxt_01.
CASE sscrfields-ucomm.
WHEN'FC01'.
endcase.
Everything is working just fine but and the button with the proper icon is getting displayed but there is a problem i.e.
when I take my cursor over the button it says " @DH@(CTRLF1)". But want it to show what I enter like 'LIST(AltF3)' maybe. How shall i do it. Please help.
‎2008 Mar 28 12:28 PM
I found the answer myself...
So I will just give the solution.
data: gs_icon type SMP_DYNTXT.
gs_icon-TEXT = 'AB'.
gs_icon-ICON_ID = 'CD'.
gs_icon-ICON_TEXT = ICON_PROTOCOL.
gs_icon-QUICKINFO = ' User List'.
sscrfields-functxt_01 = gs_icon.
‎2008 Mar 28 12:29 PM
‎2008 Mar 28 12:31 PM
Hi,
You need to define a Info. Text in the buton properties ( accessed from the GUI status of the screen. You will find it in the pop-up "Function Attributes" after clicking the button in the "Items").