cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Between BAPI and RFC?

adnanmaqbool
Contributor
0 Kudos

Dear Guys

I have used both BAPI and RFC and both looks to ma almost same except that BAPI is more structured one.

In a webdynpro application , I just want to fetch data from SAP Z Tables and then after some manipulation want to insert the data back in SAP ZTable.

Please explain in such a situation should I use just a RFC FM or I have to developed a BAPI and what will be porns and cons.

Thanks

Edited by: Armin Reichert on Mar 8, 2008 12:49 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Adnan,

Simple remote enabled RFC would do the needful here. Make sure the RFC is remote enabled.

Thanks!

Surya.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

BAPI

A Business Application Programming Interface (BAPI) is a precisely defined interface providing access to processes and data in business application systems such as R/3. For Further detail refer this link....

[http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8464ac011d1894e0000e829fbbd/content.htm|http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8464ac011d1894e0000e829fbbd/content.htm]

RFC

Communication between applications of 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. The RFC calls a function to be executed in a remote system. For Further detail refer this link....

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

Regards

Chandran S

Former Member
0 Kudos
Former Member
0 Kudos

Its better to use RFC if your application is external to SAP R3 system but if you are going to make use of RFC,please make sure that RFC is remote enabled...

It not advisable to use a single BAPI.Always use standardised BAPI.

hope i answere your query.xxxxxxxxxxxxxxxxxxxxxxx

Thanks,

amit

Edited by: Armin Reichert on Apr 26, 2008 6:41 PM