Hi Laurent,
Thanks a lot for the info. I enhanced the method GET_ALL_MESSAGES. The internal table rt_messages is holding the messages. There is a field msgty_sorter in the internal table which has values error = 1, warning = 2, info = 3 and success = 4 . These values are declared in the attribute tab. So I tried to sort the internal table based on the field msgty_sorter decending order. Now I am getting the success message on top in the internal table. But its not reflecting in the portal screen. Please help. Pls check the attachment.