‎2009 Apr 15 7:44 AM
Hi all,
I am using a BADI which is called while doing MIGO. I have a method which is called in update task and in this method i am using a function module to create a TO. When the TO is not created i want to handle the error message. How to handle this.
Regards,
Sowmya.
‎2009 Apr 15 9:49 AM
Hi,
Just put an error message (MESSAGE type E) as you know when the TO is not created.
The log will be stored in SM13 and all database actions will be cancelled (the material document will not be created).
Issa
‎2009 Apr 15 9:54 AM
Hi,
can i know where did u stuck up??If possible paste ur code.
Regards,
Nagaraj
‎2009 Apr 15 9:55 AM
Hi,
If the application fails to save the transaction, then it will cause the runtime error, and this will cancel any database updates, including your custom code in the BADI which called in update task. Unfortunately, you can NOT handle this kind of error inside the BADI, and you will have to rely on SM13 for the update termination reason.
Regards,
Lim...
‎2009 Apr 15 1:01 PM
Hi Ruslim,
I am getting the update termination error ir express document error but i wanted to kow if this can be bypassed and an error message displayed. Let me know if there is any way to achieve this.
Thank you.
Regards,
Sowmya.