<?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: Loop Level in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912307#M1330012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the debugger line itself you can see what code is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and any ways. in new front end editor in SE38 shows you at what level you are in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 06:44:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-21T06:44:09Z</dc:date>
    <item>
      <title>Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912306#M1330011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be a functionality in Debug mode, if let say you have 3 loop within loops... and you want to know what level in the loop you are in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at table&lt;/P&gt;&lt;P&gt;     Loop at table&lt;/P&gt;&lt;P&gt;        Loop at table&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;You are here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        Endloop&lt;/P&gt;&lt;P&gt;    Endloop&lt;/P&gt;&lt;P&gt;Endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912306#M1330011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912307#M1330012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the debugger line itself you can see what code is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and any ways. in new front end editor in SE38 shows you at what level you are in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912307#M1330012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912308#M1330013</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;Thanks for the reply. My issue here is that, there are lots of subroutines were called. And I want to know if I am still under a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912308#M1330013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912309#M1330014</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;       If you have a new debugger, switch to it and then place the cursor on the link that you want to see scope in debugging mode, then scope of that statement appears in the FOOTER row of the debugger as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Scope \FUNCTION GET_DDIC_FIELD_INFO\IF\LOOP\LOOP\LOOP 

      "where GET_DDIC_FIELD_INFO is the function name you are debugging.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manne.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912309#M1330014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912310#M1330015</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;Refer:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : lv_text(10) TYPE c.

LOOP AT &amp;lt;itab&amp;gt;.
  lv_text = 'Loop 1'.
  LOOP AT &amp;lt;itab&amp;gt;.
    lv_text = 'Loop 2'.
    LOOP AT &amp;lt;itab&amp;gt;.
      lv_text = 'Loop 3'.
    ENDLOOP.
  ENDLOOP.
ENDLOOP.

CLEAR lv_text.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this &lt;STRONG&gt;lv_text&lt;/STRONG&gt; to know in which loop you are currently in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912310#M1330015</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-07-21T06:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912311#M1330016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see. if you want it in debugger level then its there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the debugger screen(advanced debugger) there is a level area which shows the scope.&lt;/P&gt;&lt;P&gt;this shows the scope of a particular line where the debugger cursor is currently lying. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say some example.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zsomu_1.

DATA : gt_v TYPE STANDARD TABLE OF vbak WITH HEADER LINE.

gt_v-vbeln = '0030003445'.
APPEND gt_v.

LOOP AT gt_v.
  LOOP AT gt_v.
    LOOP AT gt_v.
      WRITE: gt_v-vbeln.  " here you have kept the break point and debugger triggers here.
    ENDLOOP.
  ENDLOOP.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when debugger starts.&lt;/P&gt;&lt;P&gt;below the program lines you will find (when your cursor is on the 'WRITE STATEMENT')&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SCOPE \LOOP\LOOP\LOOP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Somu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 06:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912311#M1330016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T06:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912312#M1330017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I have said, we are using subroutines...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form f_loop.&lt;/P&gt;&lt;P&gt;loop at t_tab into w_tab.&lt;/P&gt;&lt;P&gt;  perform f_loop_2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form f_loop_2.&lt;/P&gt;&lt;P&gt;loop at t_tab into w_tab.&lt;/P&gt;&lt;P&gt;  perform f_loop_3.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form f_loop_3.&lt;/P&gt;&lt;P&gt;loop at t_tab into w_tab.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the status that you have mentioned only tells me where i am and not on how deep i am in the loop of the whole program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status: &lt;/P&gt;&lt;P&gt;when in subroutine f_loop&lt;/P&gt;&lt;P&gt;Scope \FORM f_loop\LOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when in subroutine f_loop_2&lt;/P&gt;&lt;P&gt;Scope \FORM f_loop_2\LOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 07:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912312#M1330017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T07:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912313#M1330018</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;       This is possible with NEW (advanced debugger). Did u try my approach already?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manne.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 07:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912313#M1330018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T07:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912314#M1330019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the new advanced debugger and still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 07:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-level/m-p/5912314#M1330019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T07:05:46Z</dc:date>
    </item>
  </channel>
</rss>

