05-31-2007 12:10 PM
HI,
INSERT ZBALTAB FROM TABLE ITAB_HYP.
I get an error for the above line.
ITAB_HYP are not unicode convertible.
regards
Bala
05-31-2007 12:15 PM
Hi,
Maintain the same structure for the internal table as the db table.
05-31-2007 12:15 PM
Hi,
Maintain the same structure for the internal table as the db table.
05-31-2007 12:16 PM
Hi,
this error comes only when the format/structure of ZBALTB and ITAB_HYP is diffrent..
both table's sturucture should be same.... solution is to define YTAB_HYP same as ZBALTAB... like
data : YTAB_HYP like ZBALTAB occurs 0.
regards,
shardul shah
12-09-2010 4:33 PM
The structures do NOT have to be the same for a CORRESPONDING FIELDS. This works in a test program I have:
==================
DATA: itab TYPE STANDARD TABLE OF istruct.
SELECT *
FROM ztab
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE vkorg = 'XYZ'
AND zyear = '2007'
AND werks = '00A'.
===================
where "istruct" is the same as the DB table definition but with two additional columns and without MANDT.
However, in another program I get the "not Unicode compatible" error when I try to activate it.
Why does it work in one case and not the other? Is it some program setting?