Home > Ask the SAP software/management Experts > Java/SAP development Questions & Answers > Answering basic BAPI questions
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Answering basic BAPI questions

Austin Sincock EXPERT RESPONSE FROM: Austin Sincock

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 06 August 2008
1. What is the major difference between a BAPI and and RFC?

2. How do I find BAPIs in SAP?

3. How do I determine errors made from BAPI/RFC calls?



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Java/SAP development
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
With Java development experience, should I go into SAP XI?
Viewing a list of SAP interfaces
Which SAP implementation phase is Java necessary for?
Interface a locally developed application with SAP
Should an ABAP professional know Java?
Storing SAP information from a JCo connector
Integrating SAP with C++, Java, and Powerbuilder on Sybase and Oracle DBs
Is it possible to get data from R/3 to BI without delta-enabled data sources using JCo?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


1. An RFC (Remote Functional Call) is any remotely enabled function module either provided by SAP or created by a developer. The key to an RFC is a flag set in the Function Builder (SE37) under the attributes tab called "Remote-Enabled Module". When this flag is set, the SAP application server allows this function module to be called by an external program or service.

A BAPI (Business Application Programming Interface) is a remote enabled function module that provides access to a specific SAP business object. BAPIs allow an external program or application to act on SAP business objects through a safe, published interface. When integrating with SAP, you should always use BAPIs to interact with specific SAP business applications.

2. The easiest way to find a BAPI in SAP is by using the BAPI browser: Tools -> Business Framework -> BAPI Explorer. You can also navigate directly to the BAPI explorer by using the transaction code BAPI.

You can also search for BAPIs directly in the Function Builder (SE37). The simplest way is to search using "BAPI*". The wildcard will return any function module containing BAPI as a prefix. However, SAP has begun to move away from this naming convention, so you are probably better off using the BAPI Explorer.

3. Most BAPIs with support a RETURN structure that contains all success and error indicators. RFCs are a little trickier in that they are not require to use a BAPI RETURN structure. In an RFC these errors will be part of a specific changing table and will have "ERROR" as part of their name.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts