<?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: How to resolve this unicode error. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411653#M1242626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi purshotaman,&lt;/P&gt;&lt;P&gt;I am sure that , check once again that code, &lt;/P&gt;&lt;P&gt;functionality of "z" operator is ::&lt;/P&gt;&lt;P&gt;Zeros: True, if the bits that are 1 in operand2 are 0 in operand1. If operand2 contains only zeroes, the logical expression is always true.&lt;/P&gt;&lt;P&gt;Problem is not with Z, i guess it will be with type "x". try to convert it what i said earlier and check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arani Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2009 11:19:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-25T11:19:22Z</dc:date>
    <item>
      <title>How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411647#M1242620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The below code gives an unicde error.&lt;/P&gt;&lt;P&gt;Please give your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: hexfield0 TYPE x VALUE 'FF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_belnr,&lt;/P&gt;&lt;P&gt;        belnr TYPE bkpf-belnr,&lt;/P&gt;&lt;P&gt;      END OF ty_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA it_tab TYPE TABLE OF ty_belnr.&lt;/P&gt;&lt;P&gt;DATA wa_tab TYPE ty_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT belnr FROM bkpf UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;  INTO TABLE it_tab.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   LOOP AT it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;         If not wa_tab-Belnr z Hexfield0.&lt;/P&gt;&lt;P&gt;            Write wa_tab-Belnr.&lt;/P&gt;&lt;P&gt;         Endif.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 10:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411647#M1242620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411648#M1242621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For similar kind of error, here iam giving example code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;		DATA: BEGIN OF ht,&lt;/P&gt;&lt;P&gt;			x(1) TYPE x VALUE '09',&lt;/P&gt;&lt;P&gt;		END OF ht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;          &lt;/P&gt;&lt;P&gt;    1.Define Class after the Tables definition.&lt;/P&gt;&lt;P&gt;                CLASS cl_abap_char_utilities DEFINITION LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              2.Data Defination :  Comment internal table HT and define a variabl&lt;/P&gt;&lt;P&gt;                 HT type C. &lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Insert + APRIA00 05/02/2007 Unicode project&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;  DATA: BEGIN OF ht,&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;        x(1) TYPE x VALUE '09'&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;  END OF ht.&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;  Insert - APRIA00 05/02/2007 Unicode project&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       DATA HT type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       3. Before using HT assign Horizontal tab.&lt;/P&gt;&lt;P&gt;	Ht = CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if you have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arani Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411648#M1242621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411649#M1242622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pl. re-check ur code again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: hexfield0 TYPE x VALUE 'FF'.

TYPES: BEGIN OF ty_belnr,
          belnr type bkpf-belnr,
       END OF ty_belnr.

DATA it_tab TYPE TABLE OF ty_belnr.
DATA wa_tab TYPE ty_belnr.

SELECT belnr FROM bkpf
             UP TO 10 ROWS
             INTO TABLE it_tab.

IF sy-subrc = 0.
  LOOP AT it_tab into wa_tab.
    If not wa_tab-Belnr = Hexfield0.
      Write wa_tab-Belnr.
    Endif.
  ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411649#M1242622</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-03-25T11:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411650#M1242623</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;The if condition in my code is as follows.&lt;/P&gt;&lt;P&gt;Z is used as operator.&lt;/P&gt;&lt;P&gt;please let me know how to deal with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If not wa_tab-Belnr z Hexfield0.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411650#M1242623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411651#M1242624</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 Code..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF ty_belnr,
belnr TYPE bkpf-belnr,
END OF ty_belnr.

DATA it_tab TYPE TABLE OF ty_belnr.
DATA wa_tab TYPE ty_belnr.

  DATA: l_Char(5) TYPE c .                   
 DATA: c_Hexl(5) TYPE c value '\X\FF'  .  

    CALL FUNCTION 'STPU1_HEX_TO_CHAR'
      EXPORTING
                hex_string        = c_hec
     IMPORTING
              CHAR_STRING       = l_char.


SELECT belnr FROM bkpf UP TO 10 ROWS
INTO TABLE it_tab.
IF sy-subrc = 0.
LOOP AT it_tab into wa_tab.
If not wa_tab-Belnr Z l_Char.
Write wa_tab-Belnr.
Endif.
ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411651#M1242624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411652#M1242625</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 need to solve the Unicode error here.&lt;/P&gt;&lt;P&gt;Z if you replace by = , the functionality will change.&lt;/P&gt;&lt;P&gt;Z operator cannot be replaced here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411652#M1242625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411653#M1242626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi purshotaman,&lt;/P&gt;&lt;P&gt;I am sure that , check once again that code, &lt;/P&gt;&lt;P&gt;functionality of "z" operator is ::&lt;/P&gt;&lt;P&gt;Zeros: True, if the bits that are 1 in operand2 are 0 in operand1. If operand2 contains only zeroes, the logical expression is always true.&lt;/P&gt;&lt;P&gt;Problem is not with Z, i guess it will be with type "x". try to convert it what i said earlier and check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arani Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411653#M1242626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411654#M1242627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here i am checking with a &lt;STRONG&gt;hexadecimal value 'FF'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the &lt;STRONG&gt;operator is Z .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functionality should remain the same.&lt;/P&gt;&lt;P&gt;The unicode error needs to be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Kindly suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411654#M1242627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411655#M1242628</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;You cannot compare the char field with the Hexa field in the Unicode version..so you need to convert the Hexa field Hexfield0 in to char field and compare. Use the FM STPU1_HEX_TO_CHAR to the char value of the hexasting and compare with  Belnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411655#M1242628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411656#M1242629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: hexfield0 TYPE x VALUE 'FF'.&lt;/P&gt;&lt;P&gt;DATA: hexfield1 TYPE x .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_belnr,&lt;/P&gt;&lt;P&gt;belnr TYPE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF ty_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA it_tab TYPE TABLE OF ty_belnr.&lt;/P&gt;&lt;P&gt;DATA wa_tab TYPE ty_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT belnr FROM bkpf UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;INTO TABLE it_tab.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;LOOP AT it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;hexfield1 = wa_tab-Belnr.&lt;/P&gt;&lt;P&gt;If not hexfield1 z Hexfield0.&lt;/P&gt;&lt;P&gt;Write wa_tab-Belnr.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;"Though u can avoid errors..you can recheck with the requirement&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mukundan Ramanathan on Mar 25, 2009 12:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411656#M1242629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411657#M1242630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;belnr data type is chara  length 10 &lt;/P&gt;&lt;P&gt;and  hexfield0 TYPE x  hexadecimal &lt;/P&gt;&lt;P&gt;since the data type is mismatching hence it is showing the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411657#M1242630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411658#M1242631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;first convert  your hexadecimal field to C by following my steps, then use your code it will works fine.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arani Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411658#M1242631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411659#M1242632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: hexfield0 TYPE x VALUE 'FF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_belnr,&lt;/P&gt;&lt;P&gt;belnr TYPE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF ty_belnr.&lt;/P&gt;&lt;P&gt;class  CL_ABAP_CONV_IN_CE definition load. "class for hex to char conversion&lt;/P&gt;&lt;P&gt;data lv_Hexfield0_uc type c. " field for storing hex value in char format&lt;/P&gt;&lt;P&gt;DATA it_tab TYPE TABLE OF ty_belnr.&lt;/P&gt;&lt;P&gt;DATA wa_tab TYPE ty_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT belnr FROM bkpf UP TO 10 ROWS&lt;/P&gt;&lt;P&gt;INTO TABLE it_tab.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; lv_Hexfield0_uc =  CL_ABAP_CONV_IN_CE=&amp;gt;UCCP('FF'). " conv HEX to C.&lt;/P&gt;&lt;P&gt;LOOP AT it_tab into wa_tab.&lt;/P&gt;&lt;P&gt;If not wa_tab-Belnr z  lv_Hexfield0_uc.                       " use of lv_hexfield...&lt;/P&gt;&lt;P&gt;Write wa_tab-Belnr.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 11:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411659#M1242632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411660#M1242633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;STPU1_HEX_TO_CHAR function module takes character as input.&lt;/P&gt;&lt;P&gt;Looking if there are any FM that would convert X to C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Literally BKPF-BELNR "10 Char" to hexadecimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Hexdecimal value 'FF'  to Char.&lt;/P&gt;&lt;P&gt;Tried using the Fm, its dumping. Trying other options.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411660#M1242633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411661#M1242634</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;lv_Hexfield0_uc = CL_ABAP_CONV_IN_CE=&amp;gt;UCCP('FF'). " conv HEX to C.&lt;/P&gt;&lt;P&gt;is still giving the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It says wa_tab-Belnr must be a byte-type field. ( type X or XSTRING).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this is due to the Operator they used "Z" in the system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411661#M1242634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T12:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this unicode error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411662#M1242635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then u need to convert the character field into X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose ur char field is wa-axx and Hexa field is hex, then.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;lv&amp;gt; type X.&lt;/P&gt;&lt;P&gt;assign: wa-axx to &amp;lt;lv&amp;gt; casting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;lv&amp;gt; Z hex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//ur code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:42:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-resolve-this-unicode-error/m-p/5411662#M1242635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T12:42:30Z</dc:date>
    </item>
  </channel>
</rss>

