Skip to main content

Finding and Implementing SAP BADIs

BAdI stands for Business Add-Ins, and it's a technology used in SAP systems to provide a way for developers to add custom functionality to standard SAP programs without modifying the original source code. BAdIs allow for the implementation of additional code to enhance standard SAP functionality in a structured and controlled manner.

Finding BADI

Step 1: Go to transaction code SE18.


Step 2: Go to F4 help for the BADI Name field. Then click on the "SAP Application" button.


Step 3: We can choose suitable SAP area or modules in the following screen. We can expand any node according to our requirements and explore.


Step 4: Lets say we want explore SAP PP material requirement planning area. So, we have to follow the path PP > PP-MRP > PP-MRP-BD > MD03 > Choose any BADI to Explore


Step 5: After choosing the required BADI, click on display button.


Step 6: In the first tab we will find all the attribute data for the BADI.


Step 7: Go to interface tab and list of available methods will be there. Double cilck on any method to find out the importing, exporting and changing parameters for the method.


Step 8: All the importing, exporting and changing parameters will be in the following screen. If you want to explore the fields of the parameters, double click on the associated types.


Implementing BADI

Step 1: Go to transaction code SE19. Provide the BADI name you want to implement and then press the create button.


Step 2: Provide a custom implementation name in the following pop up.


Step 3: Provide a short text in the following screen


Step 4: Go to Interface tab and double click on the required method. If pop up comes for saving the BADI, click on the yes button.



Step 5: Save the BADI implementation in a suitable package.


Step 6: Click on the Signature button to switch on the parameters visibility.


Step 7: Now write the required code within the method area and activate the program. After that go back to the previous screen and activate the BADI. 


Then go to the standard transaction to check whether the change is implemented or not.



Comments

Popular posts from this blog

Adding New Input Fields to SAP Confirmations Screen (CO11N/COR6N) Without Coding

It is possible to add additional input fields in the SAP production order confirmation screen without coding. We can do this just adding fields to a structure which is included in AFRU table (Confirmation table). Process Steps Step 1:   Go to below customizing path. SIMG > Production > Shop Floor Control > Operations > Confirmation > Single Screen Entry > Define Single Screen Entry for Confirming Production Order Step 2:  Double click on the standard profile. Add "Customer Specific Fields of CI_AFRU" in the detail area. Step 3:  Go to default tab. Select an option from the "Customer Specific Fields" area. Then click on save button. Step 4:  Go to transaction code "SE11". Select database table and put "AFRU" and click on change button. Step 5:  Go to the include marked in the screenshot and double click on the data element of the include. Step 6:  Double click on "CI_AFRU". Step 7:  Click on "Yes" in the pop u...

SAP Production Order Confirmation Table List

SAP Production Order Confirmation is a process that enables companies to confirm the completion of production orders in the SAP system. The confirmation process allows companies to track and manage the progress of production orders, as well as record the actual quantities of materials used and the time taken to complete the production order. Production order confirmation tables are listed here. AFFW                     Goods Movements with Errors from Confirmation AFFWPRO           Log of deleted AFFW entries AFRC                     Incorrect cost calculations from confirmation AFRD                     Default values for collective confirmation AFRH                     Header information for confirmation pool AFRH_DEL ...

SAP Quality Management Transaction Codes

 SAP Quality Management transaction codes are listed here. Quality Management General Transaction Code List T-Codes Function Q000 Quality management QA00 Quality inspection QA01 Create Inspection Lot QA01A  Create Inspection Lot QA02 Change Inspection Lot QA02A  Change Inspection Lot QA03 Display inspection lot QA05 Job planning: Periodic inspection QA06 Job overview: Periodic inspection QA07 Trigger for recurring inspection QA07L  Deadline Monitoring Log QA08 Collective Processing of Insp. Setup QA09 No. range maintenance for insp.lots QA10 Trigger automatic usage decision QA10L  Log for Automatic Usage Decision QA11 Record usage decision QA12 Change usage decision with history QA13 Display usage decision QA14 Change UD witho...