<?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: Split text to dymainc internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754216#M2021990</link>
    <description>&lt;P&gt;Hi Siswanto Tan.&lt;/P&gt;&lt;P&gt;I am using the below syntax &lt;/P&gt;&lt;P&gt;SPLIT lwa_data AT cl_abap_char_utilities=&amp;gt;horizontal_tab INTO TABLE &amp;lt;fs_dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;but it gives data like this.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179547-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks with Regards,&lt;/P&gt;&lt;P&gt;Vallamuthu M&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 08:37:00 GMT</pubDate>
    <dc:creator>vallamuthu_madheswaran2</dc:creator>
    <dc:date>2023-06-19T08:37:00Z</dc:date>
    <item>
      <title>Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754213#M2021987</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;
  &lt;P&gt;I am creating a dynamic internal table based on the condition table and downloading the internal table as Excel.&lt;/P&gt;
  &lt;P&gt;Fill in the data and upload the Excel. Now how to split the data and put it in the dynamic internal table.&lt;/P&gt;
  &lt;P&gt;The below image is uploaded excel data&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179545-uploaded-data.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;I want to split the data and pass it to a dynamic internal table. Kindly find the below screen shot.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179546-dynamic-table.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks with regards,&lt;/P&gt;
  &lt;P&gt;Vallamuthu M.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754213#M2021987</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2023-06-19T07:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754214#M2021988</link>
      <description>&lt;P&gt;If you don't give an example, you will receive either lots of miscellaneous answers which don't match your question, or no answer at all...&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754214#M2021988</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-19T07:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754215#M2021989</link>
      <description>&lt;P&gt;you already create the dynamic itab, so just use the split ... at ... syntax. what are you confused with?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 08:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754215#M2021989</guid>
      <dc:creator>xiswanto</dc:creator>
      <dc:date>2023-06-19T08:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754216#M2021990</link>
      <description>&lt;P&gt;Hi Siswanto Tan.&lt;/P&gt;&lt;P&gt;I am using the below syntax &lt;/P&gt;&lt;P&gt;SPLIT lwa_data AT cl_abap_char_utilities=&amp;gt;horizontal_tab INTO TABLE &amp;lt;fs_dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;but it gives data like this.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179547-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks with Regards,&lt;/P&gt;&lt;P&gt;Vallamuthu M&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 08:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754216#M2021990</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2023-06-19T08:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754217#M2021991</link>
      <description>&lt;P&gt;based on your data, I don't think you could split the result into the itab directly, you should split the data into the workarea. &lt;/P&gt;&lt;P&gt;Not sure if there is a more straightforward way to do so, but I could propose another option.&lt;/P&gt;&lt;P&gt;another way to do:&lt;BR /&gt;1. keep track of the fields in dynamic itab ( such as field 1: VKORG, field 2: VTWEG, etc ) ,preferably store the field name in a string itab ( named it_field_name ).&lt;BR /&gt;2. split the lwa_data into another string itab ( named it_temp_value ).&lt;BR /&gt;3. loop at it_temp_value, read it_field_name based on the sy-tabix of current loop ( if you don't store the field name, then hardcode the field name based on the sy-tabix position ), ASSIGN it_temp_value INTO &amp;lt;fs_field&amp;gt; ( refer to workarea name with the same structure ), and you can fill in &amp;lt;fs_field&amp;gt; value with it_temp_value. Finally, you can append work area or field symbol with same dynamic structure into &amp;lt;fs_dyn_table&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 09:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754217#M2021991</guid>
      <dc:creator>xiswanto</dc:creator>
      <dc:date>2023-06-19T09:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754218#M2021992</link>
      <description>&lt;P&gt;To be short: use an intermediate internal table to contain only the field values, don't store directly in &amp;lt;fs_dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;NB: if you search the forum concerning "dynamic internal tables", you will find &lt;STRONG&gt;ASSIGN COMPONENT&lt;/STRONG&gt; everywhere. Do you understand how it works?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 09:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754218#M2021992</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-19T09:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754219#M2021993</link>
      <description>&lt;P&gt;You know that in this context # means undisplayable character (and possibly #). So while it will work for your string, it won't if the string is, e.g. a horizontal tab as in the original post.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 11:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754219#M2021993</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2023-06-19T11:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754220#M2021994</link>
      <description>&lt;P&gt;The OP has mentioned:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SPLIT lwa_data AT cl_abap_char_utilities=&amp;gt;horizontal_tab ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2023 11:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754220#M2021994</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-19T11:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Split text to dymainc internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754221#M2021995</link>
      <description>&lt;P&gt;Please check the function (sm37) GUI_UPLOAD with the parameter HAS_FIELD_SEPARATOR&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 08:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-text-to-dymainc-internal-table/m-p/12754221#M2021995</guid>
      <dc:creator>ThorstenHoefer</dc:creator>
      <dc:date>2023-06-20T08:04:43Z</dc:date>
    </item>
  </channel>
</rss>

