‎2007 Mar 16 1:32 AM
Hi Friends,
I am working on user exit. I have created a screen for the user to confirm the selection. Based on the user's choice, if yes i have to proceed so i've set screen 0. leave screen. But when they select no i've display an error message and take the control to previous screen(ie., the current screen where i validate )..i'm facing a problem here. I have displayed the error msg. It comes as pop-up. From there how to take the control to previous screen. All other screens are from main program. Only the screen i created is available here.
Appreciate your help.
Thanks in advance.
‎2007 Mar 19 7:29 AM
Hi kathirvel,
I think better to mention message type as I.
Regards,
Kumar.
‎2007 Mar 19 7:33 AM
Hi,
<b>IF</b> <condition>
<b>MESSAGE......................</b>
<b>LEAVE TO SCREEN</b> number(to which screen u want to leave).
<b>
ENDIF></b>
Kishore.
‎2007 Mar 19 10:30 AM
Hi Friends,
I am working on user-exit in which I have added new screen to get the confirmation from user. So upon user clicks the option 'NO', I should display an error message and allow them to edit the fields in main program screen. I am not getting how to set control to prev screen (which is only in my main program and not in user exit). So if i give the screen number of main program, it will surely give dump.
Tcode is MB11. In between second and third screen processing my user exit is called. Appreciate your help.
Thanks,
Nidhya
‎2007 Mar 20 8:05 AM
i am not sure but try in this way you submit proram name and return so it will take to that screen