Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is badi?difference between bapi and badi?

Former Member

what is badi?difference between bapi and badi?

8 REPLIES 8

Former Member
0 Kudos

Hi,

BAPI - Business Application - commonly a function module that is normally RFC enabled as well and acts as a method of a business object. For example, Sales Order as the business object with a method of create - the BAPI is BAPI_SALESORDER_CREATEFROMDAT2.

A BADI is a Business Add-in - one of SAP's methods of implementing a user-exit or change to standard SAP code. BADI's are ABAP object based changes instead of the more common subroutines/function modules.

<REMOVED BY MODERATOR>

Regards,

Swetha.

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:19 AM

Former Member

Hi,

BAPI - It is nothing, but a FM which is used to load the data into SAP system. The data may be from the Legacy system.

BADI - They are the enhancement which can be applied to the standard SAP program as per the business requirement. BADI are the newer version of user exits which uses ABAP OOPs concept.

<REMOVED BY MODERATOR>

Regards,

Raj.

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:20 AM

Former Member
0 Kudos

Hi,

BAPIs and BADIs are completely different.

BAPI - These are published programs which is used to upload data into SAP system.

BADI - This is a program enhancement technique. SAP provides BADI openings in the standard programs. You need to search for the suitable BADI as ur requirement and then do the coding and plug in the program.

<REMOVED BY MODERATOR>

preet

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:20 AM

Former Member
0 Kudos

Hi Sudheer...

BAPI - These are published programs which is used to upload data into SAP system.

BADI - This is a program enhancement technique. SAP provides BADI openings in the standard programs. You need to search for the suitable BADI as ur requirement and then do the coding and plug in the program.

for more info search on SDN, many threads are already there...

<REMOVED BY MODERATOR>

Regards

Karan

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:20 AM

Former Member
0 Kudos

Hi..

BADI is just an object-oriented version of user-exit. Instead of entering program code into some function module (as in customer-exit), you define some class which has to implement predefined methods and those methods are fired at predefined points just like an old user-exit. Some BADI can have multiple independent implementations which is much better for software deployment as several developers can implement the same BADI independently.

To understand BAPIs, you must know that there are 2 things. One is the SAP Object Repository of the Business Object Repository (BOR) and the Function Builder.

Now the business objects with their business processes and business data, reside in the BOR, with the corresponding BAPI. the implementation of this BAPI resides in the function builder. Any external world (non SAP) programs or legacy systems can access the business processes or data of any business object in the BOR, thru the process of invoking the BAPI implementation of the BAPI for this business object.

Thus we can access a business object.

So we can say that a BAPI is a process that allows third party s/w or non SAP programs to access SAP Business object data and processes.

<REMOVED BY MODERATOR>

Regards

- Rishika

Edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:33 PM

former_member705122
Active Contributor
0 Kudos

Hi,

Regards

Adil

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

hi,

Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.

As with customer exits two different views are available:

In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.

In the implementation view, the users of Business Add-Ins can customize the logic .

BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP.BAPI are implemented and stored in the the R/3 system as remote function call (RFC) modules.