05-24-2010 11:02 AM
Hi Experts,
I am getting IDOC MATMAS05 from an external system.I want to put a check on the field status(MARC-MMSTA) and update the MRP 1 data .For eg if status is 40 (inactive),I have to update MRP type to X0.How can I process further?
I am using the function module IDOC_INPUT_MATMAS01 .
Thanks,
Saumia
05-24-2010 11:10 AM
Hi,
Check the enhancement "MGV00001', components : EXIT_SAPLMV01_002 / EXIT_SAPLMV02_002.
Regards
Vinod
05-24-2010 11:22 AM
Hi Vinod,
I have tried putting break points in these two exits but they are not getting hit while IDOC is posted.
Thanks,
Saumia
05-24-2010 11:35 AM
Hi,
Try the BADI "BADI_MATMAS_ALE_IN", method "CHANGE_UEB_TAB".
The enhancements mentioned in my earlier post will be trigger based on the existance of certain Data segments in the idoc. Eg. E1MARAM (Master article general data (MARA)), E1MARA1 (Additional Fields for E1MARAM). You can find the Segments for which the Enhancement is activated by going through the function module code.
Regards
Vinod