Application Development and Automation 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: 
Read only

MATMAS IDOC - Create vs Update

justin_santhanam
Active Contributor
2,923

Dear Friends,

Today we are getting MATMAS IDOC from our R/3 system to PI. I would like to know is there a way we can differentiate the MATMAST IDOC Create vs update by looking into the content of the iDOC? Or even are there any tables in ECC that tells us the material was created or updated?

Thanks!

Dear Friends,

Today we are getting MATMAS IDOC from our R/3 system to PI. I would like to know is there a way we can differentiate the MATMAST IDOC Create vs update by looking into the content of the iDOC? Or even are there any tables in ECC that tells us the material was created or updated?

Thanks!

3 REPLIES 3
Read only

Former Member
1,535

Hi Raj,

Normally you can identify if the IDOC is used for Material Creation or Modifications according to the value of the first segment field

Indeed, Each material Idoc segment contains a field called MSGFN. Field field can take the following values :

--> 003: Data will be deleted in Material data

--> 004: Change several fields in Material data

--> 005: Delete previous data and replace by data segment

--> 009: Creation

--> 023: Data don't take into account. Data should not be imported

--> 018: Resend. No modification will be done.

You can have more detail by seeing domain MSGFN

I hope that it help you

Regards

Ludovic Bento

Read only

0 Likes
1,535

Thanks for info 🙂

Read only

justin_santhanam
Active Contributor
0 Likes
1,535

closed