Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

dynamic internal table - unicode error


while creating dynamic internal table i am facing issues with FLTP types fileds lenght - doono why may be some thing to do with unicode , still i am able to manage the same but

When i am trying to assign database table data to internal table created in last step using select * into dyn_table> from dbtable

i am facing following error

" 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."

I have seen multiple times structure is same ..

Pls help..

Usefull answers would be rewarded

Former Member
Former Member replied

Try using this logic.

                 <line>   TYPE ANY.

  CREATE DATA lt_data TYPE STANDARD TABLE OF (p_table). " this is your table
  ASSIGN lt_data->* TO <table>.
  CREATE DATA l_struct TYPE (p_table). " this is your structure
  ASSIGN l_struct->* TO <line>.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question