on 03-25-2013 1:25 PM
Hi,
I'm working on a Web Dynpro ABAP and I have a method that performs various steps.
This method performs various checks on all the elements of a table.
If some of these checks fails, I'd like to show the user one message per fail (via message manager).
What is the smartest way to generate, hold and show the messages to the user? An internal BAPIRET table?
If you could provide me with some examples, I'll be glad.
Thanks.
Pietro.
Hi Pietro,
Yes, you can display multiple messages to the user but I am not sure if thats the best approach.
I would suggest you to display a error message and stop further processing and checking for errors until the error is corrected. This way you can link the error to the particular field and the user can understand the error better.
Just a suggestion.
-Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have multiple error messages, then loop on internal table and issue each message one by one by changing the text of error message.
The last message will appear on the top. if you want to sequence, you will have to manage. Use any method of message manager to show the error message.
Hope this helps.
useful links
http://scn.sap.com/thread/3150319
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.