Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Button in application toolbar

Former Member
0 Likes
452

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.

3 REPLIES 3
Read only

Former Member
0 Likes
410

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.

Read only

Former Member
0 Likes
410

I answered it myself.

Read only

sharat_chandra
Product and Topic Expert
Product and Topic Expert
0 Likes
410

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").