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

Error Message in Same session!

Former Member
0 Likes
469

I am doing some validation in the view maintenance. I want to show all the errors occurred in the validation together in the same session. and after that i want to come back to the view maintenance screen again What should i do?

3 REPLIES 3
Read only

Former Member
0 Likes
429

Is there any existing class or FM that can be called to show the error message in foreground?

Read only

0 Likes
429

Hi,

If you are maintaining the values in the view for the Z table then try to populate all the messages in the internal table and at the PAI event of the table maintenance display all this messages in the pop up display using FM COPO_POPUP_TO_DISPLAY_TEXTLIST.

Read only

0 Likes
429

FM WCB_DISPLAY_ERROR_POPUP is better option to show the error, but my problem is these FM will not restrict it to save the data, because it will always be called in a new session. I would like to know if it is possible to show the error in the same session and user has to press back button to come to maintenance screen.