Difference Between RFC and BAPI
Difference Between RFC and BAPI
All BAPI s are RFC but all RFC s are not BAPI. To convert this RFC into BAPI you need to
register or use it in BOR I.e., business object repository. BAPI corresponds to the replica of a
particular transaction . E.g.. MM01 (BAPI_MATERIAL_SAVEDATA).
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2. RFC can have only one instance whereas BAPI can have many.
3. BAPI's can't handle the exceptions,the calling program has to handle. But RFC's are
handle the exceptions independently.
Similarities:
1. BAPI is a function module provided by SAP whereas RFC can be created via
SE37.
2. Every BAPI is RFC but every RFC can not be a BAPI.
Both bapi and rtc are remote enabled function modules only difference is bapi is a
business repository object and rtc is repository object.
Bapi is asynchronous process used to transfer data from sap to sap and non sap to sap
where as rfc is used to transfer data from sap to sap .
Every BAPI is an RFC because it calls an Business Objects using Functions Modules i.e
RFC Function modules.
So technically BAPI deals with Business Objects whereas RFC is normal remote enabled
function module.
https://www.quora.com/What-is-the-exact-difference-between-RFC-and-BAPI-in-SAP-ABAP
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
8KB memory will be allocated for both internal tables and work areas and it will be increased
dynamically.
Internal tables and work areas are temporary memory areas which are used to store data at
run-time. Internal tables and work areas are instances of database tables.