2009 Sep 08 3:34 PM
Hi Friends,
I have to implement one badi ME_REQ_POSTED for purchase requistion, in this badi I have to read first line item and do
some check...if that check is true i need to update subsequent line item (line 20, 30, 40 or so) with purchase group and MRP controller.
In this BADI i have method POSTED, in this method parameter IM_EBAN is a table which i need to modify with my different
values for purchase group and MRP controller.
Kindly let me know how to update this table, so the changes can be reflected in purchase requistion.
Since when I tried to directly modify the table in a loop, system throw one error stating IM_EBAN can not be modified.
kindly help.
pradeep
2009 Sep 08 4:01 PM
Hi,
You cannot make use of the method to change the EBAN data because it is in the importing parameter of the method.
Use the ehancement EXIT_SAPLME59_001 instead.
Regards,
Ankur Parab
2009 Sep 08 4:14 PM
hi
I have implemented this exit but it does not stop at it while saving Purchase requistion. But my previous BADI stops at it when saving.
Kindly guide.
2009 Sep 08 4:30 PM
Hi,
Have you activated the exit project. Check whether it is called in some if condition in the code.
KR Jaideep,