Question 1. What Is Bapi In Sap?
BAPI is a Business Application Programming which provides access to processes and data in business application systems such as R/3. BAPIs are defined as API methods of SAP business object types. Business object types and their BAPIs are described and stored in the Business Object Repository (BOR). A BAPI is implemented as a function module, that is stored and described in the Function Builder.
Question 2. Explain The Steps To Create A Bapi?
- Creating a structure in SE11
- Creating the function module in SE37
- Creating the business object in SWO1
- Viewing the created BAPI in BAPI Explorer
- Test the BAPI.(BAPI tcode)
Question 3. What Are The Uses Of Bapi?
Using BAPI,we can connect :
- New R/3 components.
- Non-SAP software.
- Legacy systems.
- Isolating components within the R/3 System .
- Connecting R/3 Systems to the Internet.
- PC programs.
- Workflow applications.
Question 4. What Is The Difference Between Bapi And Rfc?
BAPI is a RFC enabled function module and we create business objects and registered in the BOR (Business Object Repository) which can be accessed outside the SAP system by using other applications (Non-SAP) Languages such as VB or JAVA. That time we only define the business object and its methods from external system.
Communication between applications of different systems in the SAP environment including connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
Question 5. What Are The Types Of Rfcs?
- Synchronous RFC
- Transactional RFC (tRFC)
- Queued RFC (qRFC)
Question 6. What Are Rfc Interfaces?
- A calling interface for ABAP Programs
- A calling interface for Non-SAP programs.
Question 7. How Do You Call The Rfc Fm In The Abap Program?
CALL FUNCTION…DESTINATION statement. The DESTINATION parameter tells the SAP System that the called function runs in a system other than the callers.
Question 8. What Are The Functions Of Rfc?
- Converting all parameter data to the representation needed in the remote system
- Calling the communication routines needed to talk to the remote system.
- Handling communications errors, and notifying the caller, if desired ( using EXCEPTIONS parameter of the CALL FUNCTION).
- Convert the data into the format understandable by the remote (target) system.
- Call up certain routines which are necessary to start communication with the remote system.
- Handle errors that might occur in the process of communication.
- RFC can handle errors itself.
- every BAPI is a RFc whereas every RFC is not a BAPI.
- RFC’s are not registered in the BOR.
Question 9. What Are The Main Characteristics Of Bapi?
- Support of synchronous and asynchronous communication.
- Support of machine-to-machine and human-to-machine communication.
- Communication support for components that are narrowly linked and coupled through the Internet.
Question 10. What Is The Business Objects Type In Sap?
A business object type is the representation of a business object, like an human work force or a Invoice, in an SAP System. It encompasses both the functions and the data into single object.
Question 11. What Are The Advantages Of Business Objects Type In Sap?
We can reduce the complexity of Systems structure by dividing the complex structures into smaller units.
Question 12. What Is The Business Object Repository?
The Business Object Repository (BOR) is root access point for the SAP business object types and their BAPIs. The BOR was developed for SAP Business Workflow.
Question 13. What Are The Uses Of Business Object Repository?
- Allows an object-oriented view of all data and processes in an SAP System.
- Arranging the various business object types according to the component hierarchy.
- It ensures BAPI interface stability.
- It manages BAPIs in release updates.
- It creates instances of SAP business objects.
Question 14. What Is The Returning Parameter In Bapi?
The return parameter RETURN contains success or error messages for the BAPI, and depending on the SAP R/3 Release has the dictionary structure BAPIRETURN, BAPIRETURN1, BAPIRET1, BAPIRET2.
Question 15. What Are The Basic Components Of Sap R/3 Business Framework ?
- Business Components:SAP Business Components provide autonomous business functions and consist of business objects. For example, the business objects Employee and Applicant are assigned to the Business Component Human Resources. Business processes are either implemented within a Business Component or across several Components (distributed business processes).
- Business Objects:The object-oriented structure of the R/3 System is based on Business Objects. They encapsulate business data and functionality and define the functional scope and boundaries of a Business Component.
- Business Application Programming Interfaces (BAPI):BAPIs are interfaces for Business Objects. Together with the Business Objects, BAPIs define and document the interface standard at the business level.
- Integration Service, Application Link Enabling (ALE):The ALE Integration Service enables the integration of business processes that are carried out in different R/3 and non-SAP systems. This service is based on the system-wide distribution of Business Objects using the ALE distribution model.
- Communication Services:These are the communication technologies, for example, Distributed Component Object Model (DCOM) and Remote Function Call (RFC) that use the Business Framework to access BAPIs.
Question 16. What Is Sap Business Objects ?
- A business object type, which represents of a business entity in the SAP R/3 System, encompasses both the functionality (in the form of methods) and the data (in the form of attributes) of this entity. The implementation details of the business object type are hidden from the user. The business object type is accessed through defined functions (methods). This is referred to as encapsulation.
- Business object types form the point of entry to the data and the functionality of the SAP R/3 System. At the business object type level, both non-SAP systems and the various SAP business components can communicate with each other.
- The business object type Sales Order represents a customer’s request to the company to supply a particular quantity of material at a certain point in time or to perform services at a certain point in time. A specific sales order is identified by a sales document number. The business object type contains all the necessary information for a sales order: sold-to party, sales organization, document date, net value of the order, and currency of the sales and distribution document.
Question 17. What Is Bapi ?
BAPIs are defined as API methods of SAP Business Object Types. These object types are used within the Business Framework to enable object-based communication between components. Business objects and their BAPIs enable object orientation to be used in central information processing in companies.
Question 18. What Need To Be Taken Care While Handling Database Transaction In Bapi ?
- A transaction is completed either using a COMMIT WORK command or a ROLLBACK command. A BAPI transaction must be ended by calling the BAPIs BapiService.TransactionCommit() or BapiService.TransactionRollback().
- The call of a BAPI must not trigger further LUWs that are independent of the BAPI.
For this reason BAPIs must not contain the following commands:
- CALL TRANSACTION
- SUBMIT REPORT
- SUBMIT REPORT AND RETURN
Question 19. What Is Bor (business Object Repository) ?
- The Business Object Repository (BOR) is the central access point for the SAP business object types and their BAPIs. The BOR contains all the relevant information on the SAP business object types, their key fields, and their BAPI methods that are needed to integrate the correct object type definitions and BAPI calls in an application program. This makes the integration of middleware (such as the DCOM Connector, ActiveX Controls, CORBA Gateway, and so on) possible.
- Creates instances of SAP business objects. The runtime environment of the BOR receives requests to create runtime objects from client applications and creates the appropriate object instances.
Question 20. What Is The Difference Between Rfc And Bapi?
- BAPI is a library of function modules released by SAP to the public so that they can interface with SAP.
- There is a Business Object Associated with a BAPI. So a BAPI has an Interface, Key Field, Attributes, Methods, and Events.
- Outside world (JAVA, VB, .Net or any Non SAP system) can connect to SAP using a BAPI.
- Error or Success messages are returned in a RETURN table.
- RFC is nothing but a remote enabled function module. So if there is a Function Module in SAP system 1 on server X , it can be called from a SAP system 2 residing on server Y.
- No Business Object is associated with a RFC.
- Non–SAP world cannot connect to SAP using RFC.
- RFC does not have a return table.
Question 21. What Is The Difference Between Bdc And Bapi?
- BAPI is faster than BDC.
- BAPI directly updates database.
- BAPI would generally used for small data uploads.
- For processing errors, the Return Parameters for BAPI should be used.This parameter returns exception messages or success messages to the calling program.
- BDC goes through all the screens as a normal user would do and hence it is slower.
- Background and Foreground processing options are available for BDC.
- BDCs would be preferred for large volumes of data upload since background processing option is available.
- Errors can be processed in SM35 for session method and in the batch input program for Call Transaction method.
Question 22. What Are The Steps For Creating A Bapi ?
Stage1: Creating a structure in SE11
Stage2: Creating the function module in SE37
Stage 3: Creating the business object in SWO1
Stage 4: Viewing the created BAPI in BAPI Explorer
SAP ABAP Interview Questions
SAP ABAP Tutorial
SAP ABAP Web Dynpro Interview Questions
SAP ABAP Web Dynpro Tutorial
SAP BODS Interview Questions
SAP ALE Interview Questions
SAP BODS Tutorial
SAP BDC Interview Questions
SAP ABAP Interview Questions
SAP Smart Forms Tutorial
SAP Smart Forms Interview Questions
SAP ABAP Enhancement Interview Questions
SAP ABAP Web Dynpro Interview Questions
SAP ABAP Report Developer Interview Questions