Skip to Content
0
Former Member
Mar 20, 2009 at 06:53 AM

DATATYPE CONVERSION ISSUES IN UNICODE

36 Views

I get a syntax error while executing the following code - stating that var2 needs to be of type C,N,T,D. If I create a local variable of type numeric character and put write var1 to local variable currency var3_curr and then try move that local variable to var2(packed type) then we get a runtime dump.

REPORT ZROHIT.

data: var1 type p decimals 2 value '123.45',

var2 type p decimals 2,

var3_curr type t014-waers.

write var1 to var2 currency var3_curr.

write / var2.

Please help. All this happens in Unicode systems. Non Unicode system the above piece of code wrks fine.