Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Writing table in unicode

Former Member
0 Kudos

Hello All,

Thanks for all your help all the time.

I have following code:

WRITE:/ T510N, 'T510N WAS changed'.

where t510n, is a pooled table...with all types of fields...I mean..char, dates, currency etc...

It was working fine before the unicode upgrade...but now after doing the unicode upgrade...gives following error:

"T510N" cannot be converted to a character-type field.

Any help would be greatly appreciated....

Thanks in advanced.

1 REPLY 1

Former Member
0 Kudos

Hello J Are,

since unicode you need to write "type-save" programs. The write command only accepts character-like types. The table you mentioned, also hold columns of other types (date, currency,...). So, you cannot process the complete structure at once using the write command. You should rather decide to only write specific components of the structure using clear specification: t510n-comp1, ...

In fact you should avoid using the write command in unicode systems anyway. You should better use ALV. specially if you're dealing with different languages using special signs.

best regards

sven