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

Does the table can have multiple foreign keys?

591


What are the different types of data dictionary objects? : abap data dictionary

678


What is the difference between field-group header and other field groups? : abap modularization

566


Table events aNd table maintains generation

987


how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer

1813






What work you have done in HR module

904


How collect statement is different from append?

533


What is luw?

684


Can we access static attribute from instance method

992


What is Group by in Select statement?

649


What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?

1819


How do you set up background jobs in sap? What are the steps? What are the event driven batch jobs?

567


Explain the components of selection table?

631


What are the update types possible?

608


Sal abap on hana interview

706