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

Screen painter using response to double click

Former Member
0 Likes
3,338

Hi

I've a screen and a want use double click control in a screen field. At attributes 've already put check box at " Responds to double click" but where i define the action ?

Can somebody help me...

Thanks.

Hi

I've a screen and a want use double click control in a screen field. At attributes 've already put check box at " Responds to double click" but where i define the action ?

Can somebody help me...

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
1,776

Hi

U need to assign a function code for the double click into your status gui: the doubleclick has to be assigned to function code linked to F2 (keyboard key).

Then u need to manage the doubleclik in your user-command.

MODULE USER_COMMAND.
   
    CASE OK_CODE.
       WHEN <DOUBLE CLICK>.
            ..................................................

Max

Read only

Former Member
0 Likes
1,776

In PF-STATUS-->SET THE FCODE FOR CLICK.

Module user_command.

case sy-ucomm.

When 'PICK'.

Endcase.

PICK = OK_CODE FOR DOUBLE CLICK

Regards,

Gurpreet

Read only

0 Likes
1,776

Just an additional info: double click = F2, check in menu painter if your status contains 'PICK' command assigned to F2. You can define your own command with different name, but you have to know where you will find this name.

Regards,

Pavel