‎2007 May 09 2:51 PM
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.
‎2007 May 09 3:05 PM
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
‎2007 May 09 2:54 PM
‎2007 May 09 2:56 PM
Hi,
For double Click you have to register the F2 with some function code 'PICK' in Function keys of the Gui Status.
regadrs,
santosh.
‎2007 May 09 3:05 PM
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
‎2007 May 09 3:05 PM
Hi Viji,
Fcode for double click is <b>&IC1</b>
Reward points if helpful.
Regards,
Hemant