However, are IDocs still a viable long-term option with SAP? I have been told that SAP is moving away from IDocs...
in favor of BAPIs. In other words, use of IDocs the old way to interface data and the new and preferred way is via BAPIs. Is there any truth to that?
BAPI error handling needs to be done by the calling application, while IDoc error handling can be done through BD87, etc. By the way, IDocs are also received through a BAPI: "IDOC-INBOUND_ASYNCHRONOUS." Still, I have no overall preference of BAPIs over IDocs or vice versa. However, if communication can be done asynchronously -- so the caller does not need an answer back right away -- then the IDoc solution is the safer and easier way of doing the work.
Dig Deeper on SAP interface technologies
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled.continue reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order.continue reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.