cancel
Showing results for 
Search instead for 
Did you mean: 

Field MSGFN In IDOC

Former Member
0 Kudos

Hi ,

To upload initail master records in MDM we are using MDM_CLNT_EXTR.It is creating IDOC . Each segment of the idoc has a filed MSGFN. I want to know what is this & what is the use of it

Thanks in Advance.

Anand K

Accepted Solutions (1)

Accepted Solutions (1)

michael_theis
Active Contributor

Hi Anand,

MSGFN is the "Message Function". It's a code that defines the action to be performed with (or by) the IDoc itself. Supported codes are:


003	Delete: Message contains objects to be deleted
004	Change: Message contains changes
005	Replace: This message replaces previous messages
009	Original: First message for process
023	Wait/Adjust: Data should not be imported
018	Resend

Kind regards

Michael

0 Kudos

Hi Michael,

We are facing one issue,  for the outbound DEBMAS idoc the MSGFN is always coming as 005 in all the segments even with a create / change customer actions.

Do you know how we can obtain the relevant message functions for the different actions ? 

Thanks & Regards,

Murali

Answers (1)

Answers (1)

Former Member
0 Kudos

MSGFN is a field that gets filled by the system based on the method by which you are posting the record. For example, if you are creating a new customer then R/3 will populate that field with 009. If you were to change that document, R/3 would then tag the segment with 004.

Basically, you can think of this field as a way to keep track as to the status of the record in R/3. This can be very valuable information to MDM.