<?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: Get row number in source code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229903#M1209017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u hve the idea of the variable that is being changed.&lt;/P&gt;&lt;P&gt;jus gve the wa-variable = value      &lt;/P&gt;&lt;P&gt;and condition as sy-tabix = 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u know to wat value this variable is being chged, u can gve that value in the condition n chk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2009 10:41:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-11T10:41:29Z</dc:date>
    <item>
      <title>Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229893#M1209007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to combine a breakpoint and a watchpoint to debug a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to set a watchpoint for a variable, but only for a specif line in my source code (combination breakpoint and watchpoint).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's possible to enter conditions for a watchpoint, but I don't know whether it's possible to define the line of the source code in the condition. I did check the system variables, but couldn't find one which keeps the current row of the source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me with my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 09:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229893#M1209007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229894#M1209008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Glenn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing you could do if you don't mind changing the source code is to put this in the line you want&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

IF variable EQ value.
BREAK-POINT.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 09:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229894#M1209008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T09:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229895#M1209009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u wan to debug a specific line, then jus gve BREAK-POINT bfore that.&lt;/P&gt;&lt;P&gt;or if ur in a loop and u wan to debug from say only 100th rec, u can gve the cond. as sy-tabix = 100 while setting the watch point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 09:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229895#M1209009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T09:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229896#M1209010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, it's standard SAP code (with an enhancement spot), so I can't use this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 09:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229896#M1209010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T09:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229897#M1209011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that it's indeed in a loop, but I have no idea at which record my variable changes to a specific value. That's the thing I want to know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229897#M1209011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229898#M1209012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if its having a large num of entries in the table..u jus need to chk by the values of sy-tabix while creating the watchpoint. if u hve debuuged it for some time, u might hve got an idea of where exactly the chg might happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229898#M1209012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229899#M1209013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glenn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the fields ABDBG-FLINE and ABDBG-CLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229899#M1209013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229900#M1209014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, what should I enter as condition for my watchpoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;variable = value AND ABDBG-CLINE = 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because it says "Unknown variable ABDBG".&lt;/P&gt;&lt;P&gt;Also, when I add the variable ABDBG in my debugger, it's unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229900#M1209014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229901#M1209015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use SY-LILLI field.It will give the current line number..&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;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229901#M1209015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229902#M1209016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this before, but the value doesn't change (it says 0) even when I go through the code by F5/F8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229902#M1209016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229903#M1209017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u hve the idea of the variable that is being changed.&lt;/P&gt;&lt;P&gt;jus gve the wa-variable = value      &lt;/P&gt;&lt;P&gt;and condition as sy-tabix = 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u know to wat value this variable is being chged, u can gve that value in the condition n chk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229903#M1209017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229904#M1209018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program is reading a file, so I can't use sy-tabix.&lt;/P&gt;&lt;P&gt;The file is very big, so there are a lot of loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can keep pushing F8 at the breakpoint to see when the variable becomes empty (the one I need), but it's taking very long to find out where this happens...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229904#M1209018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229905#M1209019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;y don u try this.&lt;/P&gt;&lt;P&gt;u say that the variable is being set to blank...right.&lt;/P&gt;&lt;P&gt;so while creating the watch point give this con. variable = ' '   "space&lt;/P&gt;&lt;P&gt;and it will take u to that record when it is being set to blank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 10:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229905#M1209019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T10:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229906#M1209020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was how I initially did it, but there is also a line in the code that clears the variable.&lt;/P&gt;&lt;P&gt;So when I create the watchpoint, it also stops at this line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 11:01:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229906#M1209020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T11:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get row number in source code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229907#M1209021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as uknow the line which clears the variable, instead of watchpoint keep a break point there and press F8. chk at which record this is cleared.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 11:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-row-number-in-source-code/m-p/5229907#M1209021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T11:29:21Z</dc:date>
    </item>
  </channel>
</rss>

