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: 

Unicode Probelm

Former Member
0 Kudos

Hi guys,

I am facing another probelm while converting non-unicode program to unicode.

I have a statement written as " write 😕 za20_itab".

The error says " ZA20_ITAB cannot be converted to a character-type field. "

Do i need to specify the fields of itab specifically.

Thanks in advance

1 ACCEPTED SOLUTION

JozsefSzikszai
Active Contributor
0 Kudos

>

> Do i need to specify the fields of itab specifically.

yes!

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos

>

> Do i need to specify the fields of itab specifically.

yes!

Former Member
0 Kudos

U should write,

write:/

ZA20_ITAB-filed1,

ZA20_ITAB-filed2,

.

.

ZA20_ITAB-filedn.

Regards,

0 Kudos

Hi Ranjit,

U need to specify whole internal table fields, because in Unicode it wont work if u have multiple types.

Try to assign everything to c type . by creating field symbol

FIELD-SYMBOLS : <F_za20_itab> type c.

ASSIGN za20_itab to <F_za20_itab> CASTING.

WRITE:/ <F_za20_itab>.

Hope it will work...

Regards

Santosh.Suryavanshi

Former Member
0 Kudos

>

> Hi guys,

> I am facing another probelm while converting non-unicode program to unicode.

>

> I have a statement written as " write 😕 za20_itab".

>

> The error says " ZA20_ITAB cannot be converted to a character-type field. "

>

> Do i need to specify the fields of itab specifically.

>

> Thanks in advance

Hi,

You should specify particular fields, i.e.

write 😕 za20_itab-field1,
            za20_itab-field2.

You cannot write the whole internal table at a time.

Regards,

Kasuladevi