‎2011 Jan 03 12:17 PM
Hi,
I am calling a screen in my main program.
When I press enter it should carry some functionality, but it is not happening.
I wrote the code assuming sy-ucomm when it is space, but it is not working. I even tried assigning a function code in the PF status for the enter(tick button) in Standard toolbar which wasnt working too.
But when I click the debugger on and see then the enter functionality is working. But when running in foreground without the debugger it is not working.
It is something like when I swithc on the dubugger the functinality works and in the foreground it is not working.
Please suggest.
Regards,
Deepti
‎2011 Jan 03 12:28 PM
‎2011 Jan 03 12:30 PM
Hi,
I have used a field called gv_ok_code for ok_code in elemnt attributes
I have even tried with sy-ucomm. Both werent working.
Regards,
Deepti
‎2011 Jan 03 12:52 PM
Hi Deepti,
Write your required code in OTHERS branch of CASE OK_CODE statement In your PAI.
What is that functionality exactly you are looking for when you click on Enter ?
‎2011 Jan 04 6:14 AM
Hi,
I found the solution. I was using container of full screen size because of which it is not taking the enter. I decreased the container size and it is working fine.
Thank you for your replies.