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

RFC enabled function module and BAPI?

Former Member
0 Likes
571

What is the difference between RFC enabled function module and BAPI?

I have requirement to develop a new BAPI which will update a custom table and read the same table in SAP from an external application.

Do we need define a port or RFC destination for the external application to use the new BAPI?

I am clear how the external application access the BAPI.

Thank you

4 REPLIES 4
Read only

Former Member
0 Likes
539

Look at this:

Also - search on "difference between RFCs and BAPIs"... you will find lots of info on SDN.

Read only

0 Likes
539

Here is a good one:

Don't forget points for helpful answers.

Read only

Former Member
0 Likes
539

Hi,

There is no difference if you use these to transfer data from one system to the other. BAPI follows OOPS technology.

Yes, define destination in SM59 for communication. You need a port too.

Raj

Reward points if helpful

Read only

Former Member
0 Likes
539

BAPI are business objects which are basically object oriented. Created and linked with business objects in <b>SWO1</b>. Those business objects will be listed under BAPI tcode.

Where are RFC enabled Function call are not like that. They are just Function modules which can be accessed remotely from an SAP application.

For your example updating table, you may need to create BAPIs in SWO1 and access using those using object oriented methods from external application.

Cheers,

Thomas.