on 2015 Oct 23 10:09 AM
Friends,
I am creating a Shopping cart on standards SRM 7.3 and sending for approval. Once the approver approves it, the confirmation message comes at the bottom after the many warning messages.I am forced to scroll to see the confirmation message. Anyway we can bring it at the top so that I do not have to scroll the bar? I debugged the program and couldn't find where exactly the messages are coming. Any help is appreciated.
Please see the last message and right side scroll bar the attached image
WR,
Brijesh
Hello Brijesh,
check if an enhancement in GET_ALL_MESSAGES method from /SAPSRM/CL_CH_WD_MAP_MSG_HDLR class could be a solution.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hello Laurent,
Thanks again. But please note that I am able to bring the messages in expected order in the internal table. However when it is displayed in the portal it is again back to the old order. Means, the order is getting changed somewhere else after this method gets executed.
WR,
Brijesh
Hello Laurent,
Please also note, from the internal table success message is passing first to the method 'Report_t100_message'( line 89 in the method /SAPSRM/IF _CH_WD_MAP_MSG_HDLR ~MAP_MESSAGES), then the warning messages are passing to the method 'Report_message'(line 177 of above method) through the loop. But still success message is displayed last in the portal.
WR,
Brijesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.