SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Listing and Exclusion Change History Functionality in SAP
Listing and Exclusion Change History Functionality in SAPListing and Exclusion Change History Functionality in SAP
Listing and Exclusion Change History Functionality in SAPVijay Pisipaty
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i docrupesh chouhan
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.ANILKUMARPULIPATI1
 
SAP Automatic batch determination
SAP Automatic batch determinationSAP Automatic batch determination
SAP Automatic batch determinationAmit Pandey
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearingFarooq Wangde
 
Pricing Routine In Vofm
Pricing Routine In VofmPricing Routine In Vofm
Pricing Routine In Vofmgueste6b4e7
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap agLluckyy
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Ashish Saxena
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.docKranthi Kumar
 
80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-ficoSrinivas Y
 
Automatic batch determination based on shelf life
Automatic batch determination based on shelf lifeAutomatic batch determination based on shelf life
Automatic batch determination based on shelf lifeMauricio Beltran
 
Asset Accounting Configuration
Asset Accounting Configuration Asset Accounting Configuration
Asset Accounting Configuration marazban
 
Sap cs standard process document
Sap cs standard process document Sap cs standard process document
Sap cs standard process document Mohit2385
 
Intra company transfer pricing using sap material ledger
Intra company transfer pricing using sap material ledgerIntra company transfer pricing using sap material ledger
Intra company transfer pricing using sap material ledgerRajesh Shanbhag
 
Configuration documentation wm
Configuration documentation wmConfiguration documentation wm
Configuration documentation wmJoseph JO
 
Vertex Configuration Guide. A to Z Steps with Description.
Vertex Configuration Guide. A to Z Steps with Description.Vertex Configuration Guide. A to Z Steps with Description.
Vertex Configuration Guide. A to Z Steps with Description.Keyur Mistry
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SDMohammed Azhad
 

Was ist angesagt? (20)

SAP data archiving
SAP data archivingSAP data archiving
SAP data archiving
 
Listing and Exclusion Change History Functionality in SAP
Listing and Exclusion Change History Functionality in SAPListing and Exclusion Change History Functionality in SAP
Listing and Exclusion Change History Functionality in SAP
 
Business Area in SAP FI
Business Area in SAP FIBusiness Area in SAP FI
Business Area in SAP FI
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i doc
 
Fi vendor ageing functional spec.
Fi vendor ageing functional spec.Fi vendor ageing functional spec.
Fi vendor ageing functional spec.
 
SAP Automatic batch determination
SAP Automatic batch determinationSAP Automatic batch determination
SAP Automatic batch determination
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearing
 
Pricing Routine In Vofm
Pricing Routine In VofmPricing Routine In Vofm
Pricing Routine In Vofm
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
 
S4Finance
S4FinanceS4Finance
S4Finance
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico80467542 asset-closing-in-sap-fico
80467542 asset-closing-in-sap-fico
 
Automatic batch determination based on shelf life
Automatic batch determination based on shelf lifeAutomatic batch determination based on shelf life
Automatic batch determination based on shelf life
 
Asset Accounting Configuration
Asset Accounting Configuration Asset Accounting Configuration
Asset Accounting Configuration
 
Sap cs standard process document
Sap cs standard process document Sap cs standard process document
Sap cs standard process document
 
Intra company transfer pricing using sap material ledger
Intra company transfer pricing using sap material ledgerIntra company transfer pricing using sap material ledger
Intra company transfer pricing using sap material ledger
 
Configuration documentation wm
Configuration documentation wmConfiguration documentation wm
Configuration documentation wm
 
Vertex Configuration Guide. A to Z Steps with Description.
Vertex Configuration Guide. A to Z Steps with Description.Vertex Configuration Guide. A to Z Steps with Description.
Vertex Configuration Guide. A to Z Steps with Description.
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SD
 

Ähnlich wie Find out userexits in sap

Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creationyoung moon woo
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idAshwin Mane
 
Transaction launcher
Transaction launcherTransaction launcher
Transaction launcherkalyan238
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsHicham Khallouki
 
Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerShailendra Surana
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerbsm fico
 
Hr structural auths
Hr   structural authsHr   structural auths
Hr structural authshkodali
 
troubleshooting Fiori.pdf
troubleshooting Fiori.pdftroubleshooting Fiori.pdf
troubleshooting Fiori.pdfpraveenRapeti3
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancementsJNTU University
 
inter-company-reconciliation in SAP
inter-company-reconciliation in SAPinter-company-reconciliation in SAP
inter-company-reconciliation in SAPRajeev Kumar
 
SAP Adding fields to dynamic selection for fbln transactions (2)
SAP Adding fields to dynamic selection for fbln transactions (2)SAP Adding fields to dynamic selection for fbln transactions (2)
SAP Adding fields to dynamic selection for fbln transactions (2)Imran M Arab
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodologyJNTU University
 
Generating SBOMS FROM FOSS (Detecting OSS licences)
Generating SBOMS FROM FOSS (Detecting OSS licences)Generating SBOMS FROM FOSS (Detecting OSS licences)
Generating SBOMS FROM FOSS (Detecting OSS licences)Thierry Gayet
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bwRajat Agrawal
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6Imran M Arab
 

Ähnlich wie Find out userexits in sap (20)

Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user id
 
Query
QueryQuery
Query
 
Transaction launcher
Transaction launcherTransaction launcher
Transaction launcher
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
 
Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewer
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
 
Hr structural auths
Hr   structural authsHr   structural auths
Hr structural auths
 
troubleshooting Fiori.pdf
troubleshooting Fiori.pdftroubleshooting Fiori.pdf
troubleshooting Fiori.pdf
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
 
inter-company-reconciliation in SAP
inter-company-reconciliation in SAPinter-company-reconciliation in SAP
inter-company-reconciliation in SAP
 
SAP Adding fields to dynamic selection for fbln transactions (2)
SAP Adding fields to dynamic selection for fbln transactions (2)SAP Adding fields to dynamic selection for fbln transactions (2)
SAP Adding fields to dynamic selection for fbln transactions (2)
 
022006 zaidi badi
022006   zaidi badi022006   zaidi badi
022006 zaidi badi
 
Sso Mac
Sso MacSso Mac
Sso Mac
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
Process chain
Process chainProcess chain
Process chain
 
Generating SBOMS FROM FOSS (Detecting OSS licences)
Generating SBOMS FROM FOSS (Detecting OSS licences)Generating SBOMS FROM FOSS (Detecting OSS licences)
Generating SBOMS FROM FOSS (Detecting OSS licences)
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bw
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6
 

Mehr von Dau Thanh Hai

What is the equity method
What is the equity methodWhat is the equity method
What is the equity methodDau Thanh Hai
 
Equity method investments and Joint ventures
Equity method investments and Joint venturesEquity method investments and Joint ventures
Equity method investments and Joint venturesDau Thanh Hai
 
Carryforward with posting in SAP
Carryforward with posting in SAPCarryforward with posting in SAP
Carryforward with posting in SAPDau Thanh Hai
 
Aggregation with DMEE in SAP
Aggregation with DMEE in SAPAggregation with DMEE in SAP
Aggregation with DMEE in SAPDau Thanh Hai
 
SAP User experience strategy
SAP User experience strategySAP User experience strategy
SAP User experience strategyDau Thanh Hai
 
Cost component structure
Cost component structureCost component structure
Cost component structureDau Thanh Hai
 
File format description of mt940
File format description of mt940File format description of mt940
File format description of mt940Dau Thanh Hai
 

Mehr von Dau Thanh Hai (8)

What is the equity method
What is the equity methodWhat is the equity method
What is the equity method
 
Equity method investments and Joint ventures
Equity method investments and Joint venturesEquity method investments and Joint ventures
Equity method investments and Joint ventures
 
Carryforward with posting in SAP
Carryforward with posting in SAPCarryforward with posting in SAP
Carryforward with posting in SAP
 
Aggregation with DMEE in SAP
Aggregation with DMEE in SAPAggregation with DMEE in SAP
Aggregation with DMEE in SAP
 
SAP User experience strategy
SAP User experience strategySAP User experience strategy
SAP User experience strategy
 
Cost component structure
Cost component structureCost component structure
Cost component structure
 
File format description of mt940
File format description of mt940File format description of mt940
File format description of mt940
 
Dunning process
Dunning processDunning process
Dunning process
 

Kürzlich hochgeladen

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Kürzlich hochgeladen (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

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