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: 

not unicode convertible

Former Member
0 Kudos

HI,

INSERT ZBALTAB FROM TABLE ITAB_HYP.

I get an error for the above line.

ITAB_HYP are not unicode convertible.

regards

Bala

1 ACCEPTED SOLUTION

Former Member

Hi,

Maintain the same structure for the internal table as the db table.

3 REPLIES 3

Former Member

Hi,

Maintain the same structure for the internal table as the db table.

Former Member
0 Kudos

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

0 Kudos

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?