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

Error Message in BADI WORKORDER_UPDATE

Former Member
0 Likes
1,896

Hi Experts,

I am trying to raise error message in the implementation of BADI WORKORDER_UPDATE. The moment error message triggered it is giving the shortdump saying that commit work should not be interrupted.

Can anybody please let me know how to resolve this issue.

Thanks,

Suneel

2 REPLIES 2
Read only

Former Member
0 Likes
934

Hi,

Hope this previous posting is helpful

Thanks,

Aby

Read only

Former Member
0 Likes
934

I found the wayout for this problem.

Instead of using the method before_update use the method at_save.

In this method we can raise error messages using raising error_with_message'.

Please let me know if there is any other alternative for this.