what is diff between idocs,bdc,rfc and bapi. give real time
answer

Answer Posted / ch. manoj kumar

Differences between IDOC and BAPI



IDOC


BAPI

IDocs are text encoded documents with a rigid structure that
are used to exchange data between R/3 and a foreign system


BAPIs are a subset of the RFC-enabled function modules,
especially designed as Application Programming Interface
(API) to the SAP business object, or in other words: are
function modules officially released by SAP to be called
from external programs.

Idocs are processed asynchronously and no information
whatsoever is returned to the client,


BAPIs are called synchronously and (usually) return information

The target system need not be always online. The IDOC would
be created and would send the IDOC once the target system is
available (tRFC concept). Hence supports guaranteed delivery


whereas for BAPIs the client code needs to do the
appropriate error handling.

With asynchronous links the sub-process on the client can be
finished even if the communication line or the server is not
available. In this case the message is stored in the
database and the communication can be done later


Problems with synchronous links occur if the communication
line or the server is temporarily not available. If this
happens, the sub-process on the client cannot be finished
(otherwise there would be data inconsistencies).

The disadvantage of asynchronous links is that the
sub-process on the server cannot return information to the
calling sub-process on the client. A special way for sending
information back to the client is required. In addition, a
special error handling mechanism is required to handle
errors on the receiving side.


Synchronous links have the advantage that the sub-process on
the server can return values to the sub-process on the
client that has started the link.

IDOCs may
be more changeable from release to release.


BAPIs are not totally immune to upgrades

IDOCs are poorly
documented


BAPIs are reasonably well documented.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the collect statement? How is it different from append?

742


How many ways can a sap system be accessed?

885


What does hide statement do?

742


8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?

1852


What are the Various Types of internal tables?

901






Under Data Transfer Portion of ABAP, what do you mean by DX Project

2048


What are the differences between primary and secondary indexes?

823


In events, start-of-selection is a default event. When we have to use this event explicitly? Why?

768


Different between Interface and Abstract classes?

1303


What happens when you post goods issue after delivery? How does the inventory get reduced after the delivery?

707


What are the difference between pool tables and transparent tables?

824


What is a function group? : abap modularization

750


What is protect & endprotect?

749


How can I get ascii value of any letter? Is there any function?

866


What are the data types of the abap/4 layer?

904