<?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: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774920#M1118963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq  Anli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using what u said  senario but still  i got an Error" THE TYPE TRUXS_T_TEXT_DATA UNKNOWN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even  i declared  TYPE-POOLS:  TRUXS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could u help me.&lt;/P&gt;&lt;P&gt;sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 04:44:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T04:44:42Z</dc:date>
    <item>
      <title>Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774918#M1118961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'   ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while  executing i got an Error " Error generating test Frame'&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN __default_attr="Red" __jive_macro_name="color"&gt;

Description:
-&lt;/SPAN&gt;&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;
Error generating the test frame
Message no. FL819

Diagnosis

The system could not generate a syntactically correct test frame for function module TEXT_CONVERT_XLS_TO_SAP. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.

The error message is:

"OF" expected after "TABLE".


System Response


Procedure

Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.

Procedure for System Administration
&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 09:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774918#M1118961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774919#M1118962</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;An example of usage of fm &lt;STRONG&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPE-POOLS: TRUXS.
data: trd type TRUXS_T_TEXT_DATA,
      fnm like RLGRAP-FILENAME.

data: BEGIN OF tcd OCCURS 0,
        col1(255),
        col2(255),
      END OF tcd.

fnm = 'c:\test.xls'.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
  EXPORTING
    i_tab_raw_data             = trd
    i_filename                 = fnm
  tables
    i_tab_converted_data       = tcd
 EXCEPTIONS
   CONVERSION_FAILED          = 1
   OTHERS                     = 2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example above we get datas from two columns. You can add more to the &lt;STRONG&gt;i_tab_converted_data&lt;/STRONG&gt; if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2008 09:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774919#M1118962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-13T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774920#M1118963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq  Anli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using what u said  senario but still  i got an Error" THE TYPE TRUXS_T_TEXT_DATA UNKNOWN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even  i declared  TYPE-POOLS:  TRUXS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could u help me.&lt;/P&gt;&lt;P&gt;sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 04:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774920#M1118963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T04:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774921#M1118964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai siva..&lt;/P&gt;&lt;P&gt;             iam sending a sample prg. check it out.&lt;/P&gt;&lt;P&gt;             it will be helpful for U to solve the problem.&lt;/P&gt;&lt;P&gt;type-pools : truxs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty_tab,&lt;/P&gt;&lt;P&gt;         f1(10) type c,&lt;/P&gt;&lt;P&gt;         f2(10) type c,&lt;/P&gt;&lt;P&gt;         f3(10) type c,&lt;/P&gt;&lt;P&gt;        end of ty_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_tab type ty_tab,&lt;/P&gt;&lt;P&gt;       lt_tab like standard table of wa_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_tab_raw_data type truxs_t_text_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : fnam type ibipparms-path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter : p_fnam type rlgrap-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'F4_FILENAME'&lt;/P&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt;   file_name           = fnam&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;p_fnam = fnam.&lt;/P&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;call function 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    i_tab_raw_data             = i_tab_raw_data&lt;/P&gt;&lt;P&gt;    i_filename                 = fnam&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    i_tab_converted_data       = lt_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_tab into wa_tab.&lt;/P&gt;&lt;P&gt; write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa_tab-f1, wa_tab-f2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 05:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774921#M1118964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T05:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774922#M1118965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to did u solved the problem.. i am alo getting the same problem&lt;/P&gt;&lt;P&gt;&amp;nbsp; truxs_t_text_data is unknown...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 05:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774922#M1118965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-02T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error-while  executing  Standard FM 'TEXT_CONVERT_XLS_TO_SAP'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774923#M1118966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare truxs_t_text_data and pass it in FM like mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;CALL FUNCTION &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #4da619; background: white;"&gt;'TEXT_CONVERT_XLS_TO_SAP'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt; &lt;EM style="color: gray; background: white;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_FIELD_SEPERATOR&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/EM&gt;&lt;BR /&gt; i_line_header&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;abap_true&lt;BR /&gt; i_tab_raw_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;lt_raw&lt;BR /&gt; i_filename&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;p_file&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;TABLES&lt;/SPAN&gt;&lt;BR /&gt; i_tab_converted_data &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;lt_file_data&amp;nbsp;&amp;nbsp; &lt;EM style="color: gray; background: white;"&gt;" Data from excel file&lt;/EM&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt; conversion_failed&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; background: white;"&gt;1&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: blue; background: white;"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; background: white;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: purple; background: white;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 08:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-executing-standard-fm-text-convert-xls-to-sap/m-p/4774923#M1118966</guid>
      <dc:creator>Sidhant-Acharya</dc:creator>
      <dc:date>2014-09-02T08:55:39Z</dc:date>
    </item>
  </channel>
</rss>

