Hi mlf,
can you please provide type information on the table/view you are reading from as well as the structure information of lt_data? I think there's some type missmatch respectively a conversion issue when fetching the data.
You can check this by just leaving out the optional pramater "upto" in the next_package... you should then still see the same issue.
Cheers,
Jasmin