I have 3 screens in which after editing the fied calling the second screen and on the next screen calling the third screen...when 'BACK' button on third field . should leave the program...I already given LEAVE PROGRAM.But not working...
SET SCREEN 0.
LEAVE TO SCREEN.
in the BACK sy-ucomm.
Or in the Second screen while u r calling the third screen use LEAVE TO SCREEN command .. this command erases the Previous screen.. and onli the current screen will be available.. now in the third screen u can write LEAVE PROGRAM . to exit from the program..
reward if it helps u..