What is the difference between BAPI and RFC?
Answers were Sorted based on User's Feedback
Answer / vijay
Bapi can't handle exceptions , the calling program has to
handle it whereas RFC fm can handle it.
every BAPI is a RFc whereas every RFC is not a BAPI.
Rfc enabled are basically for sap systems whereas BAPI are
for non sap systems like i want to acess data via java or vb.
| Is This Answer Correct ? | 47 Yes | 8 No |
Answer / kalidas etienne solaimuthu
BAPI is nothing but a method of SAP Business Objects that has the data and the business process in the R/3 system.
RFC is an enables function module that can be used to implement the BAPI as a method, when enabling the link to the external application using the ALE-Application Enabling Link.
Please correct me if I am wrong.
| Is This Answer Correct ? | 20 Yes | 3 No |
Answer / atanu
Bapis are RFC enabled function module stored in BOR
(Business Object Repository) used for access datas from
other system. SAP defined BAPI are easy to use by another
system such as JAVA VB etc.
| Is This Answer Correct ? | 24 Yes | 12 No |
Answer / abc
We can develope RFC & BAPI also.
One more difference between RFC & BAPI is:
Through RFC, there is direct System Call; whereas there is
no direct system calls in case of BAPI.
| Is This Answer Correct ? | 16 Yes | 8 No |
really bad, without knowing answers perfectly some of the persons giving answers.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / firdoos
I like to describe BAPIs as "Dialog without dialog". What does this mean?
BAPIs do the same validations like in the corresponding dialog transaction, e.g. BAPI_USER_CREATE1 and SU01.
Underneath a BAPI you may find RFC-enabled function modules which may also provide the BAPI functionality (e.g. create a SAP user) yet they do not care much about validations.
Example:
BAPI_USER_CREATE1 eventually uses fm SUSR_BAPI_USER_CREATE to create a SAP user.
The function module may allow you to create the SAP user with a wrong title whereas the BAPI won't. The wrong title will cause problems in the dialog transaction (SU01).
Another important aspect is that BAPIs never raise exceptions but return the AEX-messages in a RETURN parameter (e.g. of type BAPIRET2).
Last but not least a BAPI should never do the COMMIT WORK itself but you have to do it after a successful BAPI call (e.g. by calling BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK).
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kishan.nareddy
i)Every BAPI is an RFC but every RFC can not be a BAPI
untill is defined as a method in Business Object Repository.
ii)RFC has Exceptions.Bcz they are for SAP systems.Where as
BAPI has no Exceptions.Bcz they are for Non SAP Systems.
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / 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 |
Answer / kishore
Bapi:- Bapi is a Remote enable function module and using
API technology,the business objects are held in BOR and
Encapsulated into DATA and PROCESS,By Accessing these data
and process for an external system using bapi.
bapi can not have any exception handling,bapi using RETURN
parameter to handle the messages.
RFC:- remote functional call it is a normal function module,
RFC can have messasge handling through Exception handling
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / pradipta kumar mishra
The main and basic difference between BAPIs and RFC is the
business object.Both are remote-enabled calls.But business
object differentiates between them.To know more you can use
sdn.sap.com.
| Is This Answer Correct ? | 15 Yes | 24 No |
Can we use transfer dataset to transfer data in internal table ?
differtent types of messages?
5 Answers Deloitte, Enteg Technologies,
How many servers present for Database servers,Presentation and Application servers in Landscape? All these servers are present at client side or company side,means where the Database server is Located, where the Application and Presentation servers Located in a Landscape?
if you want to improve the response time logical database permits you to achive this using?
if i want to take some matter from a smart form to another smart form .then how is it possible?
What is an ABAP/4 Query?
Name some system global variables you can use in abap programs?
why do you selected sap abap as your career as there are many technical modules are there?
What is the difference between synchronous and asynchronous update? : abap bdc
What is the testing tool in ale........
What are the layers of data description in r/3? : abap data dictionary
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
SAP Basis (1262)
SAP ABAP (3939)
SAPScript (236)
SAP SD (Sales & Distribution) (2717)
SAP MM (Material Management) (912)
SAP QM (Quality Management) (99)
SAP PP (Production Planning) (523)
SAP PM (Plant Maintenance) (252)
SAP PS (Project Systems) (138)
SAP FI-CO (Financial Accounting & Controlling) (2766)
SAP HR (Human Resource Management) (1180)
SAP CRM (Customer Relationship Management) (432)
SAP SRM (Supplier Relationship Management) (132)
SAP APO (Advanced Planner Optimizer) (92)
SAP BW (Business Warehouse) (896)
SAP Business Workflow (72)
SAP Security (597)
SAP Interfaces (74)
SAP Netweaver (282)
SAP ALE IDocs (163)
SAP Business One (110)
SAP BO BOBJ (Business Objects) (388)
SAP CPS (Central Process Scheduling) (14)
SAP GTS (Global Trade Services) (21)
SAP Hybris (132)
SAP HANA (700)
SAP PI (Process Integration) (113)
SAP PO (Process Orchestration) (25)
SAP BI (Business Intelligence) (174)
SAP BPC (Business Planning and Consolidation) (38)
SAP BODS (Business Objects Data Services) (49)
SAP BODI (Business Objects Data Integrator) (26)
SAP Ariba (9)
SAP Fiori (45)
SAP EWM (Extended Warehouse Management) (58)
Sap R/3 (150)
SAP FSCM Financial Supply Chain Management (101)
SAP WM (Warehouse Management) (31)
SAP GRC (Governance Risk and Compliance) (64)
SAP MDM (Master Data Management) (0)
SAP MRS (Multi Resource Scheduling) (0)
SAP ESS MSS (Employee Manager Self Service) (13)
SAP CS (Customer Service) (0)
SAP TRM (Treasury and Risk Management) (0)
SAP Web Dynpro ABAP (198)
SAP IBP (Integrated Business Planning) (0)
SAP OO-ABAP (Object Oriented ABAP) (70)
SAP S/4 HANA Finance (Simple Finance) (143)
SAP FS-CD (Collections and Disbursements) (0)
SAP PLM (Product Lifecycle Management) (0)
SAP SuccessFactors (33)
SAP Vistex (0)
SAP ISR (IS Retail) (28)
SAP IdM (Identity Management) (0)
SAP IM (Investment Management) (0)
SAP UI5 (59)
SAP SCM (Supply Chain Management) (51)
SAP XI (Exchange Infrastructure) (49)
SAP Cloud Platform (34)
SAP Testing (89)
SAP SolMan (Solution Manager) (63)
SAP MaxDB (116)
SAP GUI (15)
SAP APO PPDS (50)
SAP AllOther (329)