<?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: [Debugger] How to get access to an object instance without reference variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176194#M1979488</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to capture an existing class instance in memory stack at the run-time.&lt;/P&gt;&lt;P&gt;This is not working. Do you know how can be this achieved. Thank you in advance.&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Hakan&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA clazz TYPE REF TO /sapsrm/cl_fpm_gaf_provider.

FIELD-SYMBOLS: &amp;lt;var&amp;gt; TYPE any.

ASSIGN '{C:/SAPSRM/CL_FPM_GAF_PROVIDER}' TO &amp;lt;var&amp;gt;.

clazz = &amp;lt;var&amp;gt;.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 08 May 2021 12:10:15 GMT</pubDate>
    <dc:creator>former_member697070</dc:creator>
    <dc:date>2021-05-08T12:10:15Z</dc:date>
    <item>
      <title>[Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176191#M1979485</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;
  &lt;P&gt;I'm curious if there is a way to get access to an object instance in Debugger if this instance hasn't been assigned to any local reference variable?&lt;/P&gt;
  &lt;P&gt;Example:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1777114-example.png" /&gt;&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;data(lv_check2) = zcl_rebate_split_singleton=&amp;gt;get_instance( )-&amp;gt;is_split_process_activated( ).&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;How do I display the instance of ZCL_REBATE_SPLIT_SINGLETON in order to see its attributes? Yes, of course, I could firstly assign the instance to some reference variable (let's say, "lo_instance"), and in the next line get the flag (lo_instance-&amp;gt;is_split_process_activated( ) ), and just display the content of lo_instance to see all its attributes... But can I achieve the same without the variable?&lt;/P&gt;
  &lt;P&gt;Not a critical question, but I'd like to know.&lt;/P&gt;
  &lt;P&gt;Thanks in advance,&lt;/P&gt;
  &lt;P&gt;Mykyta&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 15:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176191#M1979485</guid>
      <dc:creator>nikbereziuk</dc:creator>
      <dc:date>2020-02-06T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176192#M1979486</link>
      <description>&lt;P&gt;With the backend debugger, you may look at the static attributes of a class as if it was a normal variable by entering {C:classname}. In your case, it will be:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{C:zcl_rebate_split_singleton}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT: does anybody know something equivalent in the Eclipse ADT debugger ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 16:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176192#M1979486</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-02-06T16:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176193#M1979487</link>
      <description>&lt;P&gt;"Today I learned..." &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 22:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176193#M1979487</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2020-02-06T22:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176194#M1979488</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to capture an existing class instance in memory stack at the run-time.&lt;/P&gt;&lt;P&gt;This is not working. Do you know how can be this achieved. Thank you in advance.&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Hakan&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA clazz TYPE REF TO /sapsrm/cl_fpm_gaf_provider.

FIELD-SYMBOLS: &amp;lt;var&amp;gt; TYPE any.

ASSIGN '{C:/SAPSRM/CL_FPM_GAF_PROVIDER}' TO &amp;lt;var&amp;gt;.

clazz = &amp;lt;var&amp;gt;.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 May 2021 12:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176194#M1979488</guid>
      <dc:creator>former_member697070</dc:creator>
      <dc:date>2021-05-08T12:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176195#M1979489</link>
      <description>&lt;P&gt;That does not answer the question and it's not related to the debugger, please ask your own question.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 12:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176195#M1979489</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-05-08T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176196#M1979490</link>
      <description>&lt;P&gt;Should be called instance not clazz. Bad design.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 12:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176196#M1979490</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-05-08T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: [Debugger] How to get access to an object instance without reference variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176197#M1979491</link>
      <description>&lt;P&gt;Under loaded programms are various classes.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1937496-i3ezv.png" /&gt;&lt;/P&gt;&lt;P&gt;how can assign the shown reference {C:CL_DYNP_RAL_API} to &amp;lt;var&amp;gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA clazz TYPE REF TO {C:CL_DYNP_RAL_API}.

FIELD-SYMBOLS: &amp;lt;var&amp;gt; TYPE any.

ASSIGN '{C:CL_DYNP_RAL_API}' TO &amp;lt;var&amp;gt;.

clazz = &amp;lt;var&amp;gt;. "this is not working!!!&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1937497-60kmh.png" /&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;H.A.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 21:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugger-how-to-get-access-to-an-object-instance-without-reference-variable/m-p/12176197#M1979491</guid>
      <dc:creator>former_member697070</dc:creator>
      <dc:date>2021-05-10T21:57:18Z</dc:date>
    </item>
  </channel>
</rss>

