<?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: how to debug the program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903580#M1328478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SM37  Select the job, type JDBG in the area where u enter the transaction code and press enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2009 12:16:24 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-07-22T12:16:24Z</dc:date>
    <item>
      <title>how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903573#M1328471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we scheduled a background job. It was canceled and in the job log it is showing an error message with msg id no.&lt;/P&gt;&lt;P&gt;Now i have to debug this program to find out where exactly the program is throwing this error message.&lt;/P&gt;&lt;P&gt;Please suggest me how to start debugging and how to find the statement which is throwing this msg id no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903573#M1328471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903574#M1328472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have msg id, find it where it is used in your program.&lt;/P&gt;&lt;P&gt;Mark a break point there in SE38.&lt;/P&gt;&lt;P&gt;If you are not able to trace the msg in your program due to dynamic call,&lt;/P&gt;&lt;P&gt;then before executing the program write /h at transaction Code position and press enter and then executie your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903574#M1328472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903575#M1328473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sm37 find the job select it and write jdbg to transaction window. For setting breakpoint at message statement in debug mode go breakpoint -&amp;gt; breakpoint at statement and write message to field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gungor Ozcelebi on Jul 22, 2009 2:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903575#M1328473</guid>
      <dc:creator>former_member194416</dc:creator>
      <dc:date>2009-07-22T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903576#M1328474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rams,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can debug your program through t-code se38 .&lt;/P&gt;&lt;P&gt;execute in debug mode.&lt;/P&gt;&lt;P&gt;or you can set a break-point in code and simply execute.&lt;/P&gt;&lt;P&gt;or before executing a program  give t-code /h &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in debug, go to breakpoints option in menu and click on statement.&lt;/P&gt;&lt;P&gt;give keyword 'Message '. &lt;/P&gt;&lt;P&gt;then you will be able to find where is the exact error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903576#M1328474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903577#M1328475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto you program , put a breakpoint before the line where you have written sy-batch eq 'X'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while debugging make the sy-batch to space...and debugg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903577#M1328475</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-07-22T12:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903578#M1328476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Basically You want to debug your background job right?&lt;/P&gt;&lt;P&gt;  Here is the Link To know how.&lt;/P&gt;&lt;P&gt;  &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="185784"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. select active job in sm37. &lt;/P&gt;&lt;P&gt;2. type "jdbg" command in command field. &lt;/P&gt;&lt;P&gt;No need to type /n or /o .&lt;/P&gt;&lt;P&gt;3. Double click the job , it will go in debug mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;1. Go to sm50 . &lt;/P&gt;&lt;P&gt;2. place the cursor on active job. &lt;/P&gt;&lt;P&gt;3. goto program mode&lt;DEL&gt;&amp;gt; program&lt;/DEL&gt;&amp;gt; Debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vimal V on Jul 22, 2009 2:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903578#M1328476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903579#M1328477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select job in the sm37 and run JDBG transaction so you can debug background job and the find the problem . Also check st22 to see if there is any short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you still need any more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Rajeshwar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903579#M1328477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903580#M1328478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SM37  Select the job, type JDBG in the area where u enter the transaction code and press enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903580#M1328478</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-07-22T12:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903581#M1328479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Execute the the program.&lt;/P&gt;&lt;P&gt;With /h go in debugging mode. then in the debugging mode goto Breakpoints-&amp;gt;Create breakpoints. There write MESSAGE in create breakpoints window and press enter. Now press F8 it will take u to the error message  where u r getting the error. Further u can check accordingly.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 12:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-program/m-p/5903581#M1328479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-22T12:25:04Z</dc:date>
    </item>
  </channel>
</rss>

