‎2019 Nov 06 11:40 AM
I have using this: iNSERT z_my_db FROM TABLE iT_tab[] ACCEPTING DUPLICATE KEYS.
but this is error:
The types of the database table and the workspace or internal table "it_tab" are not Unicode convertible.
why?
thanks
‎2019 Nov 06 11:49 AM
A lot of times it is because the structure of IT_ITAB is not the same as the Z_MY_DB
‎2019 Nov 06 11:49 AM
Your data declaration for ITAB should be wrong, what is the data declaration for ITAB.
Is accepting duplicate key is part of your requirement?
if not you can use Modify statement as below, here gt_tab must be a internal table of type ZTAB. if possible can you paste your code?
"Insert Into table
MODIFY ZTAB FROM TABLE gt_tab.Regards!
‎2019 Nov 06 11:49 AM
A lot of times it is because the structure of IT_ITAB is not the same as the Z_MY_DB
‎2019 Nov 07 10:05 AM
Can you help furnish the types of Z_MY_DB and IT_ITAB please ?