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: 

I am getting "UNICODE_TYPES_NOT_CONVERTIBLE" error

Former Member
0 Kudos

Hello Everyone,

I am building a tool for cloning data from client to client, and I am getting the below mentioned error.

Error analysis

In a Unicode system, the type of the operand "dbtab" must be convertible

into that of the operand "itab" for the statement "SELECT * FROM dbtab INTO

TABLE itab". Regardless of the

length of a Unicode character, both operands must have the same

structure layout.

In this case, this condition has not been met.

And error statement in my code is

LOOP AT IT_HOLD.

CONCATENATE 'PA' IT_HOLD INTO TAB_NAME.

*SELECT * FROM (TAB_NAME) INTO TABLE CONTENT_TABLE WHERE PERNR = V_PERNR.*

Can anyone suggest me how can i resolve this error. Thanks in advance.

Cerelac

1 REPLY 1

former_member223537
Active Contributor
0 Kudos

Hi Vikram,

This is due to program error. TAB_NAME will have a Table name at runtime but you have already defined internal table TABLE CONTENT_TABLE. What is the declaration of that table ?

Take help of your abapper to use Field symbols for the declaration & it should work.

Thanks,

Best regards,

Prashant