‎2011 Aug 25 2:28 PM
Hi
I have a problem with MB_DOCUMENT_BADI
After upgrade from ECC 6.0 ehp 0 to ECC 6.0 ehp 4 the method MB_DOCUMENT_BEFORE_UPDATE is not trigged.
The Badi is unchanged and active, but it is not any more called when we make material documents of any kind.
I have found other threads with same problem, but no solution.
Best regards
Thomas
‎2011 Aug 25 8:20 PM
Hello,
Please try to re-activate the BADI implementation...I had similar problem it solved in that way.
It can be due to the fact that all classic BADI call moved through new BADI concept....so there is a chance it was not generated properly...
Thanks.
‎2011 Aug 25 3:16 PM
Hi
How are you checking the trigger mecchanism .
Is it using break point in the method? do you have the update debugging on as this methode runs in update task //
I think the documenation of BADI is self explanatory despite of having the update debugging on if you do not get it please let us know ...
Thanks,
Anjaneya .
‎2011 Aug 25 8:20 PM
Hi Anjaneya
Are you sure about this update task?
As I wrote i am using the MB_DOCUMENT_BEFORE_UPDATE method, that should be called outside the update task, and therefore should be possible to debug simply by setting a break.point and creating a material document.
On the other hand - the other method in the BAdI MB_DOCUMENT_UPDATE is called in update task, and is as you describe more complicated to debug.
or...?
Best regards
‎2011 Aug 26 5:20 AM
Hi .
Sorry for sloppy observation ....
misread the documentation or was the documantation the complicated enough to confuse me/just me ...
Thanks,
Anjaneya .
‎2011 Aug 25 3:52 PM
Hi
Try to check what happens when that method is called (Include MM07MFB9_BUCHEN_AUSFUEHREN, from buchen_ausfuehren)
Max
‎2011 Aug 25 8:20 PM
Hello,
Please try to re-activate the BADI implementation...I had similar problem it solved in that way.
It can be due to the fact that all classic BADI call moved through new BADI concept....so there is a chance it was not generated properly...
Thanks.
‎2011 Aug 25 8:31 PM
Ahhh - was it that simple! - and why didn't I think of that?
Thanks for all replies - the winner was Krishnendu Laha with the correct solution.
Re-activate the BAdI.