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

bapi&rfc

Former Member
0 Likes
438

hi,

can someone tell me the distinguish between bapi and rfc,thank you.

sophia

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
420

Hi Sophie,

1)Bapi's are nothing but RFC enabled function module....... and the main difference b/w RFC & BAPI is that BAPI is maintained in BOR(business object repository)...

2)RFC can have only one instance whereas BAPI can have many.

3)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.

4) RFC are direct system call.

5)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.

6)BAPI is having all Key fields, methods, interfaces etc.unlike RFC

Reward if useful

Regards

Divya

3 REPLIES 3
Read only

Former Member
0 Likes
420

Hi,

RFC:-

1) Direct system call

2) provide communication between sap to sap or sap to non-sap or viceversa

3)RFC can have one instance

BAPI:-

1)Business object

2) no direct system call

3) stored in BOR , which can be accessed by non sap applications like JAVA & VB

4) BAPI has many instances

5) support OO concepts

Please reward points if helpful.

Read only

Former Member
0 Likes
420
Read only

Former Member
0 Likes
421

Hi Sophie,

1)Bapi's are nothing but RFC enabled function module....... and the main difference b/w RFC & BAPI is that BAPI is maintained in BOR(business object repository)...

2)RFC can have only one instance whereas BAPI can have many.

3)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.

4) RFC are direct system call.

5)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.

6)BAPI is having all Key fields, methods, interfaces etc.unlike RFC

Reward if useful

Regards

Divya