<?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: Problem with data upload from Excel to Int table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282618#M1388525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using filetype DBF, but I am getting error 'Wrong value of the parameter FILETYPE'.&lt;/P&gt;&lt;P&gt;So, i guess i cannot use this filetype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2009 05:04:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-21T05:04:27Z</dc:date>
    <item>
      <title>Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282613#M1388520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone thro the forum threads a lot , but could not find solution to my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data in excel sheet and I have to get this into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE NOTE THAT I AM USING ECC6.0 (syatem data: SAP EHP 1 for SAP NetWeaver 7.0). &lt;/P&gt;&lt;P&gt;Hence, options of using ALSM_EXCEL_TO_INTERNAL_TABLE and KCD_EXCEL_OLE_TO_INT_CONVERT are ruled out. I am getting error that these function modules do not exist. Also, type-pool TRUXS does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, GUI_UPLOAD is giving me junk data into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please help me by giving any other function modules so that I can upload my data in excel file to internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 13:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282613#M1388520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-20T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282614#M1388521</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;filename = filename&lt;/P&gt;&lt;P&gt;FILETYPE = 'DBF' &lt;STRONG&gt;-----&amp;gt;use this type will work&lt;/STRONG&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;Anil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: M Srinivasa Anil Kumar on Oct 20, 2009 6:55 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: M Srinivasa Anil Kumar on Oct 20, 2009 6:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 13:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282614#M1388521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-20T13:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282615#M1388522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;type-pools : truxs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal table declaartion for excel file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data : it_raw type truxs_t_text_data.&lt;/P&gt;&lt;P&gt;call function 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;i_line_header = 'X'&lt;/P&gt;&lt;P&gt;i_tab_raw_data = it_raw&lt;/P&gt;&lt;P&gt;i_filename = p_fILE "" Excel file&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;i_tab_converted_data = iN_FILE " our Internal table&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;conversion_failed = 1&lt;/P&gt;&lt;P&gt;others = 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 13:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282615#M1388522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-20T13:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282616#M1388523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish,&lt;/P&gt;&lt;P&gt;please search .. you will find many options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 13:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282616#M1388523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-20T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282617#M1388524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi PBS..&lt;/P&gt;&lt;P&gt;pls dont mind me saying this..&lt;/P&gt;&lt;P&gt;pls read the query completely and answer..&lt;/P&gt;&lt;P&gt;i have already mentioned in my request that , in the version which i am using, type-pool TRUXS is not available and hence i cannot use the FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 04:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282617#M1388524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T04:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282618#M1388525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using filetype DBF, but I am getting error 'Wrong value of the parameter FILETYPE'.&lt;/P&gt;&lt;P&gt;So, i guess i cannot use this filetype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 05:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282618#M1388525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T05:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282619#M1388526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: M Srinivasa Anil Kumar on Oct 21, 2009 12:24 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: M Srinivasa Anil Kumar on Oct 21, 2009 12:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 06:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282619#M1388526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T06:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282620#M1388527</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;Save the excel file as tab delimited file and then refer to the given snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lv_filetype(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_gui_sep TYPE c,&lt;/P&gt;&lt;P&gt;        lv_file_name TYPE string.&lt;/P&gt;&lt;P&gt;  lv_filetype = 'ASC'.&lt;/P&gt;&lt;P&gt;  lv_gui_sep = 'X'.&lt;/P&gt;&lt;P&gt;  lv_file_name = pa_dfile. &amp;gt;&amp;gt; file path&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FM call to upload file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = lv_file_name&lt;/P&gt;&lt;P&gt;      filetype                = lv_filetype&lt;/P&gt;&lt;P&gt;      has_field_separator     = lv_gui_sep&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = gi_zhralcon_file &amp;gt; internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 07:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282620#M1388527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T07:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282621#M1388528</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;Try doing like the sample code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_raw TYPE truxs_t_text_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;Start-of-selection&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;Function module called to upload xls data into an internal table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_field_seperator    = 'X'&lt;/P&gt;&lt;P&gt;      i_line_header        = 'X'&lt;/P&gt;&lt;P&gt;      i_tab_raw_data       = it_raw&lt;/P&gt;&lt;P&gt;      i_filename           = p_file                 "file path browsed&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_tab_converted_data = it_upload[]            "int table populated&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_failed    = 1                      "browsed file's data&lt;/P&gt;&lt;P&gt;      OTHERS               = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 07:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282621#M1388528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T07:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with data upload from Excel to Int table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282622#M1388529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes!!!! i have saved the excel file as a tab delimited txt file and then used the FM..&lt;/P&gt;&lt;P&gt;it is working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!!!&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;krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 07:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-upload-from-excel-to-int-table/m-p/6282622#M1388529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T07:38:37Z</dc:date>
    </item>
  </channel>
</rss>

