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
In this case, this condition has not been met."
I have seen multiple times structure is same ..
Usefull answers would be rewarded
Aman Bal replied
Try using this logic.
FIELD-SYMBOLS: <table> TYPE STANDARD TABLE, <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>.