<?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: Runtime error when Transfering data from data object to a file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335495#M1229271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out that the structure c_output have the field with data type X. I know that the cause of the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      begin of c_output,&lt;/P&gt;&lt;P&gt;         vbeln(10),&lt;/P&gt;&lt;P&gt;         tab_5 like tab,&lt;/P&gt;&lt;P&gt;         posnr(6),&lt;/P&gt;&lt;P&gt;         tab_4 like tab,&lt;/P&gt;&lt;P&gt;         topmat(18),&lt;/P&gt;&lt;P&gt;         tab_3 like tab,&lt;/P&gt;&lt;P&gt;     end  of c_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : tab type X value 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me how to fix it ? What I have to do in this situation ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2009 10:12:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-04T10:12:12Z</dc:date>
    <item>
      <title>Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335493#M1229269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem when I transfer data from data object to file. The codes like following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data : full_path(128).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and transfer data from flat structure to this file full_path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;move:    tab                 to c_output-tab_5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;              &lt;STRONG&gt;tab                 to c_output-tab_4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;              &lt;STRONG&gt;tab                 to c_output-tab_3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;transfer c_output to full_path.&lt;/STRONG&gt;      &lt;STRONG&gt;// Error Line&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The detail error like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the statement&lt;/P&gt;&lt;P&gt;   "TRANSFER f TO ..."&lt;/P&gt;&lt;P&gt;only character-type data objects are supported at the argument position&lt;/P&gt;&lt;P&gt;"f".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case. the operand "f" has the non-character-type "u". The&lt;/P&gt;&lt;P&gt;current program is a Unicode program. In the Unicode context, the type&lt;/P&gt;&lt;P&gt;'X' or structures containing not only character-type components are&lt;/P&gt;&lt;P&gt;regarded as non-character-type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transfer c_output to full_path. " Line error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to fix this issue !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Hai Nguyen on Mar 4, 2009 10:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 09:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335493#M1229269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T09:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335494#M1229270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the error message is quite self explanatory. The field type of the argument you are transferring, contains non-character type fields. Check all fields of  c_output and determine which fields are non character type fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335494#M1229270</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-04T10:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335495#M1229271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out that the structure c_output have the field with data type X. I know that the cause of the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      begin of c_output,&lt;/P&gt;&lt;P&gt;         vbeln(10),&lt;/P&gt;&lt;P&gt;         tab_5 like tab,&lt;/P&gt;&lt;P&gt;         posnr(6),&lt;/P&gt;&lt;P&gt;         tab_4 like tab,&lt;/P&gt;&lt;P&gt;         topmat(18),&lt;/P&gt;&lt;P&gt;         tab_3 like tab,&lt;/P&gt;&lt;P&gt;     end  of c_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : tab type X value 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me how to fix it ? What I have to do in this situation ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335495#M1229271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T10:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335496#M1229272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what should this tab do? Make it a tab delimited file? If so, use the CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB to do so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335496#M1229272</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-04T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335497#M1229273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only have to fix that bug. I don't create this program so I don't know the purpose of tabs &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any solution to casting the type of c_output or change the addition for the OPEN DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335497#M1229273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T10:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335498#M1229274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to use the OPEN DATASET ....BYTE MODE, but I don't think this is the way to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;change the type of tab to the type of attribute horizontal_tab of class cl_abap_char_utilities. Next, move this value cl_abap_char_utilities=&amp;gt;horizontal_tab to tab and you should be in the clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335498#M1229274</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-04T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error when Transfering data from data object to a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335499#M1229275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mickey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try doing like your guides !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 10:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-when-transfering-data-from-data-object-to-a-file/m-p/5335499#M1229275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T10:49:14Z</dc:date>
    </item>
  </channel>
</rss>

