Skip to main content

Different types of BADI in SAP ABAP

BADI is Business Add-Ins which is a new enhancement approach. BADI completely follows Object oriented methodology of class and methods which makes it faster. The main advantage of having BADI over USER-EXIT is we can have multiple implementation and each implementation is restricted with filters criteria.

What are the different types of BADI in SAP?

1.Single use BADI
The badi which is having one active implementation is called single use badi.

2.Multi use BADI
The badi which is having multiple implementation is called multi used badi.
For multi used badi there is no sequence in which the implementation is called.


3.Filter BADI
The BADI which is having multiple implemented can be restricted with filter criteria.
We can define filter values for each implementation.
For example we have a requirement to develop an application which used multiple plant. So in our exit we will define CASE for each and every plant and if some changes needed to be done for any plant we need to do intensive testing for all plant.

CASE WERKS.
WHEN '1001'
'Logic for plant 1001'
WHEN '1002'
'Logic for plant 1002'
WHEN '1003'
'Logic for plant 1003'

But if we use badi then we can have multiple implementation based on plant with each  implementation having plant number as filter criteria.

DATA:lo_badi TYPE REF TO Z_DEMO_BADI.
TRY.
GET BADI lo_badi.
FILTERS
plant = lv_werks."1001"
CALL BADI badi->handle_werks
EXPORTING
werks = lo_werks
ENDTRY.


4.Custom BADI
These badi are developed and implemented using T-CODE which are SAP BADI transactions SE18 and SE19.

T-CODE SE18


T-CODE SE19











 







Popular posts from this blog

SAP VIM :COA(Chart of Authority)

  Overview of  COA in OpenText Maintenance of Chart of Authority  In VIM we use COA for the level based approval. It is used in NON-PO based document type and for PO based invoices baseline implementation identifies the requester of the PO as the first and only  approver. Basically COA provides a single interface where the combination of approvers, approval limits and coder are maintained for the Invoice approval process. Use TCODE -/OPT/AR_COA We have 4 Tabs within  COA. User details Approval Limits/Level COA Details Coder Settings User Details We use substitutes management utility for adding substitute to USER so that in absence of present user it can be approved by its substitute.  Approval Limits/Level Parameters 1.Company code 2.Approval Level 3.Expense type of invoices 4.Description 5.Amount Limit 6.Approval Category 7.Additional Amount COA Details: It Enables to assign cost center to the user. Coder  Settings : It helps to maintain the...

OFFCAMPUS DRIVE 2021-NTT DATA for B.E/B.TECH

  OFFCAMPUS DRIVE 2021/2020 -NTT DATA for B.E/B.TECH ABOUT COMPANY:NTT DATA   is  a MNC. It is unique platform to learn and enhance your skill for your career. Its a unique career choice to start your career. TO EXPLORE MORE ABOUT COMPANY KINLY CHECK THE WEBSITE : www.nttdata.com POSITION: Technical Graduate Trainee INTERVIEW: Virtual(online) REQUIREMENTS Qualifications:  BE/B.TECH BE/ B.Tech ( CS/ IS/ IT/ ECE/ EEE) Only for 2020 & 2021 Passed out batches) 60% throughout education No Standing Arrears / No active backlogs Not more than 2 years of academic break Indian Nationality Selection process: 1.Online Test 2.Tecnical interview 3.Mangerial round/HR round How to apply:  CLICK HERE

OFFCAMPUS DRIVE 2021 -SONY for B.E/B.TECH

  OFFCAMPUS DRIVE 2021 -SONY for B.E/B.TECH ABOUT COMPANY:  SONY is unique platform to learn and enhance your skill for your career. Its a unique career choice to start your career. TO EXPLORE MORE ABOUT COMPANY CHECK THE WEBSITE : www.sonyindiasoftware POSITION:  Fresher - Software Engineer INTERVIEW: Virtual(online) REQUIREMENTS Qualifications:  BE/B.TECH Must have good Analytical and Problem-Solving Skills Quick learner, good communication, presentation, and interpersonal skills. Should be a 2021 Batch pass out. B.E/ B.Tech. graduate in one of the following disciplines only: Computer Science or Information Technology or Information Science. Should have scored 65% or above in 10th, 12th and graduation. Job Location: Bangalore/ Bengaluru Last Date to apply for the role: Friday, 15th Oct 2021 Resumes without the below details will be considered rejected: 1. Discipline of graduation 2. Year of passing (10th, 12th and Graduation) 3. Percentage or CGPA scor...