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

What is a BAPI?? What is the difference between a BAPI and func modules??

Former Member
0 Likes
2,605

What is a BAPI?? What is the difference between a BAPI and function modules or RFC funtion modules??

1 ACCEPTED SOLUTION
Read only

Former Member
1,075

bapi is RFC enabled FM

exceptions cann't handle in bapi

bapi used to update the databases

RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.

3 REPLIES 3
Read only

Former Member
1,076

bapi is RFC enabled FM

exceptions cann't handle in bapi

bapi used to update the databases

RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.

Read only

Former Member
1,075

Hi,

BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP. For specific

business tasks such as uploading transactional data, BAPIs are implemented and stored in the R/3 system as remote function call (RFC) modules.

The majar diff between the BAPI and Fm is

1) bapi is having the feature to updatel the tables

2) but FM doesnt have the that kind of feature

3)BAPI is RFC enabled and its update the data in Remotely also.

Regards,

Satish

Read only

Former Member
0 Likes
1,075

Hi

Hope it will help you.

<REMOVED BY MODERATOR>

what is BAPI?

BAPI stands for Business API(Application Program Interface).

A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..

You can make your function module remotely enabled in attributes of Function module but

A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).

BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

Edited by: Alvaro Tejada Galindo on Jan 29, 2008 10:38 AM