Hi Everyone,
I am having a screen with a mandatory field. I have placed 2 buttons 'exit' and 'next'.
I have used the following code for 'exit'.
MODULE exit AT EXIT-COMMAND
CASE sy-ucomm.
WHEN 'exit button'.
LEAVE PROGRAM.
and the following code for 'next' in PAI module.
CASE sy-ucomm.
WHEN 'next button'.
CALL SCREEN <screen no.>.
When I am clicking on the 'exit' button it's coming out of the program. But when clicking on 'next' button it's giving an error message "make an entry in all the required fields".
So please help me in going to the next screen.
Thanks,
Sridhar.