Skip to Content
avatar image
Former Member

Writing table in unicode

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 09, 2007 at 01:15 PM

    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

    Add comment
    10|10000 characters needed characters exceeded