What is the difference between user-exits and BADIs?
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 &lsquor001' . 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.
Dig Deeper on SAP ABAP
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled. Continue Reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system. Continue Reading