<?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: Breakpoint on variable read in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703191#M1452668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;in such a case where you do not know the source name, target name, function module name, etc... it is difficult to suggest where to place breakpoint. As you said that you are using ALV classes, so you can place breakpoint in the class interface code where the data extraction is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked 'stylefname' property of ALV layout. It is used to pass the name of the cell table for displaying cells as pushbuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go through the below link for ALV grid control page 18 for Layout Adjustments:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907?quicklink=index&amp;amp;overridelayout=true" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mostly we can get the stripped pattern in ALV grid by setting 'zebra' property of layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Mar 2010 22:43:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-22T22:43:38Z</dc:date>
    <item>
      <title>Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703183#M1452660</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;    Is it possible to set up a breakpoint on variable read/access ?&lt;/P&gt;&lt;P&gt;    i.e.&lt;/P&gt;&lt;P&gt;    MOVE var_1 to var_2.   &amp;lt;---- var_1 is being read and transferred to var_2    so debugger should break here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Little background story: I have an ALV Grid control with property stylefname = 'XXXX'. Now in every source data itab I add some entries to color individual cells. Now I would like to catch the piece of SAP code where the value is actually read and used to format the cell. (What I am trying to do is to check how are the styles interpreted and used to color font and background).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703183#M1452660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703184#M1452661</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;You can use [Watchpoint|http://help.sap.com/saphelp_nw2004s/helpdata/EN/f1/792442db42e22ce10000000a1550b0/content.htm] to stop on &lt;EM&gt;var2&lt;/EM&gt; value change. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703184#M1452661</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-22T10:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703185#M1452662</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;It was just an example. I don't need to stop on var_2 change but var_1 read. In my scenario I don't know whether the value is transferred to any other variable, and even if it is being transferred to other variable I don't know its name nor source file it might be located in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703185#M1452662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703186#M1452663</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;Create a watchpoint for a vaiable var_2 eq var_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control will stop at move statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703186#M1452663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703187#M1452664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case you can create a break-point on ABAP statements..like on 'move' or 'call function'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check function modules as some FM may be used for moving values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703187#M1452664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703188#M1452665</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;Well the problem is I'm trying to debug ALV classes. &lt;/P&gt;&lt;P&gt;Hundreds if not thousands of 'MOVE' instructions there. Move was just an example. What I'm trying to achieve is to break on variable read, being that by MOVE or IF var IS NOT INITIAL, doesn't matter. Any read access performed on the variable should be caught.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bartosz Bijak on Mar 22, 2010 11:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703188#M1452665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703189#M1452666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well in that case i guess, wherever you have this "Var1", it is being read there!&lt;/P&gt;&lt;P&gt;i.e. all the statements having var1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703189#M1452666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703190#M1452667</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;Assume this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: 
    my_var(3).

    CALL FUNCTION 'SOME_SAP_FUNCTION_I_DONT_KNOW' EXPORTING param = my_var
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to break inside SOME_SAP_FUNCTION_I_DONT_KNOW as soon as my variable is accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have rephrased the breakpoint criterion from my first post as I see it is misleading.&lt;/P&gt;&lt;P&gt;MOVE var_1 to var_2. &amp;lt;---- var_1 is being read &lt;DEL&gt;and transferred to var_2&lt;/DEL&gt; so debugger should break here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703190#M1452667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T10:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint on variable read</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703191#M1452668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;in such a case where you do not know the source name, target name, function module name, etc... it is difficult to suggest where to place breakpoint. As you said that you are using ALV classes, so you can place breakpoint in the class interface code where the data extraction is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked 'stylefname' property of ALV layout. It is used to pass the name of the cell table for displaying cells as pushbuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go through the below link for ALV grid control page 18 for Layout Adjustments:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907?quicklink=index&amp;amp;overridelayout=true" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907?quicklink=index&amp;amp;overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mostly we can get the stripped pattern in ALV grid by setting 'zebra' property of layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 22:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/breakpoint-on-variable-read/m-p/6703191#M1452668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T22:43:38Z</dc:date>
    </item>
  </channel>
</rss>

