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: 

Re: Unicode Convertible

Former Member
0 Kudos

Hi All,

While inserting a the datas from an internal table to a customized Table we are getting a

Syntax error: "<b>The type of the database table and work area (or internal table)are not Unicode convertible. Unicode convertible</b>".

Is there anyway to overcome this.

Help and Suggestions will be much apprieciated.

Regards.

Ramesh.

5 REPLIES 5

Former Member
0 Kudos

If you dont want unicode checks to be done,you can go to your se38 program attributes and uncheck the "Unicide checks" flag.This will prevent unicode checks from happening.

Former Member
0 Kudos

hi,

in unicode system,you have to use SAME structure of ITAB as same as its database table.

for example,

INSERT MARA FROM WA_MARA.

here WA_MARA should be same structure of MARA table.then only its allowed,i believe.

so define

DATA WA_MARA TYPE MARA.

0 Kudos

Hi Srikanth,

thnksa for your suggetion..

it is correct ...i was having same issue ...In rectified by making my structure same like table.

thnks

former_member181962
Active Contributor
0 Kudos

See if you have statements like

move mara to xmara.

you have to move the fields field by field.

Regards,

ravi

0 Kudos

USE "<b>CORRESPONDING FIELDS</b>" IN YOUR OPEN SQL STATEMENT.

SAMPLE CODE :-

TABLES : MARA.

TYPES : BEGIN OF LINE1,

ERSDA TYPE MARA-ERSDA,

LAEDA TYPE MARA-LAEDA,

GROES TYPE MARA-GROES,

EKWSL TYPE MARA-EKWSL,

TRAGR TYPE MARA-TRAGR,

RBNRM TYPE MARA-RBNRM,

END OF LINE1.

DATA : ITAB1 TYPE STANDARD TABLE OF LINE1 WITH HEADER LINE.

SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE ITAB1.