‎2008 May 14 3:49 PM
hi all
Can anybody tell me meaning of this error message
"Table is not unicode- convertible'.
Rgds
Mona
‎2008 May 14 4:17 PM
Hi
Plz check this out
DATA: BEGIN OF g_file OCCURS 0,
matnr TYPE matnr, "Material Number
maktx TYPE maktx, "Materialdescription
prodesc(30) TYPE c, "Material description
salegrp(3) TYPE c, "
mseht TYPE mseht, "Text t
brgew TYPE brgew, "
volum TYPE volum, "
length(5) TYPE c, "
wheel_width TYPE zwid, "Wheel Width
wheel_diam TYPE zdiam, "Use diameter
serial(1) TYPE c, "
palqty(10) TYPE c, "
unipcar(5) TYPE c, "
unno(4) TYPE c, "
END OF g_file.
DATA : t_file LIKE g_file OCCURS 0 WITH HEADER LINE.
SELECT * FROM mara INTO TABLE t_file
WHERE matnr = wmara-matnr.
This is giving error as
"type of the database table and work area (or intertable)
t_file are not unicode convertible
Plz help
‎2008 May 14 3:52 PM
The table is not unicode convertible
If you post the instruction that is giving the error it's easier to see why is giving you the error
‎2008 May 14 3:55 PM
‎2008 May 14 3:56 PM
Hi
SELECT * FROM mara INTO TABLE t_file
WHERE wmara-matnr = mara-matnr.
this query is giving error as
"t_file is not unicode convertible."
‎2008 May 14 4:01 PM
replace your select query as
SELECT * FROM mara INTO TABLE t_file
WHERE matnr = wmara-matnr .
As you are selecting all the values from the table MARA ,check the internal table structure t_file is same as MARA (eg:- data: t_file type table of mara.)
‎2008 May 14 4:03 PM
Hi,
Can you give your declaration part also.
So, that i can analyze the code.
Give your code , before to that select statement.
Regards
Sandeep Reddy
‎2008 May 14 4:17 PM
Hi
Plz check this out
DATA: BEGIN OF g_file OCCURS 0,
matnr TYPE matnr, "Material Number
maktx TYPE maktx, "Materialdescription
prodesc(30) TYPE c, "Material description
salegrp(3) TYPE c, "
mseht TYPE mseht, "Text t
brgew TYPE brgew, "
volum TYPE volum, "
length(5) TYPE c, "
wheel_width TYPE zwid, "Wheel Width
wheel_diam TYPE zdiam, "Use diameter
serial(1) TYPE c, "
palqty(10) TYPE c, "
unipcar(5) TYPE c, "
unno(4) TYPE c, "
END OF g_file.
DATA : t_file LIKE g_file OCCURS 0 WITH HEADER LINE.
SELECT * FROM mara INTO TABLE t_file
WHERE matnr = wmara-matnr.
This is giving error as
"type of the database table and work area (or intertable)
t_file are not unicode convertible
Plz help
‎2008 May 14 4:18 PM
SELECT * FROM mara INTO CORRESPONDING FIELDS OF TABLE t_file
WHERE matnr = wmara-matnr.
‎2008 May 14 4:21 PM
You need to add "CORRESPONDING FIELDS OF" into your query.
DATA: BEGIN OF g_file OCCURS 0,
matnr TYPE matnr, "Material Number
maktx TYPE maktx, "Materialdescription
prodesc(30) TYPE c, "Material description
salegrp(3) TYPE c, "
mseht TYPE mseht, "Text t
brgew TYPE brgew, "
volum TYPE volum, "
length(5) TYPE c, "
wheel_width TYPE zwid, "Wheel Width
wheel_diam TYPE zdiam, "Use diameter
serial(1) TYPE c, "
palqty(10) TYPE c, "
unipcar(5) TYPE c, "
unno(4) TYPE c, "
END OF g_file.
DATA : t_file LIKE g_file OCCURS 0 WITH HEADER LINE.
SELECT * FROM mara INTO CORRESPONDING FIELDS OF TABLE t_file
WHERE matnr = wmara-matnr.
Or
DATA: IT_FIEL TYPE STANDARD TABLE OF MARA.
SELECT * FROM mara INTO TABLE t_file
WHERE matnr = wmara-matnr.
Regards,
Naimesh Patel
‎2008 May 14 4:20 PM
I have written this code in EXIT_SAPLMGMU_001 and
in table declaration some fields are from tables which are not there in that exit like MAKT, T006A and Marc
what I can do so that I can get data from this tables also by writing code in the exit.
‎2008 May 14 4:30 PM