<?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 accessing table line with deep structure from dynamic table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259600#M1986950</link>
    <description>&lt;P&gt;Dear sir,&lt;/P&gt;
  &lt;P&gt;How you access a deep structure from a dynamic table, I am trying to access the deep structure here.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1832896-pic1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;it consists of&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1832897-pics.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Please advice.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 10:07:06 GMT</pubDate>
    <dc:creator>former_member641612</dc:creator>
    <dc:date>2020-08-11T10:07:06Z</dc:date>
    <item>
      <title>accessing table line with deep structure from dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259600#M1986950</link>
      <description>&lt;P&gt;Dear sir,&lt;/P&gt;
  &lt;P&gt;How you access a deep structure from a dynamic table, I am trying to access the deep structure here.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1832896-pic1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;it consists of&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1832897-pics.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Please advice.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 10:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259600#M1986950</guid>
      <dc:creator>former_member641612</dc:creator>
      <dc:date>2020-08-11T10:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: accessing table line with deep structure from dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259601#M1986951</link>
      <description>&lt;P&gt;Provide your code &lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 10:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259601#M1986951</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-08-11T10:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: accessing table line with deep structure from dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259602#M1986952</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;samindra&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Maybe something like this will work, although there might be errors, I'm not able to check now.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  ld_row TYPE REF TO data.

FIELD-SYMBOLS:
  &amp;lt;lv_field&amp;gt; TYPE any,
  &amp;lt;ld_data&amp;gt; TYPE REF TO data,
  &amp;lt;ls_row&amp;gt; TYPE any.

CREATE DATA ld_row LIKE LINE OF &amp;lt;data&amp;gt;.
ASSIGN ld_row-&amp;gt;* TO &amp;lt;ls_row&amp;gt;.

READ TABLE &amp;lt;data&amp;gt; ASSIGNING &amp;lt;ls_row&amp;gt; INDEX 1.
CHECK sy-subrc = 0.

ASSIGN COMPONENT 'ALERT' OF STRUCTURE &amp;lt;ls_row&amp;gt; TO &amp;lt;ld_data&amp;gt;.
CHECK sy-subrc = 0.

ASSIGN COMPONENT 'FIELD_NAME' OF STRUCTURE &amp;lt;ld_data&amp;gt;-&amp;gt;* TO &amp;lt;lv_field&amp;gt;.
CHECK sy-subrc = 0.&lt;/CODE&gt;&lt;/PRE&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Tue, 11 Aug 2020 10:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259602#M1986952</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-08-11T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: accessing table line with deep structure from dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259603#M1986953</link>
      <description>&lt;P&gt;You access the "deep structure" the same way as a "flat structure". In fact, your screenshot shows that the lines of the table are made of &lt;STRONG&gt;data references&lt;/STRONG&gt; (especially it's a reference to a structure) so your question is more about how to &lt;STRONG&gt;dereference&lt;/STRONG&gt; a data reference -&amp;gt; See Mateusz answer.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 11:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259603#M1986953</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-11T11:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: accessing table line with deep structure from dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259604#M1986954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The dereferencing is as follows. Even though it is an old post, but it will be a reference for many users.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS:&amp;lt;fs_table&amp;gt;  TYPE table.&lt;/P&gt;&lt;P&gt; ASSIGN lr_data-&amp;gt;* TO &amp;lt;fs_table&amp;gt;. &lt;/P&gt;&lt;P&gt;    READ TABLE &amp;lt;fs_table&amp;gt; ASSIGNING FIELD-SYMBOL(&amp;lt;fs_struct&amp;gt;) INDEX 1. &lt;/P&gt;&lt;P&gt;    ASSIGN &amp;lt;fs_struct&amp;gt;-&amp;gt;* to FIELD-SYMBOL(&amp;lt;fs_data&amp;gt;). &lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT 'ENTITYID' OF STRUCTURE &amp;lt;fs_data&amp;gt; TO FIELD-SYMBOL(&amp;lt;fs_entityid&amp;gt;). &lt;/P&gt;&lt;P&gt;    ASSIGN &amp;lt;fs_entityid&amp;gt;-&amp;gt;* to FIELD-SYMBOL(&amp;lt;fs_value&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957792-pic1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957793-pic2.png" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saran.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 17:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-table-line-with-deep-structure-from-dynamic-table/m-p/12259604#M1986954</guid>
      <dc:creator>former_member213475</dc:creator>
      <dc:date>2021-07-22T17:17:35Z</dc:date>
    </item>
  </channel>
</rss>

