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

Tool-tip text for Selection screen buttons.

Former Member
0 Likes
1,872

Hi all,

Got another requirement and need your help.

I have a user-defined selection screen in my program. I would like to know if it is possible to have a tool-tip text ( quick info ) for the Pushbuttons on this selection screen.

Any help is appreciated.

Regards,

Anand Mandalika.

5 REPLIES 5
Read only

Former Member
0 Likes
1,117

hello,

I need a help about my career, i complete my bachlour in computer science , i am also sun certified java programmer for jdk 1.4, i want to start my carrer in SAP, plz i need a little guidence about the SAP, i want to goin this arena, any one tell me who much i earn money after this course completion, and what is job percentage in the world of the sap, i am looking forward for replay, my email is coolmind2k82@hotmail.com.

best

saud khalid

Read only

Former Member
0 Likes
1,117

I have not looked at push buttons yet, but for Function buttons you fill the appropiate fields of structure smp_dyntxt and pass that structure to the appropiate SSCRFIELDS-FUNCTXT_xx field. Do this in the INITIALIZATION or AT SELECTION-SCREEN OUTPUT events.

Read only

Former Member
0 Likes
1,117

Hi Matthew,

Thanks very much for your quick response. For the empty brain that I have , could you please explain your solution in more detail ?

Regards,

Anand Mandalika.

p.s. I do not know what is meant by "function buttons". If it's not a trouble, could you please enlighten me on that one, too?

Read only

0 Likes
1,117

Function Buttons.

For report programs you declare the selection screen appearence with select-options, parameters and selection-screen commands, function key is one of them.

So a quick example

REPORT ZYX.

TYPE-POOLS: ICON.

TABLES: SSCRFIELDS.

DATA: WA_FNTXT TYPE SMP_DYNTXT.

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.

WA_FNTXT-ICON_ID = ICON_GREEN_LIGHT.

WA_FNTXT-TEXT = 'Go Faster'.

WA_FNTXT-QUICKINFO = 'NO Speed Cameras'.

SSCRFIELDS-FUNCTXT_01 = WA_FNTXT.

AT SELECTION-SCREEN.

CASE SSCRFIELDS-UCOMM.

WHEN 'FC01'.

...

etc.

Read only

0 Likes
1,117

Ah ! Now I get you. By Function <i>Buttons</i> you meant Function <i>Keys</i>.:-)

Thank you.