11-28-2007 5:01 PM
I am looking for a BADI or any enhancement when a purchase requisition is created or modified from MRP .ie. MD50 transaction. Can anyone help ?
THanks in advance.
11-28-2007 5:11 PM
Hi,
Check this BADI <b>ME_REQ_POSTED</b>
Regards,
Maha
11-28-2007 5:16 PM
Maha..doesn't work. It does not trigger during MD50.
11-28-2007 5:45 PM
To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas
11-28-2007 6:06 PM
Srinivas,
It gives a lot of BADI's. I tried most of them. Haven't found anything useful.
I did not put a break pt in the method. I did that using a break pt in a fm called
'SXV_GET_CLIF_BY_NAME'. This gives you the enhancement name.
11-28-2007 6:38 PM
Hello Shareen
Have you had a look at package <b>MD03 </b>(contains transaction MD50). It contains lots of BAdIs. Perhaps the following ones may be useful:
MD_PLDORD_CHANGE (BAdI for Changing Planned Orders)
MD_PURREQ_CHANGE (BADI for changing purchase requisitions)
However, I should mention that I have not found anything when I checked the <i>Where-Used-List</i> for these BAdIs (on ECC 5.0).
Regards
Uwe
11-28-2007 7:20 PM
I had tried that BADI MD_PURREQ_CHANGE earlier - and the method - CHANGE_BEFORE_SAVE_MRP . But it does not get triggered during creation of Purch Req using MRP.