Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

difference among bdc,rfc,bapi

Former Member
0 Likes
699

hi,

differences among BDC,RFC,BAPI

When do we go for BDC?

when do we go for RFC?

when do we go for BAPI?

devi.

2 REPLIES 2
Read only

Former Member
0 Likes
564

hi ,

BAPI is used only when it is available for the particular transaction like Delivery Sales order. but BDC can be used for any

transaction which have screen and fields.

BAPI is directly updated the database instead BDC run through the screen flow.

So BAPI can't handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.

BAPI is a higher end usage for tranfering the data from SAP to non-SAP and vice-versa. for ex: if we are using VB application,where in that we want to connect to SAP and retireve the data,and then change and update the data in SAP for that purpose we can use that.

Apart from that, we can also use it for Uploading/Downloading the data from SAP to Non-SAP like BDC, provided we have an existing BAPI for that.

BAPI function modules will also do all the checks required for data integrity like Transactions for BDC.

There is one more advantage using BAPI instead of BDC. When we go for upgradation, there might be pozzibility to change the screen elements for transactions depending on the requirement. In that case,our BDC pgm may or may not work (depending on the screen changes they have made). Unless and until we prepare new BDC we cant use the old BDC pgm. But in BAPI, SAP promises that they are going to keep the old BAPI and for new functionality they will provide an upgraded BAPI. Until we write a new BAPI pgm, we can use the exisitng BAPI pgm.

RFC is a type of function module use to call the function module from remote system, where as BAPI is also RFC but provides higher level of abstraction, that is BAPI is a RFC with object oriented wrapping around it and is implemented as a method of business object.

BAPI's are the remote enabled Function modules which are defined in the Business Object Repository (BOR) as the methods of the business objects.

I can say BAPI is the subset of RFC. RFC connects to the other system via BAPI and vice versa.

Regards

Anup.

Read only

Former Member
0 Likes
564

HI,

When do we go for BDC?

Batch Data Communication or BDC is a batch interfacing

technique that SAP developed. It is mainly used for

uploading data into the SAP R/3 system. BDC works by

simulating the user input from transactional screen via an

ABAP program.

The data input data file will come in the form of a flat

file which the user save as file type txt file or prn file

from the Microsoft Excel program. An Abaper will create a

program to read the text file and upload into the SAP system.

Normally, the tcode SHDB will be used to record the

transaction code the user used. After, the simulation, the

Abaper can generate a sample program and modify from there.

It makes the programming easier and faster.

when do we go for RFC?

Purpose

Communication between applications in different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. RFC calls a function to be executed in a remote system.

http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm

when do we go for BAPI?

http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm

Regards

VIjay