<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Badi's Debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675321#M885102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some good advice here.  I'd add one more point.  If you find the breakpoint doesn't trigger, deactivate then reactivate the BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 17:23:39 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-04-15T17:23:39Z</dc:date>
    <item>
      <title>Badi's Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675318#M885099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;How to Debug Badis can any one explain step by step?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675318#M885099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Badi's Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675319#M885100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging the badi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep a break point in badi implementation and run the tcode.&lt;/P&gt;&lt;P&gt;it automatically trigger ur badi implementation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to find badi in debug mode : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open the class CL_EXITHANDLER in transaction se24.&lt;/P&gt;&lt;P&gt;2. In the class open the method GET_INSTANCE by double clicking on it.&lt;/P&gt;&lt;P&gt;3. In the method set a breakpoint in the statement CALL METHOD cl_exithandler=&amp;gt;get_class_name_by_interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing the above steps execute the transaction for which you need to know the BAdIs. When the application stops at the breakpoint check the value in the CHANGING parameter EXIT_NAME in the debugger. This will contain the BAdI name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage with this way of searching for the BAdI is that you get to know at which point in time of the application the BAdI is called and how many times the BAdI is called. You can also find out BAdI at certain events, say, when you save or press enter in the transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675319#M885100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Badi's Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675320#M885101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chalapathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging of badis can be done in two ways&lt;/P&gt;&lt;P&gt;thery are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first method is by,&lt;/P&gt;&lt;P&gt;1. Open the class CL_EXITHANDLER in transaction se24.&lt;/P&gt;&lt;P&gt;2. In the class open the method GET_INSTANCE by double clicking on it.&lt;/P&gt;&lt;P&gt;3. In the method set a breakpoint in the statement CALL METHOD cl_exithandler=&amp;gt;get_class_name_by_interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing the above steps execute the transaction for which you need to know the BAdIs. When the application stops at the breakpoint check the value in the CHANGING parameter EXIT_NAME in the debugger. This will contain the BAdI name.&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second method is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se84 in that open enhancements-&amp;gt;business addins-&amp;gt;defintions &lt;/P&gt;&lt;P&gt;in that give the package of the transaction for which you want to find  the list of badis the package can be found by going to system status and then copy it&lt;/P&gt;&lt;P&gt;and you will find all teh list of badis and user exits in that you can identify it by reading teh documentation or just by keeping the break point in the particular badi and runnig it in teh debugging mode.&lt;/P&gt;&lt;P&gt;you can find all the badi triggering for for that particular badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the explanation is clear to you .&lt;/P&gt;&lt;P&gt;if you have any doubts feel free to reach me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;A.kalyan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 17:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675320#M885101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Badi's Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675321#M885102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some good advice here.  I'd add one more point.  If you find the breakpoint doesn't trigger, deactivate then reactivate the BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 17:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-s-debug/m-p/3675321#M885102</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-04-15T17:23:39Z</dc:date>
    </item>
  </channel>
</rss>

