Skip to Content
0
Former Member
Jul 28, 2006 at 05:54 AM

BADI MB_DOCUMENT_BADI

2219 Views

Hi All,

I have created one implementation to the BADI MB_DOCUMENT_BADI. This badi will hit while creation of material document.I have write the code in method MB_DOCUMENT_BEFORE_UPDATE such that it will act only for certain movement types specially for t-codeMb1a and MB31.

What problem I am facing i have used a error message "MB_DOCUMENT_BEFORE_UPDATE" in this method.If we got the erroe message then we dont need to post the material dcoument,but here problem is that if the material document could not posted then it corrupt the material and when we performing 261/101 we got error message like " Inconsistency between MM and ML for material and plant"

Can anybody elebrate the problem why its happining and what will be the solution to the issue.

Thanks ,

sandeep.