<?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: Advanced debugging feature in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926285#M1964290</link>
    <description>&lt;P&gt;So, in case I need to debug standard programs in the production server, I have no other option but to go line by line ? Do you know any way I can jump to certain commands/FMs,forms etc. using the "breakpoint at" command and their inputs ? I only found blogs regarding checking of messages and authority check.&lt;/P&gt;&lt;P&gt;&lt;A href="https://archive.sap.com/documents/docs/DOC-53035"&gt;https://archive.sap.com/documents/docs/DOC-53035&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2014/03/19/how-to-analyze-authorization-issues-in-debug/"&gt;https://blogs.sap.com/2014/03/19/how-to-analyze-authorization-issues-in-debug/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 08:57:07 GMT</pubDate>
    <dc:creator>manish_malakar0316</dc:creator>
    <dc:date>2019-03-29T08:57:07Z</dc:date>
    <item>
      <title>Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926279#M1964284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have a couple of queries regarding some advanced debugging features in ABAP. I tried searching in the forum, but unfortunately I didnt get any blog regarding my kind of scenario.&lt;/P&gt;
  &lt;P&gt;Most of the times in my project, abapers need to debug in production to find the root cause of the issue. Now many developers dont have authorization in the production environment to use command like "Goto statement" by which we can go back or skip a few lines of the code to see what happens. &lt;/P&gt;
  &lt;P&gt;Scenario 1)&lt;/P&gt;
  &lt;P&gt;In the production server, since I cannot use "Goto statement" due to no authorization, how can I use the "breakpoint at" command to directly keep my breakpoint at line 682 instead of going line by line using "/h" command ?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1652501-capture7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I tried it myself, but I do not know what inputs I need to put in the below screen in the source code tab :&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1652502-capture7.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Scenario 2:&lt;/P&gt;
  &lt;P&gt;I have an internal table where I need to check the condition types in it. When I do a ctrl+f with the condition type 'ZD06' for column KSCHL, it shows that in row 13 it exists.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1652503-capture1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;But when I scroll down, there is also another record which exists in line 162 for the same condition type:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1652504-capture6.png" /&gt;&lt;/P&gt;
  &lt;P&gt;So , in the above case, do I need to create watchpoints to check multiple values in the internal table or is there any other way to figure this out ?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Manish&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 06:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926279#M1964284</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-03-29T06:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926280#M1964285</link>
      <description>&lt;P&gt;Why can't you just set a breakpoint at line 682?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926280#M1964285</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-03-29T08:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926281#M1964286</link>
      <description>&lt;P&gt;S1: Not sure what authorization you have but if you can go into source code, you also can goto the line you want to debug and set break-point there, within a custom report i dont think its too hard to do, not to say easier than find the solution for goto statement...&lt;/P&gt;&lt;P&gt;S2: i think there only option to set watch point.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926281#M1964286</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-03-29T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926282#M1964287</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; I can, but I just need to know for my knowledge, that in case I come across a standard program that I need to debug and I know where the issue might be, how can I put a breakpoint there by using the "breakpoint at" statement . What inputs do I need to enter in that case.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926282#M1964287</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-03-29T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926283#M1964288</link>
      <description>&lt;P&gt; @&lt;A href="https://answers.sap.com/users/36313/quynhdoanmanh.html"&gt;Quynh Doan Manh&lt;/A&gt; I know that. But as I explained in the above comment, I need to know what inputs I can put if I need the "breakpoint at" command. Its for my own knowledge as I cant find any documentation or blog posts regarding these features. I need them as I have to debug many standard programs in the production server and I dont want to check them line by line as it is very time consuming. My scenario1 was just an example .&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926283#M1964288</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-03-29T08:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926284#M1964289</link>
      <description>&lt;P&gt;Well, in 20 years of ABAP debugging, the only time I've used breakpoint at is for authority check. I've never needed to. &lt;/P&gt;&lt;P&gt;For 2, possibly set a watchpoint for when sy-tabix = 162&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926284#M1964289</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-03-29T08:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926285#M1964290</link>
      <description>&lt;P&gt;So, in case I need to debug standard programs in the production server, I have no other option but to go line by line ? Do you know any way I can jump to certain commands/FMs,forms etc. using the "breakpoint at" command and their inputs ? I only found blogs regarding checking of messages and authority check.&lt;/P&gt;&lt;P&gt;&lt;A href="https://archive.sap.com/documents/docs/DOC-53035"&gt;https://archive.sap.com/documents/docs/DOC-53035&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2014/03/19/how-to-analyze-authorization-issues-in-debug/"&gt;https://blogs.sap.com/2014/03/19/how-to-analyze-authorization-issues-in-debug/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 08:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926285#M1964290</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-03-29T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926286#M1964291</link>
      <description>&lt;P&gt;&lt;STRONG&gt;S1 (breakpoint at source code)&lt;/STRONG&gt;: there are two screen frames, one for ABAP source code, and one for dynpro source code. So, for defining a breakpoint at line number 682 of the ABAP code, enter 682 in the ABAP screen frame, not in the dynpro frame! Now, you should be authorized to display the ABAP source code via transaction SE38 and set the breakpoint directly via the ABAP editor.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S2: your question is unclear.&lt;/STRONG&gt; Do you want to stop when a line is added or modified in internal table HKOMV which has column KSCHL = 'ZD06' ? If so, then either you find a strategy by yourself, or you create a debugger script which is triggered each time HKOMV is changed, the script should read the statement, determine the variable which contains the line and stop only if KSCHL is 'ZD06' (script not obvious to write for newbies).&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2019 09:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926286#M1964291</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-03-30T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926287#M1964292</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; S1: Yes, you are correct. I had to put the line number in the ABAP frame, not the dynpro frame. Thanks.&lt;/P&gt;&lt;P&gt;S2: I wanted to know if I can find out in which lines (rows) will I get successful hits for KSCHL = 'ZD06'. On doing a ctrl+f, it was pointing to only 1 row and after I did another ctrl+f, it didnt go to row 162. So is that done using scripts as you mentioned ? Then I need to research what debugger scripts are. My main objective was to know in how many lines will I get successful hits for the condition type ZD06.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 05:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926287#M1964292</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2019-04-01T05:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926288#M1964293</link>
      <description>&lt;P&gt;Please don't create an ANSWER to reply to someone. ANSWER is reserved for proposing a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 08:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926288#M1964293</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-01T08:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced debugging feature</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926289#M1964294</link>
      <description>&lt;A href="https://answers.sap.com/users/263021/manishmalakar0316.html"&gt;Manish Malakar&lt;/A&gt;:S2: okay, so you just want to use Ctrl+F in the variable and it worked only for the first occurrence, the second search did not find the second occurrence. You should check SAP notes, then open a ticket at SAP support.</description>
      <pubDate>Mon, 01 Apr 2019 08:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/advanced-debugging-feature/m-p/11926289#M1964294</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-01T08:08:06Z</dc:date>
    </item>
  </channel>
</rss>

