Skip to Content
0
Apr 27, 2010 at 03:58 AM

How to handle error msgs in one system which are available only in another?

15 Views

Hi Experts,

I have two SAP systems A and B. An ABAP program in system A calls Function module in System B.

System B returns any error with message id, class and variables in the event of any invalid data.

How to handle this returned error message in system A when the message class exists only in system B.

One way is to create a copy of this message class along with all the messages in system A.

But the function module in system B calls many BAPIs which in turn may return messages from many different message classes. So making a copy of so many message classes in System A means creating so many custom objects.

Is there any better way to handle this without creating the message classes in System A?

Thanks & Regards

Gopal

Edited by: gopalkrishna baliga on Apr 27, 2010 6:28 AM