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

not unicode convertible

Former Member
0 Likes
2,320

Hi Gurus!!

We are on version ecc 6.0

I am getting the following error message: "The type of the database table and work area(or internal table) are not unicode convertible.

Here is how I declared it:

types: Begin of zzpo,

CLIENT(3),

VENDOR(10),

DOCDATE(8),

PURORG(4),

PURGRP(3),

CREATEDON(8),

CREATEDBY(40),

PROCC(1),

COUNTRY(15),

CURR(5),

end of zzpo.

DATA: zzpo1 TYPE zzpo OCCURS 1,

zzpow TYPE zzpo.

Could someone please tell me what is the problem??

Thanks and Regards,

Vishwa.

Hi Gurus!!

We are on version ecc 6.0

I am getting the following error message: "The type of the database table and work area(or internal table) are not unicode convertible.

Here is how I declared it:

types: Begin of zzpo,

CLIENT(3),

VENDOR(10),

DOCDATE(8),

PURORG(4),

PURGRP(3),

CREATEDON(8),

CREATEDBY(40),

PROCC(1),

COUNTRY(15),

CURR(5),

end of zzpo.

DATA: zzpo1 TYPE zzpo OCCURS 1,

zzpow TYPE zzpo.

Could someone please tell me what is the problem??

Thanks and Regards,

Vishwa.

5 REPLIES 5
Read only

0 Likes
963

hi,

remove the occurs 1 and use type table of.

Ex.

types: Begin of zzpo,

CLIENT(3),

VENDOR(10),

DOCDATE(8),

PURORG(4),

PURGRP(3),

CREATEDON(8),

CREATEDBY(40),

PROCC(1),

COUNTRY(15),

CURR(5),

end of zzpo.

DATA: zzpo1 TYPE table of zzpo, (for internal table)

zzpow TYPE zzpo.(for work area).

Warm regards,

Surendar Reddy

Read only

Former Member
0 Likes
963

Hi,

Do this

types:

Begin of zzpo OCCUR 1,

CLIENT(3),

VENDOR(10),

DOCDATE(8),

PURORG(4),

PURGRP(3),

CREATEDON(8),

CREATEDBY(40),

PROCC(1),

COUNTRY(15),

CURR(5),

end of zzpo.

DATA: zzpo1 TYPE TABLE OF zzpo,(INTERNAL TABLE)

zzpow TYPE zzpo.(WORK AREA.)

Regards,

Sujit

Read only

Former Member
0 Likes
963

Hi Vishwa

DATA: zzpo1 TYPE standard table of zzpo,

zzpow TYPE zzpo.

Try this change and let me know.

Regards,

Suresh.S

Read only

Former Member
0 Likes
963

Hi,

Occurs 1 gives an error only in extended check.

check your further code there might be problem.

Regards

Adil

Read only

Former Member
0 Likes
963

Hi,

While declaring the internal table don't use OCCURS .

DATA:

zzpo1 TYPE standard table of zzpo,

zzpow TYPE zzpo.

And i think the error is not because of table declaration.

In your program the number of fields you are selecting in SELECT statement and the fields in the internal table

are not same .

And also check the sequence and DATA TYPE of fields .

Just check this .

Regards,

Rajitha.

Edited by: Rajitha Muthineni on Jul 8, 2008 2:49 PM