‎2008 May 26 10:34 AM
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?
‎2008 May 26 11:27 AM
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
‎2008 May 26 11:41 AM
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..