cancel
Showing results for 
Search instead for 
Did you mean: 

how to find out the Program OR FM for IDOCS generation

Former Member
0 Kudos

Hi All,

When I look Tcode WE02 with basic type WMTOID02 and Message Type: WMTORD. I have so many idocs generated, please let me know, how to find out from which Program OR FM those idocs are generating / creating...

Ashok Y

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ashok,

Use transaction WEDI.

For outbound Idoc's follow Outbound Processing Settings/MC->Outbound process code. Double-click on your entry to find the FM.

For inbound Idoc's go to Inbound Processing Settings->Message/Application object. Double-click on you entry to find the FM.

or

For inbound Idoc's go to Inbound Processing Settings->Inbound process code Double-click on you entry to find the FM.

Kind regards,

Robert

Former Member
0 Kudos

Hi,

Im not clear, after going to WEDI Transaction, please tell what the other steps i have to do..which tab, what option.

Ashok Y

Former Member
0 Kudos

Hello Ashok,

Please check this function module:

L_IDOC_CREATE_WMTOID02

Go to tcode SE37 and search L_IDOC* to get a list of IDOC FMs.

OR

As suggested by Robert, go to tcode WE41 for Outbound process code and WE42 for Inbound process code. You can get associated FM based on the process code.

Hope that helps!

Regards,

Saba

Edited by: Saba Sayed on Feb 15, 2011 9:22 PM

Former Member

Are we talking about outbound idocs or inbound idocs?

If it is Outbound idocs, get the receiver partner and receiver partner type.. With this you can go to WE20 (partner profiles), where you will see tree structure on left hand side with partner types... Drill down to your partner type and partner number.. Once you click on your receiver partner, you will see the IDOC types processed for that partner... On outbound parameters, click on your IDOC type and press display button..In the next screen, MESSAGE CONTROL tab has got the process code .. double click on the process control to see the FM that will generate this IDOC...

Inbound IDOCs, You will have to use the sender partner/partner type and use that in WE20 to drill down to IDOC types and In inbound Options, you will get the inbound process code (double click that to find the inbound FM)..