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: 

enhancement

Former Member
0 Kudos

what is the difference between user-exit & BADIs?

3 REPLIES 3

Former Member
0 Kudos

Hi Raja

There are three generations of user-exits in SAP ABAP now.

First Generation: There had been empty subroutines in place in the coding where you could add your code. However, this required to modify code of SAP standard programs. Example: search for forms starting USEREXIT.. in SAPMV45A

Second Generation: CUSTOMER-FUNCTION. In certain places of SAP standard code there are calls CALL CUSTOMER-FUNCTION ‚001' . These routines can be defined with SMOD edited with transaction CMOD.

Third Generation: Using ABAP objects instances, they are called BADI. They are call with CALL METHOD (instance) .... they are created with transactions SE18/SE19. To find BADI search for the word EXIT_HANDLER in the coding.

Reward me Points

By

Pari

asik_shameem
Active Contributor
0 Kudos

Hi

Instead of posting these kind of general questions, First try to search in forum and then post.

former_member226203
Active Contributor
0 Kudos

Hi,

Business Add-Ins are a new SAP enhancement technique based on ABAP Objects.

To find a BADI:

We can find a BADI Using CL_EXITHANDLER=>GET_INSTANCE

Go to the Transaction, for which we want to find the BADI,

Get the Program Name of Corresponding Transaction.

(Click on System->Status. Double Click on Program Name)

Once inside the program search for 'CL_EXITHANDLER=>GET_INSTANCE'.

Make sure the radio button "In main program" is checked.

A list of all the programs with call to the BADI's will be listed.

The export parameter 'EXIT_NAME' for the method GET_INSTANCE of class CL_EXITHANDLER will give you the BADI name for the Transaction.

Some BADI can have multiple independent implementations, which is much better for software deployment as several developers can implement the same BADI independently.

User Exit:

check this link :

http://erpgenie.com/index.php?option=com_content&task=view&id=594&Itemid=77

These are the points where you can add your own code depending upon the specific requirements you get from the customer which is not provided in the standard program.

hope this is helpful.

Thanks.