<?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: Exporting data from excel to database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984305#M1967400</link>
    <description>&lt;P&gt;Can you check this article: &lt;A href="https://gocoding.org/abap-excel-upload/"&gt;https://gocoding.org/abap-excel-upload/&lt;/A&gt;&lt;BR /&gt;Here, the uploading excel is explained. What apart from the content mentioned here you want to know?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 05:25:01 GMT</pubDate>
    <dc:creator>rudramani</dc:creator>
    <dc:date>2019-07-26T05:25:01Z</dc:date>
    <item>
      <title>Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984299#M1967394</link>
      <description>&lt;P&gt;I want to export data from excel sheet into a database and display it in an ALV with an additional field which will show the status whether every entry is saved successfully or not.&lt;/P&gt;
  &lt;P&gt;Here, I have a field 'Id' which is a primary key. When I am copying data from excel into an internal table consisting of the same id then the values from excel are getting overwritten into the internal table. &lt;/P&gt;
  &lt;P&gt;Can somebody tell me how can I print a message in this 'Status' field to show if data is successfully saved or not without getting it overwritten into the database?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984299#M1967394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-24T11:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984300#M1967395</link>
      <description>&lt;P&gt;Data in the ALV will not be written to the database without explicit update logic. Changes made to the internal table that is used to display the ALV list will not change the database unless you write the procedure to update the database (Call Transaction, BAPI, IDoc, BusObject, etc).&lt;/P&gt;&lt;P&gt;  "Viewer" is the key word in the name "ABAP List Viewer".  &lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 12:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984300#M1967395</guid>
      <dc:creator>loyd_enochs3</dc:creator>
      <dc:date>2019-07-24T12:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984301#M1967396</link>
      <description>&lt;P&gt;You are talking about memory and database operations, altogether mixed-up, that don't make sense to me. Can you elaborate? (and "separate the concerns" if possible)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 15:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984301#M1967396</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-24T15:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984302#M1967397</link>
      <description>&lt;P&gt;How can I validate duplicate records while exporting data from excel to the database and display a field in ALV which shows a status whether data is saved or not in the database? &lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984302#M1967397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-25T08:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984303#M1967398</link>
      <description>&lt;P&gt;"Elaborate" doesn't mean "give an abstract"... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry, I really don't understand your question. Or your question is about a so-complex topic that nobody knows the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984303#M1967398</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-25T08:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984304#M1967399</link>
      <description>&lt;P&gt;You can use one of those FM to take data from excel file into an internal table - &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. &lt;/STRONG&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/Snippets/How+to+use++FM+ALSM_EXCEL_TO_INTERNAL_TABLE"&gt;ALSM_EXCEL_TO_INTERNAL_TABLE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. &lt;/STRONG&gt;&lt;A href="https://answers.sap.com/questions/6092575/how-to-use-fm-textconvertxlstosap.html"&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then insert the data of internal table to database table by sorting the internal table, deleting adjacent records as per your condition using below syntax - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SORT itab BY &amp;lt;field1&amp;gt; &amp;lt;field2&amp;gt; &amp;lt;field3&amp;gt;.DELETE ADJANCEMENT DUPLICATES from itab COMPARING &amp;lt;field1&amp;gt; &amp;lt;field2&amp;gt; &amp;lt;field3&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now using simple &lt;A href="https://answers.sap.com/questions/6036565/insert-dbtab-from-table-itab-not-unicode-convertia.html?childToView=6036599#answer-6036599"&gt;insert&lt;/A&gt; syntax, enter data to database table and on success, popup a Message (Type 'I' showing that the records has been updated in db successfully) and show the ALV using that internal table.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984304#M1967399</guid>
      <dc:creator>SachinArtani</dc:creator>
      <dc:date>2019-07-25T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984305#M1967400</link>
      <description>&lt;P&gt;Can you check this article: &lt;A href="https://gocoding.org/abap-excel-upload/"&gt;https://gocoding.org/abap-excel-upload/&lt;/A&gt;&lt;BR /&gt;Here, the uploading excel is explained. What apart from the content mentioned here you want to know?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 05:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984305#M1967400</guid>
      <dc:creator>rudramani</dc:creator>
      <dc:date>2019-07-26T05:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984306#M1967401</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1709594-untitled.png" /&gt;&lt;/P&gt;&lt;P&gt;here I am trying to display contents of excel sheet in an ALV with an additional field 'Status' which will show duplicate entries are not saved and unique ones are saved. My actual problem is validating duplicate entries. &lt;/P&gt;&lt;P&gt;Ps: thank you for everyone's help I am able to export data from excel to z table. Now I just want to validate it. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 06:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984306#M1967401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-07-26T06:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from excel to database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984307#M1967402</link>
      <description>&lt;P&gt;Before showing your internal table data, you can sort the internal table and delete duplicate entries as I mentioned in below answer. Please check.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2019 10:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-data-from-excel-to-database/m-p/11984307#M1967402</guid>
      <dc:creator>SachinArtani</dc:creator>
      <dc:date>2019-07-27T10:45:04Z</dc:date>
    </item>
  </channel>
</rss>

