<?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 Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959513#M698179</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;I tried to use this FM SAP_CONVERT_TO_TEX_FORMAT to convert my internal table's data to comma separator but it hit runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The runtime error says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_CONFLICT_TAB_TYP&lt;/P&gt;&lt;P&gt;Exceptn                CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to convert an internal table with two fields, it worked but it dont work when i was trying to convert the internal table with 53 fields. Please advice. It is not feasible to hardcode the comma into my structure or use concatenate way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 03:43:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T03:43:42Z</dc:date>
    <item>
      <title>Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959513#M698179</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;I tried to use this FM SAP_CONVERT_TO_TEX_FORMAT to convert my internal table's data to comma separator but it hit runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The runtime error says :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_CONFLICT_TAB_TYP&lt;/P&gt;&lt;P&gt;Exceptn                CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to convert an internal table with two fields, it worked but it dont work when i was trying to convert the internal table with 53 fields. Please advice. It is not feasible to hardcode the comma into my structure or use concatenate way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 03:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959513#M698179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T03:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959514#M698180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap4.com/wiki/index.php?title=SAP_CONVERT_TO_TEX_FORMAT" target="test_blank"&gt;http://sap4.com/wiki/index.php?title=SAP_CONVERT_TO_TEX_FORMAT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 03:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959514#M698180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T03:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959515#M698181</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;Check this sample code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = '|'
TABLES
i_tab_sap_data = t_itab
CHANGING
i_tab_converted_data = w_text
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 03:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959515#M698181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T03:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959516#M698182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mrutyun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the link but that doesn't solve my problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Viji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the same way as you suggested before i posted the question on this forum. It didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I realised that the main problem occurs because i have such data (as below) in my internal table which leads to runtime error. The table -&amp;gt; i_tab_converted_data cannot accept text that is non-character type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg data : Siège&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way that i can overcome the above? The runtime error explains as the below .&lt;/P&gt;&lt;P&gt;{ Only character-type data objects are supported at the argument&lt;/P&gt;&lt;P&gt; position "op1" for the statement&lt;/P&gt;&lt;P&gt;   "IF ... op1 CO op2 ...".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In this case, the operand "op1" has the non-character-type "I". The&lt;/P&gt;&lt;P&gt; current program is flagged as a Unicode program. In the Unicode context,&lt;/P&gt;&lt;P&gt;  type X fields are seen as non-character-type, as are structures that&lt;/P&gt;&lt;P&gt; contain non-character-type components. }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Loo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 03:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959516#M698182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T03:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when using FM SAP_CONVERT_TO_TEX_FORMAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959517#M698183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized that it wasn't the data problem, it was the structure that i'd declared. This FM SAP_CONVERT_TO_TEX_FORMAT @ SAP_CONVERT_TO_CSV_FORMAT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does not take data type of integer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps other too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Loo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-using-fm-sap-convert-to-tex-format/m-p/2959517#M698183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T08:59:13Z</dc:date>
    </item>
  </channel>
</rss>

