Application Development 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: 

Badi --> MB_DOCUMENT_BADI does not triggered in CO13

Former Member
0 Kudos
464


Hello Gurus,

I have created implementation of  BADI --> "MB_DOCUMENT_BADI"  well it gets triggered in CO11 and MB1A, but while reversal from CO13 the same BADI does not gets triggers. If the BADI is activated the reversal (101 and 262) is not done, if the BADI is deactivated then CO13 runs good. Any idea ???

5 REPLIES 5

0 Kudos
298

Hi Anagh,


Did u get any solution for this ?

I am also facing the same issue.

Regards,

Priya

0 Kudos
298

Hello  Priya,

the issue is solved , the badi gets called in background in CO13, so if and only if the same badi is committed successfully then in that state only it triggers in CO13 background.

Regards

Anagh

0 Kudos
298

Hi Anagh,

Thank you for your prompt response.

I had kept break point in BADI but not stopping.

So u mean if I write anything in BADI it will work but there will be no stop to watch the code..

I am also looking a place to update Accounting Document created at the background.

Bot Material Doc or Accounting Doc is not stopping me on my break points.

Thanks & Regards,

Priya

0 Kudos
298

Exactly it will not trigger in CO13. Its called in background in Co13 and only if commit is successful then reversal can be done, else the reversal fails

0 Kudos
298

Commit is successful but why BADI is not triggered ..

Is there any other place or BADI or User exit , where I can make changes to Account doc posted ? and Get the New Material No. Created ?