SAP ABAP HOW TO CREATE

BADIS (Business Add-Ins)
BADI's(Business Add-Ins)

Open any standard business transaction SAY MM02 Press F4

1

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Press enter here *ENSURE THAT THE SAME TAB IS OPENED * 2 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Select any material and press enter 3 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Now this screen appears from this select atleast one option like Basic Data1 . and press enter 4 .. Basic Data2 ….

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) From the menu bar click System>Status 5 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) From the window that opened as shown refer to the program and double click the 6 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Now u will see this window from the menu bar click GOTO->Object Directory Entry Now refer to the package name in the package field and 7 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Now OPEN SAP EASY ACCESS Enter the tcode box SE18 in the command 8 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) press f4 here Click 9 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Enter the package name U SEEN IN PAGE 10 here and press enter 10 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Choose the required BADI from this LIST and press enter 11 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Now click Display button 12 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Now you will see a window where you will have two tabs attributes & Interface 13 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Open Interface tab and now u can find all the 14 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) From the menu click Implementation- Now u will be getting this window where u have to provide a implementation name Z_BADIEXMP 15 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) Enter the short description and now double click on the method which u feel is 16 .

SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) This window appears without package name so double click on the local object button after first click it takes tmp as default package 17 .

WHICH U CAN DO BY INSERTING THE BREAK-POINT IN EACH AND EVERY METHOD INSIDE THAT BADI 18 .SAP ABAP HOW TO CREATE BADIS (Business Add-Ins) This window opens where you can write your own piece of code refering to the variables given above. * don’t use the variables other than those given in the EXPORT AND IMPORT PARAMETERS DON’T FORGET TO SAVE AND ACTIVATE WHEREVER NECESSARY NOW GO TO YOUR STANDARD TRANSACTION CODE SAY MM02 AND TEST WHETHER YOUR BADI IS WORKING OR NOT. NOTE : SELECTING THE RIGHT BADI IS UPTO YOU .