Application Development 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: 

Tooltip on pushbutton on alv report selection screen

Former Member
0 Kudos

Hi Experts,

I have a selection screen with two pushbuttons i want to provide tooltip on this button when user takes his cursor on it .. some part of my code

  • Selection screen:

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.

SELECTION-SCREEN: BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(20) text-t02 FOR FIELD p_info.

PARAMETERS: p_info TYPE string.

SELECTION-SCREEN: PUSHBUTTON 68(10) but1 USER-COMMAND cli1.

SELECTION-SCREEN : END OF LINE.

PARAMETERS: r_exe_im RADIOBUTTON GROUP rb1.

PARAMETERS: r_st RADIOBUTTON GROUP rb1.

SELECTION-SCREEN SKIP 1.

SELECTION-SCREEN: PUSHBUTTON /1(20) exec1 USER-COMMAND cli2.

SELECTION-SCREEN: FUNCTION KEY 1.

SELECTION-SCREEN END OF BLOCK b1.

please tell me on these selection fields how to display tool tip.

Thanks and regards,

Roshan.

1 REPLY 1

Former Member
0 Kudos

Hi,

After completing your executable program in SE38, activate it and goto SE51(Screen painter).

Here give the name of your program and screen number as 1000.

Click on Change.

Goto Element List Tab.

Here you will find all your elements from your program.

Select the required element and click on Properties.

Here you will find a Tooltip Text property. Click on the button 'Text' of this property.

You will be given 2 options 1) Text from Text element 2) Text from Variable

Enter as per requirement

Save and Activate.

Hope this will be useful

Regards

Bhupal