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 |
Explain about drill down report?
How do you send the output of a script as an email attachment
create a Report to print Stock & Valuated Stock for Plant (ALV Grid) Selection Screen Ranges: Material Number (MARA-MATNR) Material Type (MARA-MTART) Valuation Class (MBEW-BKLAS) Storage Location (MARD-LGORT) Parameter filed plant (MARD-WERKS) Selection condition: Total valuated stock – MBEW-LBKUM – should be greater than zero Table to be used MAKT,MARD,MBEW,MARA,T001L.. (Use inner joins) Display output: Storage location: (TOO1L-LGORT) Description (T001L-LGOBE) Material No (MARA-MATNR), Material Description (MAKT- MAKTX), Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), IF MBEW-VPRSV = 'S'. Price – MBEW-STPRS ELSEIF DTAB-VPRSV = 'V'. Price – MBEW-VERPR. ENDIF. Subtotal of Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), Grand Total of Total valuated stock (MBEW-LBKUM), Val of tot valuated stock (MBEW-SALK3), In the ALV grid display keep a button in the tool bar which on clicking navigates through the screen to the next grid which displays the grand total. Use SET PF_STATUS which is in the FM reuse_alv_grid_display to set the button.
Difference between Maintanance view, Help view, Data Base View and Projection View?
Are EVENTS Possible in LSMW?If so how to achieve?
WHAT IS MEAN BY XK01, VA01 AND VD01 IN BDC PROGRAMES
what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary
How will you find manager of an employee
what are the built in types in bdc
How to reprocess the failed IDOC? How wil u know idoc is failed?What are tcodes?
What are the tables using in diff modules like SD, PM, MM, QM AND FICO? give me some example names ? Do we need to use the existing tables in R/3 most of the time?
Can a filed occur in several field groups? : abap modularization
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 AllOther (329)