02-24-2010 6:18 AM
hi all,
i have to create custom idoc to insert data in my custom table.i had used all the steps like we31,we30,we81,we82,we20,we21.but i have not create any function module.i am using we19 to trigger idoc.now i want to know that should i write FM to create idoc having status 64. and if i have to create FM then how i will create it?? i haven't create a single FM yet.plz help.and if there is some other way then plz describe.
Regards,
Vaneet
02-24-2010 7:10 AM
Hi,
go to transaction SE37 and copy a function module BAPI_IDOC_INPUT1 to ensure, that your function module for inbound IDOC processing will have a proper interface.
Regards,
Adrian
02-24-2010 9:55 AM
try these links i am sure you will be able to do it after you go through them ..
http://sap.niraj.tripod.com/id52.html
this link guides in creating idoc thru BAPI
http://articles.techrepublic.com.com/5100-10878_11-1051161.html
http://lmy52.wordpress.com/2006/06/15/how-to-create-idoc/
http://www.allinterview.com/showanswers/33632.html
this is a sample link in creating an Idoc
http://saplab.blogspot.com/2007/10/sample-abap-program-for-create-idoc.html
(P.S. these links helped me )
Hope this helps
Regards,
Manthan