what is difference between rfc and idoc?
The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps. IDoc is a intermediate document to exchange data between two SAP Systems.