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

How to Assign a function module for customized IDOC

Former Member
0 Likes
5,895

Hi,

I have created a customized IDOC. Can any body explain how to assign a FM for customized IDOC? Is same IDOC can be used for both Outbound and Inbound Process? In WE41 and WE42 we have to give the outbound and inbound function module name. can we give same function module? Is process code is same for both outbound and inbound process?

Valuable suggetions are appreciated.

Regards,

Ram

2 REPLIES 2
Read only

Former Member
0 Likes
1,811

hi, you can use WE57, to combine IDOC message type and function module.

Read only

Former Member
0 Likes
1,811

Hi ,

Here is the Procedure for the Inbound Idoc Funtion Module

Function Module : SE37

Message : WE81

Assign message : WE82

Assgin FM : we57

Process Code : WE42.

Assign Partner Profile - WE20,

To test the Inbound IDOC.

In WE19, Give the IDOC number & execute ... then put the cursor on the idoc control record . then click on the Standard Inbound push button on the application tool bar.it will show show all the details like partner no,type , message type , process code & function module name ...

now put a break point in the function module .. & debug .

if u r using customised inbound function module , then click on inbound function module .. there u will get a pop screen with FM name & debugging option in both background & foreground mode...

Reward Points if it is Useful.

Thanks,

Manjunath MS