2007 Oct 11 2:29 PM
Hi Gurus,
When i press Enter on Keyboard the sy-ucomm returns me a blank value.....
I need some other value other than blank....
How can i obtain it.........
I mean any other value in SY-UCOMM other then Blank......
Please Help!!
Regards,
Roshan Lilaram Wadhwani.
2007 Oct 11 2:33 PM
You will have to set the Function Code in PF-Status to capture the sy-ucomm for Enter.
2007 Oct 11 2:33 PM
You will have to set the Function Code in PF-Status to capture the sy-ucomm for Enter.
2007 Oct 11 2:52 PM
2007 Oct 11 2:33 PM
sy-ucomm in module pool program will usually be blank.
use okcode....for ur needs....
CHECK THIS LINK
http://www.sap-img.com/abap/sy-ucomm-and-ok-code-in-dialog-program.htm
2007 Oct 11 2:41 PM
Hi Roshan,
The sy-ucomm always have a blank value.
Do ur desired coding on checking the sy-ucomm as blank.
Not a problem.
Thank you.
2007 Oct 11 2:51 PM
yeah its usually blank but cant i change it somewhere........
because when i am using scroll on my table control .......again the sy-ucomm is balnk and thus my select query are again getting fired..........
cant i change the sy-ucomm for Enter Key somewhere.........
REgards,
Roshan Lilaram Wadhwani.
2007 Oct 12 5:44 AM
the very fist icon .......that green tick mark..........is used for enter key.....
2007 Oct 12 5:50 AM
Hi Roshan..
To avoid this problem there is no need to set any Function code for the ENTER key.
In the PBO Module set the OK_Code to Blank.
MODULE XXX OUTPUT.
CLEAR OK_CODE.
ENDMODULE.
Then in the PAI Module Check the condition for BLANK ok Code.
CASE OK_CODE.
WHEN SPACE. "Processing of Enter key
WHEN 'ABC'
SELECT QUERIES....
ENDCASE.
Reward if Helpful.
2016 Aug 04 5:15 PM
Hi Roshan,
You can have some key in your standard toolbar like I have declared 'ENTER'; when you press enter in your selection screen you will get the OK_CODE value as 'ENTER' in your PAI section.
Rewards if helpful
Thanks
Mujeeb
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |