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: 

MATMAS05 IDOC adding Quality Management view to Material when posted

Former Member
0 Kudos

Matmas05 IDoc when posted is appending Quality Management(QM) view to material.

Initially Material doesnt have a QM view . However whil e postion matmas05 , MAra-VPSTA & PSTAT fields are getting updated with the letter Q(which is QM). I'm not passing any fields relevant to quality management. I donot want any views to be added.

Thanks

Sunil R

4 REPLIES 4

Former Member
0 Kudos

It is strange!

You can use BADI_MATMAS_ALE_IN to just look into the incoming idoc data. Create an implementation for this BADI and put a break point in it and look in the table IDOC_DATA.

0 Kudos

I can see the IDOC data passing in through WE02 and can control which data I can pass in to MATMAS05 IDOC. However need to know why the idoc is appending a view to the material. I tried to Debug the IDOC_Input_MAtmas01 Function module which is used to process this incoming IDOC to SAP, coudnt get too far on that.

Where can i see the actual updating of tables like mara &marc in the above Function module at debug time?

Thnaks

SUnil R

0 Kudos

In the FM IDOC_INPUT_MATMAS01 look at line 372. There is a loop statement - LOOP AT T_EDIDD... this could be your point of interest.

0 Kudos

Had a look into that too, coudnt determine why the view or the relevant is getting added .

Please do give more insight into this.

Thanks

SUnilR