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 function module with process code in IDOC ?

Former Member
0 Likes
4,598

how to assign function module with process code in IDOC ? and what code i have to write in that function module for custom IDOC ?

helpful answer will be rewarded?

2 REPLIES 2
Read only

Former Member
0 Likes
1,679

Hi,

First goto transaction we42 -->editing mode --> new entries -->give name of your process code and description --> processing with alv service and function module -->then press enter -->after that enter the name of the function module you want to associate from the drop down and save it.

Thats the way to assign function module with process code.

In that process code we will have the Function modules and Bapi's which will take the data which we are sending through IDOC and then process it.

for example: i am triggering the IDOC for every purchase order created then this process code in the receiver system will take the data which i have enetered in the sender system to create the purchase order and process it and creates the same purchase order in the receiver's system.

************************************

Reward if helpful.

with regards,

Syed

Read only

0 Likes
1,679

hi,

thanks for ur supporting answer,,but my requirement is to transfer the data from ECC to CRM using LSMW..i m using IDOC method in LSMW for tranferring ..but all the fields are not there in IDoc ,,so for that i went for Custom idoc ..what sud i write in FM ? plz suggest me

thanks again..