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
Difference between call by value and call by reference? : abap data dictionary
If yes then why do we require logical database
Explain the use of table maintenance allowed?
What is an update type with reference to a match code id? : abap data dictionary
How do you restrict the data to be entered in the payroll area? : sap abap hr
What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?
What is the difference between a structure and a table?
State the differences between database view & projection view? : abap data dictionary
what is bapi,badi,bdc,ale idocs?
Fallback class
Does every abap/4 have a modular structure? : abap modularization
What are the types of data types in the sap abap?
When is the top-of-page event triggered? : abap data dictionary
Can we handle two transaction codes in the same program using call transaction bdc input method? : abap bdc
How can one distinguish between different kinds of parameters? : abap modularization