<?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: unicode error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969329#M700749</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;If you have unicode system and want to save data to file with non-unicode format you should use LEGACY MODE in OPEN DATASET command.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;OPEN DATASET FILENAME IN LEGACY BINARY MODE CODE PAGE '1401' FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Nov 2007 23:24:41 GMT</pubDate>
    <dc:creator>krzysztof_konitz4</dc:creator>
    <dc:date>2007-11-03T23:24:41Z</dc:date>
    <item>
      <title>unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969326#M700746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;               i am encountering a problem while doing the remediation of a program it shows error in runtime&lt;/P&gt;&lt;P&gt;Abend on testing: &lt;/P&gt;&lt;P&gt;UC_OBJECTS_NOT_CHARLIKE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;106 START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;107 PERFORM SELECT. &lt;/P&gt;&lt;P&gt;108 &lt;/P&gt;&lt;P&gt;109 LOOP AT OUTREC. &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; TRANSFER OUTREC TO FILE. &lt;/P&gt;&lt;P&gt;111 ENDLOOP.&lt;/P&gt;&lt;P&gt;in runtime its show Error analysis&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;HERE OUTREC IS A INTERNAL TABLE  DATA: BEGIN OF OUTREC OCCURS 0,&lt;/P&gt;&lt;P&gt;       BUKRS    LIKE VBRK-BUKRS,   " company code (4)&lt;/P&gt;&lt;P&gt;       FKSTO    LIKE VBRK-FKSTO,   " billing document cancelled? if 'X'&lt;/P&gt;&lt;P&gt;       FKART    LIKE VBRK-FKART,   " billing document type (4)&lt;/P&gt;&lt;P&gt;       VBELN    LIKE VBRK-VBELN,   " billing document number (10)&lt;/P&gt;&lt;P&gt;       POSNR    LIKE VBRP-POSNR,   " billing document line number (6)&lt;/P&gt;&lt;P&gt;       WAERK    LIKE VBRK-WAERK,   " currency (5)&lt;/P&gt;&lt;P&gt;       KURRF    LIKE VBRK-KURRF,   " financial exchange rate (12)&lt;/P&gt;&lt;P&gt;       FKDAT    LIKE VBRK-FKDAT,   " billing date (8)&lt;/P&gt;&lt;P&gt;       BELNR    LIKE VBRK-BELNR,   " accounting document (10)&lt;/P&gt;&lt;P&gt;       GJAHR    LIKE VBRK-GJAHR,   " fiscal year (4)&lt;/P&gt;&lt;P&gt;       POPER    LIKE VBRK-POPER,   " posting period (3)&lt;/P&gt;&lt;P&gt;       VKORG    LIKE VBRK-VKORG,   " SALES ORGANISATION (4)&lt;/P&gt;&lt;P&gt;       TAXK1    LIKE VBRK-TAXK1,   " customer tax classification (1)&lt;/P&gt;&lt;P&gt;       KUNAG    LIKE VBRK-KUNAG,   " ordering party customer number (10)&lt;/P&gt;&lt;P&gt;       LAND1    LIKE VBRK-LAND1,   " country key of invoice recipien (3)&lt;/P&gt;&lt;P&gt;       LANDTX   LIKE VBRK-LANDTX,  " country code for tax determinat (3)&lt;/P&gt;&lt;P&gt;       FBUDA    LIKE VBRP-FBUDA,   " date services rendered (8)&lt;/P&gt;&lt;P&gt;       MATNR    LIKE VBRP-MATNR,   " material number&lt;/P&gt;&lt;P&gt;       TAXM1    LIKE VBRP-TAXM1,   " material tax classification (1)&lt;/P&gt;&lt;P&gt;       NETWR(16),                  " net value in billing currency (16)&lt;/P&gt;&lt;P&gt;       MWSBP(14),                  " VAT value in billing currency (14)&lt;/P&gt;&lt;P&gt;       MRKER(1) TYPE C,            " end of record marker&lt;/P&gt;&lt;P&gt;      END OF OUTREC.&lt;/P&gt;&lt;P&gt;and file is&lt;/P&gt;&lt;P&gt;parameters: file(50) default ' ' lower case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried it by useing class&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CALL METHOD CL_ABAP_CONTAINER_UTILITIES=&amp;gt;FILL_CONTAINER_C&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          IM_VALUE               = OUTREC&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          EX_CONTAINER           = V_FILE&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;          ILLEGAL_PARAMETER_TYPE = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;          others                 = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;but not succeded . if any body can explain me how to resolve this problem then please tell me immidiately.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 12:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969326#M700746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969327#M700747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot exactly what to change but I can give you some way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue here is that there is field in your Internal table which is of type 'X' (hexadecimal).&lt;/P&gt;&lt;P&gt;In unicode this kind of field cannot be transfered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be done?&lt;/P&gt;&lt;P&gt;You have to find which field is that which is of TYPE 'X'.&lt;/P&gt;&lt;P&gt;Then change that field from TYPE 'X' to 'C'. If this is not possible then create a workarea similar to this internal table but with that field as type 'C' and do a manual move&lt;/P&gt;&lt;P&gt;like :&lt;/P&gt;&lt;P&gt;MOVE OUTREC-&amp;lt;field1&amp;gt; to WA_OUTREC-&amp;lt;field1&amp;gt; "Here OUTREC-&amp;lt;field1&amp;gt; is TYPE 'X' but WA_OUTREC-&amp;lt;field1&amp;gt; is type 'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this WA_OUTREC(Workarea) in TRANSFER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 19:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969327#M700747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-03T19:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969328#M700748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pankaj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you open the dataset? In TEXT MODE or in BINARY MODE?&lt;/P&gt;&lt;P&gt;Perhaps it works if you are using BINARY MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 22:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969328#M700748</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-11-03T22:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969329#M700749</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;If you have unicode system and want to save data to file with non-unicode format you should use LEGACY MODE in OPEN DATASET command.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;OPEN DATASET FILENAME IN LEGACY BINARY MODE CODE PAGE '1401' FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2007 23:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969329#M700749</guid>
      <dc:creator>krzysztof_konitz4</dc:creator>
      <dc:date>2007-11-03T23:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969330#M700750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   in text mode i am opening it while i am changeing it to binary mode its not showing error . in debugging the data is passing but while trying to execute it with help of variant, nothing comes out.its showing its exexcuteing but no output comes out. thts why i am little bit confused.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 05:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969330#M700750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T05:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: unicode error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969331#M700751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   in text mode i am opening it while i am changeing it to binary mode its not showing error . in debugging the data is passing but while trying to execute it with help of variant, nothing comes out.its showing its exexcuteing but no output comes out. thts why i am little bit confused.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 05:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-error/m-p/2969331#M700751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T05:39:04Z</dc:date>
    </item>
  </channel>
</rss>

