Question: what is the difference between bapi and idoc?
Answer: the main difference in BAPI is it is used for Third party application like JAVA, VB etc. and IDOC is used transfer data from the SAP to sap or non-sap system. ... ALE provides intelligent mechanisms where by clients can achieve integration as well as distribution of applications and data.