<?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 UC_OBJECTS_NOT_CHARLIKE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796586#M913153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me change the code to solve the issue. I get back soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 21:58:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-09T21:58:15Z</dc:date>
    <item>
      <title>Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796580#M913147</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 am getting error UC_OBJECTS_NOT_CHARLIKE in Unicode program for statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRANSFER ls_text TO ls_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the error and found ls_text has 4 fields with CURR17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this Unicode issue with minimal code changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:06:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796580#M913147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796581#M913148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how are you filling ls_text?&lt;/P&gt;&lt;P&gt;I would suppose that's where the problem is and not in the transfer.&lt;/P&gt;&lt;P&gt;Also post how are you delcaring ls_text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796581#M913148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796582#M913149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ls_text is declared as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF ls_text  OCCURS 0,&lt;/P&gt;&lt;P&gt;          xblnr(16),                               .&lt;/P&gt;&lt;P&gt;          belnr(10), &lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;        wrbtr LIKE /bic/azo_gl01c00-deb_cre_lc   "Currency CURR17&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;END OF ls_text.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I am assigning the data is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ls_Text- xblnr = wa_text-xblnr.&lt;/P&gt;&lt;P&gt; ls_Text- wrbtr  = /BIC/AZO_GL01C00- DEB_CRE_LC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER ls_text TO ls_file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796582#M913149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796583#M913150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tought ls_text was a string...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass and string to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In unicode it should be done like this, and by the way you should avoid using the header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ls_string(1000). "depends how big your structure is.
call method CL_ABAP_CONTAINER_UTILITIES =&amp;gt;FILL_CONTAINER_C
  exporting  IM_VALUE               = ls_text
  importing  EX_CONTAINER           = ls_String
  exceptions ILLEGAL_PARAMETER_TYPE = 1
             others                 = 2.
transfer ls_String to ls_file.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, you need to loop trough the table to transfer each line to the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796583#M913150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796584#M913151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, just want to clarify this code is in the subroutine which is called in the loop. so I am passing each record to below code.&lt;/P&gt;&lt;P&gt;Also ls_file is char60.....so shall I create ls_string as char60 and pass to the method CL_ABAP_CONTAINER_UTILITIES =&amp;gt;FILL_CONTAINER_C?&lt;/P&gt;&lt;P&gt;Any other code is required to call this method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;P&gt;ls_text is declared as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ls_text OCCURS 0,&lt;/P&gt;&lt;P&gt;xblnr(16), .&lt;/P&gt;&lt;P&gt;belnr(10), &lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;wrbtr LIKE /bic/azo_gl01c00-deb_cre_lc "Currency CURR17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF ls_text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I am assigning the data is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_Text- xblnr = wa_text-xblnr.&lt;/P&gt;&lt;P&gt;ls_Text- wrbtr = /BIC/AZO_GL01C00- DEB_CRE_LC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER ls_text TO ls_file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796584#M913151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796585#M913152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just declare it with enough lenght to put all the fields in the structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the method doesn't work it should need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
class CL_ABAP_CONTAINER_UTILITIES definition load.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796585#M913152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error UC_OBJECTS_NOT_CHARLIKE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796586#M913153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me change the code to solve the issue. I get back soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 21:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-uc-objects-not-charlike/m-p/3796586#M913153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T21:58:15Z</dc:date>
    </item>
  </channel>
</rss>

