Home > Ask the SAP software/management Experts > SAP NetWeaver, ESA and EAI Questions & Answers > BAPIs vs. IDocs for Web-to-SAP interfaces, what are the differences?
Ask The SAP Expert: Questions & Answers
EMAIL THIS

BAPIs vs. IDocs for Web-to-SAP interfaces, what are the differences?

Axel Angeli EXPERT RESPONSE FROM: Axel Angeli

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


SAP news, tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 14 March 2006
We are building custom Web-to-SAP interfaces and I would like to know if it is better to interface the data from our Web site via BAPI calls or by use of IDocs. I understand the advantages and disadvantages of both.

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?


>
IDocs are still a viable long-term option! The decision between BAPIs and IDocs depends on who will bear the burden of error handling.

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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
SAP NetWeaver, ESA and EAI
In an upgrade to SAP ECC 6.0, when do integrated apps get upgraded?
Configuring SAP EDI for sales orders
Installing SAP NetWeaver PI 7.1 on servers running ECC 6.0
Resolving app server connectivity problems for remote users
Should a manufacturing expert pursue SAP PP or SAP SCM (APO)?
How to start an SAP NetWeaver career
How to pursue an SAP developer job even if you hate Java
How to choose between SAP Basis and SAP security courses
Which SAP IDoc type can solve the EDI X12 211 error message?
How to fix two common SAP ABAP problems

SAP interface technologies
SAP CTO expects today's SAP applications to be running in 2020
SAP TechEd 09 keynoters: Managing change today like trying to board a speeding train
SAP's Web 2.0 strategy makes way for social networking in business apps
Error when clicking the SAP GUI logon button
SAP applications demo: BP's key mapping
Viewing a list of SAP interfaces
Interface a locally developed application with SAP
Will there always be an implicit commit in an RFC?
Is there a way to search within IDocs using a purchase order number?
Configuring the JDBC Connector Service to perform database lookups

SAP Web applications
How to do additional dialog processing after SAP COMMIT WORK statement
SAP TechEd Demo Jam 2009: Winners use beer keg in demo
SAP CTO expects today's SAP applications to be running in 2020
SAP TechEd 09 keynoters: Managing change today like trying to board a speeding train
How can I get an ABAP program displaying Excel data to wrap text?
An ABAP user wants to learn XI
SAP exec discusses Imagineering, the future of development
The stars of TechEd: SAP application demos
Validating table fields
The difference between field groups and internal tables

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Application Link Enabling  (SearchSAP.com)
IDoc  (SearchSAP.com)
Remote Function Call  (SearchSAP.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts