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

Dialog programming

Former Member
0 Likes
603

Hi All,

What is the function code for "Enter" and "Double Click". For Example,

For push buttons,

I have 3 push buttons like p1, p2, p3. So I write the code for getting User command like this,

module USER_COMMAND_9001 input.

CASE SY-UCOMM.

WHEN 'P1'.

-


WHEN 'P2'.

-


end case.

Like wise if user press the Enter or Double click means How Can I get the User Commands?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

Hi,

U can assign function codes to the enter key in SE41 : Menu Painter and then look for that function code in Sy-ucomm like u looked for p1 p2 ..

Rgds,

Mrunal

4 REPLIES 4
Read only

Former Member
0 Likes
511

its 'pick'

Read only

0 Likes
511

Hi,

For double Click you have to register the F2 with some function code 'PICK' in Function keys of the Gui Status.

regadrs,

santosh.

Read only

Former Member
0 Likes
512

Hi,

U can assign function codes to the enter key in SE41 : Menu Painter and then look for that function code in Sy-ucomm like u looked for p1 p2 ..

Rgds,

Mrunal

Read only

Former Member
0 Likes
511

Hi Viji,

Fcode for double click is <b>&IC1</b>

Reward points if helpful.

Regards,

Hemant