<?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 populate dynamic internal table fields with data?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517531#M1068150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer max bianchi  reply in this thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="782269"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Sep 2008 09:03:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-20T09:03:57Z</dc:date>
    <item>
      <title>How to populate dynamic internal table fields with data??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517528#M1068147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to assign a particular internal table field to a dynamically assigned internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel sheet, and i upload the excel sheet data into an internal IT_EXLOAD table using FM ALSM_EXCEL_TO_INTERNAL_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i created a dynamic internal table which has the same column as in my DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to fill the dynamically created Internal table with the IT_EXLOAD data dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose in future if i add some field in DB table and for that field if i add some column in excel sheet there is no need to change in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sayak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 05:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517528#M1068147</guid>
      <dc:creator>RoySayak</dc:creator>
      <dc:date>2008-09-20T05:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate dynamic internal table fields with data??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517529#M1068148</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;Pls. check the below links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab030.htm" target="test_blank"&gt;http://www.sap-img.com/ab030.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="40600"&gt;&lt;/A&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;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 05:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517529#M1068148</guid>
      <dc:creator>satsrockford</dc:creator>
      <dc:date>2008-09-20T05:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate dynamic internal table fields with data??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517530#M1068149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            filename                = p_path&lt;/P&gt;&lt;P&gt;            i_begin_col             = '1'&lt;/P&gt;&lt;P&gt;            i_begin_row             = '2'&lt;/P&gt;&lt;P&gt;            i_end_col               = '2'&lt;/P&gt;&lt;P&gt;            i_end_row               = '1000'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            intern                  = intern&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;            upload_ole              = 2&lt;/P&gt;&lt;P&gt;            OTHERS                  = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*declare intern_tmp as internal table tb_data in wich you want the data&lt;/P&gt;&lt;P&gt;*and declare a field symbol &amp;lt;fs_123&amp;gt; &lt;/P&gt;&lt;P&gt;LOOP AT intern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT intern-col OF STRUCTURE&lt;/P&gt;&lt;P&gt;    intern_tmp TO &amp;lt;fs_123&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF NOT &amp;lt;fs_123&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;      CLEAR intern.&lt;/P&gt;&lt;P&gt;      CLEAR intern_tmp.&lt;/P&gt;&lt;P&gt;      CONTINUE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;fs_123&amp;gt; = intern-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    AT END OF row.&lt;/P&gt;&lt;P&gt;      CLEAR tb_data.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING: intern_tmp TO tb_data.&lt;/P&gt;&lt;P&gt;      APPEND tb_data.&lt;/P&gt;&lt;P&gt;      CLEAR intern_tmp.&lt;/P&gt;&lt;P&gt;    ENDAT.&lt;/P&gt;&lt;P&gt;    CLEAR intern.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**paste this code and you can see the data in ur tables dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitin Sachdeva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 08:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517530#M1068149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T08:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate dynamic internal table fields with data??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517531#M1068150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer max bianchi  reply in this thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="782269"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 09:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-populate-dynamic-internal-table-fields-with-data/m-p/4517531#M1068150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T09:03:57Z</dc:date>
    </item>
  </channel>
</rss>

