Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Material master updation IDOC mapping

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

Hi,

Check the enhancement "MGV00001', components : EXIT_SAPLMV01_002 / EXIT_SAPLMV02_002.

Regards

Vinod

0 Kudos

Hi Vinod,

I have tried putting break points in these two exits but they are not getting hit while IDOC is posted.

Thanks,

Saumia

0 Kudos

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