Exit when Error Comes in Dialog Programme

hii,
i have on module programme, working fine but there is one little problem there is table control and validation on one of the column, if the users enters wrong entry it shows error message but if the user enter wrong entry three times and then the fourth time if he enters correct entry and press enter, the whole programme comes out, i have debugged the code also, but not able to find any thing. is there any settings that have been enabled or disabled, but same thing i try in another modules there is nothing like that that works fine, but only in this programme it behaves like this....
pl. guide me
abhishek suppal

So then in your GUI status you have to activate the user command "ENTR" on functions keys( the green tick ) .
This will ensure that when user presses ENTR the sy-ucomm is filled . Also see if you have set the next screen as same screen in the screen painter . You may also check if there is a LEAVE PROGRAM command in your program and where it is located . Normally this command is used to come out of a transaction. Accidently this command might be triggered in your program flow causing this behaviour
Cheers

Similar Messages

Maybe you are looking for