<?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: while uploading data from excel sheet to database table(se11) table no updation is there in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458459#M14276</link>
    <description>&lt;P&gt;Might want to check SY-SUBRC after a DB operation. Read documentation.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 21:28:32 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2017-10-10T21:28:32Z</dc:date>
    <item>
      <title>while uploading data from excel sheet to database table(se11) table no updation is there</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458456#M14273</link>
      <description>&lt;P&gt;structure is correct. while debugging data is showing in internal table.&lt;BR /&gt;when i execute the code data is not displaying in my database table.&lt;/P&gt;
  &lt;P&gt;REPORT zupload_excel.&lt;BR /&gt; TYPE-POOLS: truxs.&lt;BR /&gt; TABLES zpersonal.&lt;BR /&gt; &lt;BR /&gt; PARAMETERS: p_file TYPE rlgrap-filename.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; TYPES: BEGIN OF t_datatab,&lt;BR /&gt; name TYPE zpersonal-name,&lt;BR /&gt; password TYPE zpersonal-password,&lt;BR /&gt; dob TYPE zpersonal-dob,&lt;BR /&gt; gender TYPE zpersonal-gender,&lt;BR /&gt; contact TYPE zpersonal-contact,&lt;BR /&gt; adress TYPE zpersonal-adress,&lt;BR /&gt; END OF t_datatab.&lt;BR /&gt; &lt;BR /&gt; DATA: it_datatab TYPE TABLE OF t_datatab,&lt;BR /&gt; wa_datatab LIKE zpersonal.&lt;BR /&gt; DATA: it_raw TYPE truxs_t_text_data.&lt;BR /&gt; &lt;BR /&gt; AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&lt;BR /&gt; CALL FUNCTION 'F4_FILENAME'&lt;BR /&gt; EXPORTING&lt;BR /&gt; field_name = 'P_FILE'&lt;BR /&gt; IMPORTING&lt;BR /&gt; file_name = p_file.&lt;BR /&gt;&lt;BR /&gt; START-OF-SELECTION.&lt;BR /&gt; &lt;BR /&gt; CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;BR /&gt; EXPORTING&lt;BR /&gt; i_line_header = 'X'&lt;BR /&gt; i_tab_raw_data = it_raw " WORK TABLE&lt;BR /&gt; i_filename = p_file&lt;BR /&gt; TABLES&lt;BR /&gt; i_tab_converted_data = it_datatab[] "ACTUAL DATA&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; conversion_failed = 1&lt;BR /&gt; OTHERS = 2.&lt;BR /&gt; &lt;BR /&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;BR /&gt; MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;BR /&gt; WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;BR /&gt; ENDIF.&lt;BR /&gt;&lt;BR /&gt; END-OF-SELECTION.&lt;/P&gt;
  &lt;P&gt;LOOP AT it_datatab INTO wa_datatab.&lt;BR /&gt; WRITE : / wa_datatab.&lt;BR /&gt; INSERT INTO zpersonal VALUES wa_datatab.&lt;BR /&gt; ENDLOOP.&lt;BR /&gt; &lt;BR /&gt; * LOOP AT it_datatab.&lt;BR /&gt; * MODIFY zpersonal FROM it_datatab.&lt;BR /&gt; * ENDLOOP.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458456#M14273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-11T09:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data from excel sheet to database table(se11) table no updation is there</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458457#M14274</link>
      <description>&lt;P&gt;MODIFY zpersonal FROM TABLE it_datatab.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458457#M14274</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2017-07-11T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data from excel sheet to database table(se11) table no updation is there</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458458#M14275</link>
      <description>&lt;P&gt;Hi Manish,&lt;/P&gt;
  &lt;P&gt;you need to create a structure of t_datatab such as wa_datatab type of t_datatab and wa_personal like zpersonal. Replace the following code where u r processing the loop and insert row into zpersonal table.&lt;/P&gt;
  &lt;P&gt; loop at LOOP AT it_datatab INTO wa_datatab.&lt;/P&gt;
  &lt;P&gt; " assigned the record in correct field so that there is not data mismatch&lt;/P&gt;
  &lt;P&gt; wa_personal-field1 = wa_datatab-field1 "&lt;/P&gt;
  &lt;P&gt; wa_personal-field2 = wa_datatab-field2 &lt;/P&gt;
  &lt;P&gt; " modify or insert record in database table.&lt;/P&gt;
  &lt;P&gt; insert into zpersonal value wa_personal.&lt;/P&gt;
  &lt;P&gt; " or &lt;/P&gt;
  &lt;P&gt; modify zpersonal from wa_personal.&lt;/P&gt;
  &lt;P&gt; endloop.&lt;/P&gt;
  &lt;P&gt;I think when u are trying to modify or insert in zpersonal database table there value of wa_datatab mismatch or type conflict. &lt;/P&gt;
  &lt;P&gt;So you need to pass correct value in correct field then modify zpersonal database table. &lt;/P&gt;
  &lt;P&gt;It will work.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458458#M14275</guid>
      <dc:creator>sunnyk</dc:creator>
      <dc:date>2017-07-11T13:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data from excel sheet to database table(se11) table no updation is there</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458459#M14276</link>
      <description>&lt;P&gt;Might want to check SY-SUBRC after a DB operation. Read documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 21:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458459#M14276</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-10-10T21:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data from excel sheet to database table(se11) table no updation is there</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458460#M14277</link>
      <description>&lt;P&gt;Hi Manish,&lt;/P&gt;
  &lt;P&gt;If you got answer of your question then please close the thread. Give the point as per the right answer or helpful answer. &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-from-excel-sheet-to-database-table-se11-table-no/m-p/458460#M14277</guid>
      <dc:creator>sunnyk</dc:creator>
      <dc:date>2017-11-23T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

