10-28-2009 10:57 AM
HI,
I have a scenario like shown below.
DATA: varx TYPE X,
varc(10) TYPE C.
varx = '1C'.
varc = varx.
but in the above piece of code, i m getting unicode check errors(UCCHECK tcode) which says varx and varc are not mutually convertible in a unicode program.
Can somebody help me in this regard.
Thank you in advance.
Regards,
Soumya
10-28-2009 11:00 AM
10-28-2009 11:01 AM
<copy&paste_removed_by_moderator> This is not the first time, but it is the last... -> Next time I will drag&drop your user ID! Edited by: Julius Bussche on Oct 29, 2009 11:34 AM
10-28-2009 11:07 AM
10-28-2009 11:02 AM
Hi,
Try this FM also.
STPU1_HEX_TO_CHAR
Thanks,
Harini
Edited by: Harini Gopinath on Oct 28, 2009 4:33 PM
10-28-2009 11:03 AM
check Fm's
STPU1_HEX_TO_CHAR
AIN_EPC_HEX_TO_CHAR
link:[http://www.sapfans.com/forums/viewtopic.php?p=403405&sid=e524cddae19e7ae48a12477e68c6032d]
10-28-2009 11:15 AM
Hi Sowmya,
u can either do like this..
filed-symbol : <char> type c.
loop at t_tab.
assign t_tab-hexdecimal to <char> casting.
now <char> will have converted value of hexa decimal.
endloop.
12-10-2009 4:50 AM
The solution for the problem is to use MOVE statement.
MOVE hex to char.
Thanks everybody for replies.
Regards,
Soumya