<?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: Debugging ABAP Object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671756#M1575175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the class which implements this interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I checked the interface and there is no attribute GT_BSART_TYPES which implies that this comes from the class metioned above.&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>Wed, 09 Mar 2011 08:28:34 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2011-03-09T08:28:34Z</dc:date>
    <item>
      <title>Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671749#M1575168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, I have to admit that i'm not familiar with ABAP Object at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debugging, I arrived at IF_EX_AT_CONS_PROCESSING~SET_POSTAB_CONS_ORDER.&lt;/P&gt;&lt;P&gt;In there, there is a variable (GT_BSART_TYPES) the value of which i'd like to know how it comes from.&lt;/P&gt;&lt;P&gt;When I first entered the method, the variable already has the value which means the value has been passed from somewhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the variable name 'GT_BSART_TYPES' in SE24, tab Attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is how the variable gets the value?&lt;/P&gt;&lt;P&gt;I'd like debug it by putting a breakpoint somewhere but i have no idea where I should put it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 13:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671749#M1575168</guid>
      <dc:creator>former_member431874</dc:creator>
      <dc:date>2011-03-08T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671750#M1575169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the debugger , there is an option to create watch point for the variables . You should create a watch point for that variable . So whenever the variable value changes , it will hit the watch point &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;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 13:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671750#M1575169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T13:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671751#M1575170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; In the debugger , there is an option to create watch point for the variables . You should create a watch point for that variable . So whenever the variable value changes , it will hit the watch point &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Arshad&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Arshad. Thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't do that. Here is the reason:&lt;/P&gt;&lt;P&gt;When debugging, before I enter the method SET_POSTAB_CONS_ORDER, I can't see the variable, so I can't create a watch point. Only when in the method, I can see it. However, at the moment I enter the method, it already has a value assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I what to know is how the variable got its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 03:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671751#M1575170</guid>
      <dc:creator>former_member431874</dc:creator>
      <dc:date>2011-03-09T03:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671752#M1575171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;          could you pelase tell the transaction that you  are debugging??&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 05:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671752#M1575171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T05:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671753#M1575172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's WA08 (a transaction in IS-Retail).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 06:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671753#M1575172</guid>
      <dc:creator>former_member431874</dc:creator>
      <dc:date>2011-03-09T06:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671754#M1575173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if it is a static variable it can be initialized in static constructor. Also this can happen in normal constructor (in case it is an instance attribute), so please check them both.&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>Wed, 09 Mar 2011 07:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671754#M1575173</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-03-09T07:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671755#M1575174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Well, if it is a static variable it can be initialized in static constructor. Also this can happen in normal constructor (in case it is an instance attribute), so please check them both.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards&lt;/P&gt;&lt;P&gt;&amp;gt; Marcin&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Marcin. That's interesting.&lt;/P&gt;&lt;P&gt;Where can I see the static and normal constructor?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 08:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671755#M1575174</guid>
      <dc:creator>former_member431874</dc:creator>
      <dc:date>2011-03-09T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671756#M1575175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the class which implements this interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I checked the interface and there is no attribute GT_BSART_TYPES which implies that this comes from the class metioned above.&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>Wed, 09 Mar 2011 08:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671756#M1575175</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-03-09T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging ABAP Object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671757#M1575176</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;Looks like you've run into a BAdI implementation. Perform "where-used" for the attriburte GT_BSART_TYPES &amp;amp; you'll find where exactly the value is getting populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our ISU system we've a std. BAdI implementation CL_IM_AT_CONS_PROCESSING. Inside the method SET_POSTAB_CONS_ORDER, the table GT_BSART_TYPES is getting populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE gt_bsart_types INTO l_bsart_types_line
                              WITH KEY bsart = im_aubsi-bsart.

    IF sy-subrc &amp;lt;&amp;gt; 0.
      .........
      APPEND l_bsart_types_line TO gt_bsart_types.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 09:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-abap-object/m-p/7671757#M1575176</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-09T09:00:59Z</dc:date>
    </item>
  </channel>
</rss>

