I am facing this problem: I have a function module with a selection screen declared in top include. Code of function is simple:
CALL SELECTION SCREEN 13. PERFORM query.
But user on selection screen can press F8 or ESC. How can I know which command has been sent?
I try to debug sy-ucomm, but it's empty both pressing F8 and ESC.
Can anyone help me please?
Please refere below code :
<Copy & paste content removed by moderator>
Moderator message : Warning! Copy & paste from other sources not allowed, this will lead to deletion of user-id
I hope this will help you.
Edited by: Vinod Kumar on Nov 7, 2011 4:53 PM
I was sure I tried to put it an include and it was not working, but probably I made a mistake and put it in function source. I put it in an include and it works: from sy-ucomm in AT-SELECTION SCREEN event I can see CRET when pressin F8.
Thank you very much