Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Display error message in screen

Former Member
0 Likes
723

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.

4 REPLIES 4
Read only

Former Member
0 Likes
597

Hi kathirvel,

I think better to mention message type as I.

Regards,

Kumar.

Read only

Former Member
0 Likes
597

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.

Read only

Former Member
0 Likes
597

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

Read only

0 Likes
597

i am not sure but try in this way you submit proram name and return so it will take to that screen