<?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: getting excel error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532268#M849751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of  "ALSM_EXCEL_TO_INTERNAL_TABLE" function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 05:53:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T05:53:20Z</dc:date>
    <item>
      <title>getting excel error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532266#M849749</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 am using the following fuction module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GET_MAT_FROM_SPREAD .&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    I_FIELD_SEPERATOR        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      i_line_header            =  'X'&lt;/P&gt;&lt;P&gt;      i_tab_raw_data           =  it_raw       " WORK TABLE&lt;/P&gt;&lt;P&gt;      i_filename               =  p_FILE2&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_tab_converted_data     = i_spreadsheet[] .   "ACTUAL DATA&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     conversion_failed        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS                   = 2.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " GET_MAT_FROM_SPREAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but  iam getting the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel file FILE://C:\Documents and Settings\my id\Desktop\C cannot be processed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what was problem plz let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 19:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532266#M849749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T19:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting excel error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532267#M849750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sukruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a limit on Filename including path. It should be 128 characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the attached code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the tables according to your import data, &lt;/P&gt;&lt;P&gt;"or just define an structure, &lt;/P&gt;&lt;P&gt;"and then define the internal table&lt;/P&gt;&lt;P&gt;DATA IT_Map type table of ZYFIAccountMapCN.&lt;/P&gt;&lt;P&gt;TYPE-POOLS: truxs.&lt;/P&gt;&lt;P&gt;DATA F_Name(128) type C value 'd:\0927.xls'.&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;CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_FIELD_SEPERATOR = &lt;/P&gt;&lt;P&gt;I_LINE_HEADER = &lt;/P&gt;&lt;P&gt;I_TAB_RAW_DATA = it_raw&lt;/P&gt;&lt;P&gt;I_FILENAME = F_Name&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;I_TAB_CONVERTED_DATA = IT_Map&lt;/P&gt;&lt;P&gt;&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;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC 0.&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;Reward Points if it is useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 20:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532267#M849750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T20:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: getting excel error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532268#M849751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of  "ALSM_EXCEL_TO_INTERNAL_TABLE" function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 05:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532268#M849751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T05:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: getting excel error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532269#M849752</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;1. Check whether the file path is correct.&lt;/P&gt;&lt;P&gt;2. while converting the file, make sure that the file shuld not opend or accessed by others&lt;/P&gt;&lt;P&gt;3. check the file content and internal table declaration whther both r matched or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Arunprasad.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 06:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-excel-error/m-p/3532269#M849752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T06:07:34Z</dc:date>
    </item>
  </channel>
</rss>

