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

MB _ DOCUMENT _ BADI Message Error

Former Member
0 Likes
1,217

Hi,

Can I trigger an error message in MB_DOCUMENT BADI method MBDOCUMENT_BEFORE_UPDATE?

When I write message <b>e000(XXX) with 'YYY'</b>, i get a dump.

Should i add the message in a Log?

Thank you,

Joseph

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
631

I seem to remember that all errors are being appended to a specific table that is then reevaluated before update and the update is rejected in case of an entry...

Enjoy

2 REPLIES 2
Read only

Former Member
0 Likes
632

I seem to remember that all errors are being appended to a specific table that is then reevaluated before update and the update is rejected in case of an entry...

Enjoy

Read only

0 Likes
631

...and what is the name of the table?

Ok, ok i will debug.

thank for the help.

joseph

ps: maybe this not possible to populate an error message. FI-document number has already been created at this step and if an error message occurs and we decide to exit the transaction there will be a gap in the FI-document numbers....

So Maybe there is an user-exit/Badi before.

If i find I let you know.

Message was edited by: joseph fryda