<?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 Passing data to custom table dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743775#M35596</link>
    <description>&lt;P&gt;I have uploaded a excel file using CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'. The internal table obtained from the above function is stored in t_upload.&lt;/P&gt;
  &lt;P&gt;data: t_upload type table of ZZTEST.&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;BR /&gt; EXPORTING&lt;BR /&gt; * I_FIELD_SEPERATOR =&lt;BR /&gt; I_LINE_HEADER = 'X'&lt;BR /&gt; i_tab_raw_data = it_type&lt;BR /&gt; i_filename = file_nam&lt;BR /&gt; TABLES&lt;BR /&gt; i_tab_converted_data = t_upload[]&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; conversion_failed = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;For each record in the t_upload i have to create 365 records dynamically(for 365 different days) .&lt;/P&gt;
  &lt;P&gt;How to store records dynamically in custom table 'ZZTEST'?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 16:12:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-12-21T16:12:32Z</dc:date>
    <item>
      <title>Passing data to custom table dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743775#M35596</link>
      <description>&lt;P&gt;I have uploaded a excel file using CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'. The internal table obtained from the above function is stored in t_upload.&lt;/P&gt;
  &lt;P&gt;data: t_upload type table of ZZTEST.&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;BR /&gt; EXPORTING&lt;BR /&gt; * I_FIELD_SEPERATOR =&lt;BR /&gt; I_LINE_HEADER = 'X'&lt;BR /&gt; i_tab_raw_data = it_type&lt;BR /&gt; i_filename = file_nam&lt;BR /&gt; TABLES&lt;BR /&gt; i_tab_converted_data = t_upload[]&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; conversion_failed = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;For each record in the t_upload i have to create 365 records dynamically(for 365 different days) .&lt;/P&gt;
  &lt;P&gt;How to store records dynamically in custom table 'ZZTEST'?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743775#M35596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-12-21T16:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data to custom table dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743776#M35597</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;just &lt;/P&gt;&lt;P&gt;- loop over your t_upload table&lt;/P&gt;&lt;P&gt;-   DO 365 TIMES&lt;/P&gt;&lt;P&gt;-     build your "Date Key" and set the data fields&lt;/P&gt;&lt;P&gt;-     append to ITab ( with ZZTEST structure)&lt;/P&gt;&lt;P&gt;-     INSET/MODIFY ZZTEST from ITab&lt;/P&gt;&lt;P&gt;-     clear Itab&lt;/P&gt;&lt;P&gt;Done!&lt;/P&gt;&lt;P&gt;Maybe there is some more complex "Date Key" calculation needed (eg leap-year,...) and you need to think about update/changes of existing records, but that's the basic coding structure&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Domi&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 15:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743776#M35597</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-12-22T15:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data to custom table dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743777#M35598</link>
      <description>&lt;P&gt;Bt i need to do it dynamically. Custom or the database table needs to be updated dynamically.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Dec 2018 08:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743777#M35598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-12-25T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data to custom table dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743778#M35599</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;same thing!&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/eb3923358411d1829f0000e829fbfe/content.htm?no_cache=true" target="test_blank"&gt;https://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/eb3923358411d1829f0000e829fbfe/content.htm?no_cache=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/de-DE/abapupdate_target.htm#!ABAP_ALTERNATIVE_2@2@" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_750_index_htm/7.50/de-DE/abapupdate_target.htm#!ABAP_ALTERNATIVE_2@2@&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/de-DE/abapupdate_source.htm#!ABAP_ALTERNATIVE_3@3@" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_750_index_htm/7.50/de-DE/abapupdate_source.htm#!ABAP_ALTERNATIVE_3@3@&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Domi&lt;/P&gt;</description>
      <pubDate>Tue, 25 Dec 2018 09:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-data-to-custom-table-dynamically/m-p/743778#M35599</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-12-25T09:07:28Z</dc:date>
    </item>
  </channel>
</rss>

