SAP BAPI Tutorial - Step by Step Guide to Create BAPI in ABAP

What is BAPI?

Business Application Programming Interface(BAPI) are standardized programming interfaces (methods) enabling external applications to access business processes and data in the R/3 System.

They provide stable and standardized methods to achieve seamless integration between the R/3 System and external applications, legacy systems and add-ons.

BAPIs are defined in the  BOR(Business object repository) as methods of SAP business object types that carry out specific business functions.They  are implemented as RFC-enabled function modules and are created in the Function Builder of the ABAP Workbench.


Some BAPIs and methods provide basic functions and can be used for most SAP Business Objects.These are called STANDARDIZED BAPI's.

List of Standardized BAPIs:

How to create a BAPI

Step 1.Go to transaction swo1 (Tools->Business Framework -> BAPI Development ->Business Object builder ) .Select the business object, according to the functional requirement for which the BAPI is being created.

SAP BAPI Tutorial - Step by Step Guide to Create BAPI in ABAP


Step2.Open the business object in change mode. Then Select Utilities ->API Methods ->Add method.Then enter the name of the function module and select Continue.

SAP BAPI Tutorial - Step by Step Guide to Create BAPI in ABAP


Step 3.In the next dialog box, following information needs to be specified :

SAP BAPI Tutorial - Step by Step Guide to Create BAPI in ABAP



Step4.To create the method select Yes in the next dialog box.

YOU MIGHT LIKE: