09-14-2006 10:37 AM
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.
09-14-2006 11:24 AM
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.
09-14-2006 12:29 PM
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.
01-18-2012 8:36 AM
Hi Srikanth,
thnksa for your suggetion..
it is correct ...i was having same issue ...In rectified by making my structure same like table.
thnks
09-14-2006 12:39 PM
See if you have statements like
move mara to xmara.
you have to move the fields field by field.
Regards,
ravi
10-05-2006 7:13 AM
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.