<?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: How to read type ref object? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350925#M1921414</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_DATA is an object, so if the structure is public, you can simply access by &lt;/P&gt;&lt;P&gt;local_structure = IS_DATA-&amp;gt;structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the structure is private you have to write a method to get it outside the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if the structure is static public, you access it by IS_DATA&lt;STRONG&gt;=&amp;gt;&lt;/STRONG&gt;strucutre)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan Seeburger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 14:34:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-10-28T14:34:25Z</dc:date>
    <item>
      <title>How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350923#M1921412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a object:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/819795" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside it has :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/819796" width="450" /&gt;&lt;/P&gt;&lt;P&gt;and inside has a strutucre that i need .&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/819893" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i get this structure with this data?&lt;/P&gt;&lt;P&gt;I try assign but didnt work.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&amp;lt;trq_id&amp;gt; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;any&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;COMPONENT &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'TRQ_ID' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STRUCTURE &lt;/SPAN&gt;IS_DATA &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&amp;lt;trq_id&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;&amp;lt;trq_id&amp;gt; &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;assigned&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&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, 28 Oct 2015 14:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350923#M1921412</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2015-10-28T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350924#M1921413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronaldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first part I want to check with you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where do you want to access the structure? if it is oustside of the class, check if you can "see" the structure is_data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350924#M1921413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-28T14:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350925#M1921414</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_DATA is an object, so if the structure is public, you can simply access by &lt;/P&gt;&lt;P&gt;local_structure = IS_DATA-&amp;gt;structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the structure is private you have to write a method to get it outside the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(if the structure is static public, you access it by IS_DATA&lt;STRONG&gt;=&amp;gt;&lt;/STRONG&gt;strucutre)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan Seeburger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350925#M1921414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-28T14:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350926#M1921415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to derefence the IS_DATA (REF TO DATA?) with an ASSIGN -&amp;gt;*&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* Dereference&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; is_data-&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;* &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;structure&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* Assign components&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ASSIGN&lt;/SPAN&gt; COMPONENT &lt;SPAN style="color: #4da616;"&gt;'TRQ_ID'&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;of&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STRUCTURE&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;structure&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;to&lt;/SPAN&gt; &lt;SPAN style="color: #800097;"&gt;&amp;lt;&lt;/SPAN&gt;trq_id&lt;SPAN style="color: #800097;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350926#M1921415</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-28T14:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350927#M1921416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;IS_DATA is an object,&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the first screenshot it shows that is_data is a structure... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is_data is a reference on data, not a reference on an instance of a class (object),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and guessing from the Type of the structure it is dynamically created&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350927#M1921416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-28T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350928#M1921417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you were faster, this should work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me explain what went wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as is_data is a reference and no structure itself it has no component with the name &lt;SPAN style="color: #333333; font-size: 12px;"&gt;trq_id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;is_data-&amp;gt;* is no reference anymore, it represents the value that reference is pointing on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350928#M1921417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-28T14:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to read type ref object?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350929#M1921418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mr Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-type-ref-object/m-p/11350929#M1921418</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2015-10-28T16:17:20Z</dc:date>
    </item>
  </channel>
</rss>

