Skip to Content

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

error while uploading data to ztable from excel file


I have a requirement where i have to upload data from excel file to ztable.I have used the fm 'ALSM_EXCEL_TO_INTERNAL_TABLE' for reading the excel file.After reading the excel file i have used INSERT zrb_hdr from table t_zrb_hdr for updating the ztable with data .

here it is giving error as the data base table zrb_hdr and the internal table t_zrb_hdr should be declared of same type .

I got this error b'coz i have changed the date and time fields in t_zrb_hdr table to char the structure of zrb_hdr and t_zrb_hdr are not same.If i don't change the date and time fields,in the o/p i am not getting proper date and time formats.

now how can i upload data into ztable?

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