SlideShare a Scribd company logo
Steps for Finding User-Exit or
 Badi’s




Applies to:
SAP ECC 6.0. For more information, visit the ABAP homepage.

Summary
This document helps people to find the corresponding user exit or BADI available for SAP standard
transaction code.

Author:     Sai Ram Reddy Neelapu
Company: Atos Origin - Singapore
Created on: 23 March 2011

Author Bio
Sai Ram Reddy Neelapu is working as Sr. ABAP Consultant in Atos Origin for past 5+ years.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     1
Steps for Finding User-Exit or Badi’s




Table of Contents
Purpose of Enhancements ................................................................................................................................. 3
   Steps to find USEREXIT or BADI ................................................................................................................... 3
      Method 1: (User Exits) ................................................................................................................................................. 3
      Method 2: (Function Module Exit) ................................................................................................................................ 5
      Method 3: (Identifying BADI) ........................................................................................................................................ 7
Related Content ................................................................................................................................................ 11
Disclaimer and Liability Notice .......................................................................................................................... 12




SAP COMMUNITY NETWORK                                        SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                            2
Steps for Finding User-Exit or Badi’s




Purpose of Enhancements
User-Exits or BADI allow you to add own functionality to SAP standard screen without modifying the
standard program.
User-exits are generally collected in includes and attached in standard program by SAP.
As this document is intended mainly to find the list of user exits or BADI that are tied to standard transaction
code, I don’t want to talk much about the technical side.



Steps to find USEREXIT or BADI

List of Transaction code related to USEREXIT and BADI’s

        CMOD
        SMOD
        SE18  Business Add-Ins: Definitions


Firstly, I will show you how to find the list of User-Exit that are available for standard transaction code.

Note: There are few different ways of finding out user-exit or BADI’s, out of which below scenarios are few ways of doing
      it.


Method 1: (User Exits)
Business Scenario: When plant 101 store users are performing 311 movement type transfer from store to
production in loc, they will like to auto populate the plant and material number into the text field.
Step 1: Go to the relevant SPRO and look for the documentation.




SAP COMMUNITY NETWORK                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                          3
Steps for Finding User-Exit or Badi’s



Step 2: Click on documentation button      , it will display all the available user exits.




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                       4
Steps for Finding User-Exit or Badi’s



Method 2: (Function Module Exit)
Business Scenario: You want to check, whether there is any suitable exit available before vendor creation
using transaction code XK01.
Step 1: Go to transaction code SE93, enter transaction code XK01. Press Display




Step 2: Copy the program name that is tied to the transaction code.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     5
Steps for Finding User-Exit or Badi’s


Step 3: Go to transaction code SE37, enter Function module name as EXIT_<Program name>_* as shown
below.

Note: Here program name which is identified in step 2.




Step 4: Press F4, value help. You will see all the available list of function modules.




As this document aim is to identify the user exits, I am not explaining much about the implementation of
these user-exits or function module exits.




SAP COMMUNITY NETWORK                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                         6
Steps for Finding User-Exit or Badi’s



Method 3: (Identifying BADI)
Business Scenario: You want to warn the user whenever user SAVE incoming invoice with zero amount in
transaction code MIRO.
Here in this scenario, we will identify the list of BADI’s that are available for MIRO transaction code. I will be
using de-bugging technique here to identify the BADI.
Overview of Debugging Keys:
 Key          Description Action
 F5           Single step Execute one line at a time, even if it is nested
                          Execute one line at a time, only if it is not
 F6           Execute
                          nested.
 F7           Return      Return to next higher level..
                          Keep running till finish or next
 F8           Continue
                          breakpoint….whichever is comes earlier.
Steps involved in identifying the BADI.
1) Go to transaction code SE37, and enter the following function module name
“SXV_GET_CLIF_BY_NAME”, press display




2) Set a break-point, by selecting first line and clicking stop icon as highlighted below.




SAP COMMUNITY NETWORK                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                         7
Steps for Finding User-Exit or Badi’s


3) Run transaction code MIRO, program will stop at the break point that is set in step 2.
Double click on the name variable; it will display all the BADI’s used in MIRO. Press F8 to find all BADI’s.
Example: MRM_TRANSACT_DEFAULT (BADI name, Use SE18 to see the BADI attributes)




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      8
Steps for Finding User-Exit or Badi’s



4) As our intention is to find a BADI, when the save button is clicked in MIRO.
Enter all the required information and press SAVE, as shown




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      9
Steps for Finding User-Exit or Badi’s



5) It will stop you in debugging mode; by pressing F8 it will show all the available BADI’s that are tied to
MIRO save option.




Make use of the relevant BADI that suits your requirement. Here in this Scenario “INVOICE_UPDATE” BADI
will fulfill the requirement.




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                       10
Steps for Finding User-Exit or Badi’s




Related Content
www.help.sap.com
For more information, visit the ABAP homepage




SAP COMMUNITY NETWORK               SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                   11
Steps for Finding User-Exit or Badi’s




Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.




SAP COMMUNITY NETWORK                            SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                12

More Related Content

PDF
Sap fico tutorial
PPTX
SAP Adobe forms
PDF
SAP SD Copy Controls
DOC
User exits
PDF
Sap fi configuration
PDF
PDF
Business partner-2
 
PDF
Sap SD Standard Reports
Sap fico tutorial
SAP Adobe forms
SAP SD Copy Controls
User exits
Sap fi configuration
Business partner-2
 
Sap SD Standard Reports

What's hot (20)

PDF
Subcontracting process jobwork in gst
DOCX
FS for FICO
PPTX
SAP BADI Implementation Learning for Functional Consultant
PDF
VOFM Routine
PDF
Sap Overview pdf
PDF
Funds management configuration sap ag
DOC
Important Interview questions in SAP CO
DOC
Sap abap interview questions
PPTX
New Asset Accounting in S4 HANA
DOC
Important tables for sap sd
DOCX
Revenue account determination
PDF
Sap co profit center accounting
PDF
Enterprise structure in sap fico
PDF
Availability Check in SAP SD
DOC
SAP CO Configuration Guide - Exclusive Document
DOCX
Sap sd important interview concepts
PDF
Consignment process
PDF
Route determination
PPTX
SAP IDoc Overview and Outbound IDoc.pptx
PDF
Quick sap co configuration Internal Order
Subcontracting process jobwork in gst
FS for FICO
SAP BADI Implementation Learning for Functional Consultant
VOFM Routine
Sap Overview pdf
Funds management configuration sap ag
Important Interview questions in SAP CO
Sap abap interview questions
New Asset Accounting in S4 HANA
Important tables for sap sd
Revenue account determination
Sap co profit center accounting
Enterprise structure in sap fico
Availability Check in SAP SD
SAP CO Configuration Guide - Exclusive Document
Sap sd important interview concepts
Consignment process
Route determination
SAP IDoc Overview and Outbound IDoc.pptx
Quick sap co configuration Internal Order
Ad

Similar to Find out userexits in sap (20)

PPTX
11 Enhancements & Modifications.pptx
PDF
Variables in sap bi
PDF
How to find user exits
PDF
Abap sample
PDF
Version management of abap programs
PPT
User exit training
PDF
End user experience monitoring
PDF
DOCX
Functional module
PPTX
CReatror_SPecial_5588778XXX55herebat.pptx
PPT
Accounts Receivable_2011-5-13 17-5-16117.PPT
DOCX
PDF
Receive payment flowe
PPTX
SAP Tips and Tricks for Automation Developers from ABAP Developer
DOCX
Sap index
PDF
Sap bw abap_analyzer_v3_4_ppt
PDF
Badi
DOC
SAP FI Configuration guide and enduser manual
PDF
Abap sample code
11 Enhancements & Modifications.pptx
Variables in sap bi
How to find user exits
Abap sample
Version management of abap programs
User exit training
End user experience monitoring
Functional module
CReatror_SPecial_5588778XXX55herebat.pptx
Accounts Receivable_2011-5-13 17-5-16117.PPT
Receive payment flowe
SAP Tips and Tricks for Automation Developers from ABAP Developer
Sap index
Sap bw abap_analyzer_v3_4_ppt
Badi
SAP FI Configuration guide and enduser manual
Abap sample code
Ad

More from Dau Thanh Hai (8)

PDF
What is the equity method
PDF
Equity method investments and Joint ventures
DOCX
Carryforward with posting in SAP
DOCX
Aggregation with DMEE in SAP
PDF
SAP User experience strategy
PDF
Cost component structure
PDF
File format description of mt940
PPTX
Dunning process
What is the equity method
Equity method investments and Joint ventures
Carryforward with posting in SAP
Aggregation with DMEE in SAP
SAP User experience strategy
Cost component structure
File format description of mt940
Dunning process

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Empathic Computing: Creating Shared Understanding
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Spectroscopy.pptx food analysis technology
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Empathic Computing: Creating Shared Understanding
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
The AUB Centre for AI in Media Proposal.docx
Spectroscopy.pptx food analysis technology

Find out userexits in sap

  • 1. Steps for Finding User-Exit or Badi’s Applies to: SAP ECC 6.0. For more information, visit the ABAP homepage. Summary This document helps people to find the corresponding user exit or BADI available for SAP standard transaction code. Author: Sai Ram Reddy Neelapu Company: Atos Origin - Singapore Created on: 23 March 2011 Author Bio Sai Ram Reddy Neelapu is working as Sr. ABAP Consultant in Atos Origin for past 5+ years. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1
  • 2. Steps for Finding User-Exit or Badi’s Table of Contents Purpose of Enhancements ................................................................................................................................. 3 Steps to find USEREXIT or BADI ................................................................................................................... 3 Method 1: (User Exits) ................................................................................................................................................. 3 Method 2: (Function Module Exit) ................................................................................................................................ 5 Method 3: (Identifying BADI) ........................................................................................................................................ 7 Related Content ................................................................................................................................................ 11 Disclaimer and Liability Notice .......................................................................................................................... 12 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2
  • 3. Steps for Finding User-Exit or Badi’s Purpose of Enhancements User-Exits or BADI allow you to add own functionality to SAP standard screen without modifying the standard program. User-exits are generally collected in includes and attached in standard program by SAP. As this document is intended mainly to find the list of user exits or BADI that are tied to standard transaction code, I don’t want to talk much about the technical side. Steps to find USEREXIT or BADI List of Transaction code related to USEREXIT and BADI’s  CMOD  SMOD  SE18  Business Add-Ins: Definitions Firstly, I will show you how to find the list of User-Exit that are available for standard transaction code. Note: There are few different ways of finding out user-exit or BADI’s, out of which below scenarios are few ways of doing it. Method 1: (User Exits) Business Scenario: When plant 101 store users are performing 311 movement type transfer from store to production in loc, they will like to auto populate the plant and material number into the text field. Step 1: Go to the relevant SPRO and look for the documentation. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3
  • 4. Steps for Finding User-Exit or Badi’s Step 2: Click on documentation button , it will display all the available user exits. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4
  • 5. Steps for Finding User-Exit or Badi’s Method 2: (Function Module Exit) Business Scenario: You want to check, whether there is any suitable exit available before vendor creation using transaction code XK01. Step 1: Go to transaction code SE93, enter transaction code XK01. Press Display Step 2: Copy the program name that is tied to the transaction code. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5
  • 6. Steps for Finding User-Exit or Badi’s Step 3: Go to transaction code SE37, enter Function module name as EXIT_<Program name>_* as shown below. Note: Here program name which is identified in step 2. Step 4: Press F4, value help. You will see all the available list of function modules. As this document aim is to identify the user exits, I am not explaining much about the implementation of these user-exits or function module exits. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6
  • 7. Steps for Finding User-Exit or Badi’s Method 3: (Identifying BADI) Business Scenario: You want to warn the user whenever user SAVE incoming invoice with zero amount in transaction code MIRO. Here in this scenario, we will identify the list of BADI’s that are available for MIRO transaction code. I will be using de-bugging technique here to identify the BADI. Overview of Debugging Keys: Key Description Action F5 Single step Execute one line at a time, even if it is nested Execute one line at a time, only if it is not F6 Execute nested. F7 Return Return to next higher level.. Keep running till finish or next F8 Continue breakpoint….whichever is comes earlier. Steps involved in identifying the BADI. 1) Go to transaction code SE37, and enter the following function module name “SXV_GET_CLIF_BY_NAME”, press display 2) Set a break-point, by selecting first line and clicking stop icon as highlighted below. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7
  • 8. Steps for Finding User-Exit or Badi’s 3) Run transaction code MIRO, program will stop at the break point that is set in step 2. Double click on the name variable; it will display all the BADI’s used in MIRO. Press F8 to find all BADI’s. Example: MRM_TRANSACT_DEFAULT (BADI name, Use SE18 to see the BADI attributes) SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8
  • 9. Steps for Finding User-Exit or Badi’s 4) As our intention is to find a BADI, when the save button is clicked in MIRO. Enter all the required information and press SAVE, as shown SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9
  • 10. Steps for Finding User-Exit or Badi’s 5) It will stop you in debugging mode; by pressing F8 it will show all the available BADI’s that are tied to MIRO save option. Make use of the relevant BADI that suits your requirement. Here in this Scenario “INVOICE_UPDATE” BADI will fulfill the requirement. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10
  • 11. Steps for Finding User-Exit or Badi’s Related Content www.help.sap.com For more information, visit the ABAP homepage SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11
  • 12. Steps for Finding User-Exit or Badi’s Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 12