What is the difference between BAPI and RFC?

Answer Posted / raja narayanan

In BAPI you can write Macro Coding.

In BAPI you have methods, Interface, events, attributes and key fields. So basically it is based on OOPS concept.

In BAPI you have delegation which we can use for inheritance purpose.

In RFC can be called both SAP and Non-SAP system, so we can't say that difference for a BAPI, because even BAPI can be called both SAP and Non-SAP system.

In RFC we have different types like RFC, ARFC, QRFC, TRFC.

RFC's can handle exceptions whereas BAPI's has to handle exception's via return parameters.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

771


What will you code in start-of-selection & end-of-selection ?

795


What are the advantages and disadvantages of ABAP query tool?

740


****THANK YOU ALL ABAP EXPERTS**** I got a JOB as ABAP Consultant in Infosys.I cleared the interview.The question posted here are really good.I cleared interview based on this material only.It really works.I thank all members who posted que&ans here. Those who are in search of job in MNC study this question set only you will get sucess. Thanks once again allinterview.com and members of this community. tulika20021@rediffmail.com

1895


Define external layer? : abap data dictionary

869






Hat are the different types of mode (run code) in call transaction method?

771


when are objects are passed from task to the change request?

1857


What is the step-by-step process to create a table in data dictionary? : abap data dictionary

916


What is bdc programming? : abap bdc

747


How can we set the tablespaces and extent sizes ?

735


What are the types of subroutines? : abap modularization

756


In which table the material master data is stored?

745


What are the data types of internal tables?

769


please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?

1776


I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc

3022