Application Development and Automation 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: 
Read only

Unicode Probelm

Former Member
0 Likes
561

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
Read only

JozsefSzikszai
Active Contributor
0 Likes
526

>

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

yes!

4 REPLIES 4
Read only

JozsefSzikszai
Active Contributor
0 Likes
527

>

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

yes!

Read only

Former Member
0 Likes
526

U should write,

write:/

ZA20_ITAB-filed1,

ZA20_ITAB-filed2,

.

.

ZA20_ITAB-filedn.

Regards,

Read only

0 Likes
526

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

Read only

Former Member
0 Likes
526

>

> 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