cancel
Showing results for 
Search instead for 
Did you mean: 

badi MD_CHANGE_MRP_DATA MDBT

Former Member
0 Kudos

Hi SAP Coallegues,

I have implemented BADI MD_CHANGE_MRP_DATA and when running transactions MD01, MD02, MD04 the BADI is activated but not activated when running transaction MDBT. According to the post bellow:

https://archive.sap.com/discussions/thread/3384941

Caetano Almeida says that this BADI should be activated when running the MDBT transaction.

Any help would be appreciated.

I tried also to put an infinite loop. It stops on the loop when running transaction MD02 but not transaction MDBT.

Thanks and Regards

Andre

Accepted Solutions (0)

Answers (1)

Answers (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Andre

The BAdI is called when a material is planned in transaction MDBT. The problem may be the fact that your materials is not being planned in MDBT, because the planning file is not set.

In addition, if you are trying to make a check for the transaction code (SY-TCODE), it will not work in MDBT, because it submits a program to be executed in background.

Regards,

Caetano