<?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 fields in dynamic table? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874828#M368003</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;There's a dynamic(?) table, with the following declaration, this table has a header line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_OUTTAB TYPE  STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugging there are a lot of fields, and I would like to use the values of these fields, and in some conditions maybe change the table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source code I can't address the fields by their name, because I got a syntax error and cannot compile the ABAP, because the table has no structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get the actual structure of this table in runtime, change the value of some fields and write the changed entries back to the table within a LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is: HOW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 09:19:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T09:19:29Z</dc:date>
    <item>
      <title>Accessing fields in dynamic table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874828#M368003</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;There's a dynamic(?) table, with the following declaration, this table has a header line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_OUTTAB TYPE  STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugging there are a lot of fields, and I would like to use the values of these fields, and in some conditions maybe change the table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source code I can't address the fields by their name, because I got a syntax error and cannot compile the ABAP, because the table has no structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get the actual structure of this table in runtime, change the value of some fields and write the changed entries back to the table within a LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is: HOW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 09:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874828#M368003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing fields in dynamic table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874829#M368004</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;use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; assign component z_index of structure T_OUTTAB  to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  &amp;lt;FS&amp;gt; = izab-field15-&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  modify &amp;lt;outab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 09:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874829#M368004</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-01-30T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing fields in dynamic table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874830#M368005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="157428"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 09:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874830#M368005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T09:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing fields in dynamic table?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874831#M368006</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;the below code for using the dyanamic table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;i_tableft&amp;gt;    TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Table for reference&lt;/P&gt;&lt;P&gt;DATA: new_tableft             TYPE REF TO data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog           = i_fieldcatft&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table                  = new_tableft&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      generate_subpool_dir_full = 1&lt;/P&gt;&lt;P&gt;      OTHERS                    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      If success, then create the internal tables.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    ASSIGN new_tableft-&amp;gt;* TO &amp;lt;i_tableft&amp;gt;.&lt;/P&gt;&lt;P&gt; CREATE DATA new_lineft LIKE LINE OF &amp;lt;i_tableft&amp;gt;.&lt;/P&gt;&lt;P&gt;    ASSIGN new_lineft-&amp;gt;* TO &amp;lt;i_lineft&amp;gt;.&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;Sarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 09:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-fields-in-dynamic-table/m-p/1874831#M368006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T09:30:45Z</dc:date>
    </item>
  </channel>
</rss>

