difference between BAPI and RFC?

Answer Posted / abaper

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 you 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. It is not possible to connect SAP to Non-SAP systems to retrieve data using RFC alone. RFC can acces the SAP from outside only through BAPI and same is for vice versa access.

RFC is the protocol used by SAP for remote communication, that is, for communications between remote (independent) systems. RFC is used for communications between two independent SAP systems, or for communications between an SAP system and a non-SAP system, such as an external application. It can also be used for communications between modules on the same system. Using the RFC interfaces you can extend the functionality of R/3 applications from an external program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lock object ? : abap data dictionary

805


Difference between Field groups and internal tables?

820


In select-options, how to get the default values as current month first date and last date by default?

825


what is difference between set screen and call screen ?

743


What is the major difference between pool tables and transparent tables?

741


State the differences between database view & projection view? : abap data dictionary

814


What is the difference between function group and function module?

742


Can a constructor be declared private? If yes then in which scenario?

1113


Define alv programming in abap?

961


Explain the call transaction method? : abap bdc

801


How do you delete duplicate records from internal table?

951


What are field groups?

784


What are the fields in a bdc_tab table? : abap bdc

801


How many types of views are there? : abap data dictionary

790


What are the function module in bdc?

882