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

Message handler

Former Member
0 Likes
995

Hi Experts,

I need to collect all the error messages that are triggered inside a function module. The function is SAP standard and I cannot make any changes in it.

For example - In transaction ME22N, if we trigger some error message in a particular user exit, it is not shown instantly. Instead, it is collect in some message collector and then all the messages are shown in a popup.

I want to do the same thing. I tried to debug the transaction, but could not find out.

Please suggest the correct approach. Is there any class or function used to do this?? If possible send some sample code.

Regards,

Prabhas Kalele.

2 REPLIES 2
Read only

Former Member
0 Likes
445

Hi,

Look at the Fm <b>BAL_GLB_MSG_CURRENT_HANDLE_GET</b>

Regards

Sudheer

Read only

0 Likes
445

dear sudheer,

How to initiate the message handler?