Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

upload_ole error

Former Member
0 Likes
1,986

Hi,

I am using the fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload the excel file into an Internal table. Its working fine but some times it is throwing an error UPLOAD_OLE error.

Can somebody has an idea on this?

Thanks

bpr

5 REPLIES 5
Read only

Former Member
0 Likes
1,191

Use Fm like This:

call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = filename
i_begin_col = 5
i_begin_row = 2
i_end_col = 6
i_end_row = 4000
tables
intern = t_excel
exceptions"Handle all exceptions(This is must).
inconsistent_parameters = 1
upload_ole = 2
others = 3.

Read only

Former Member
0 Likes
1,191

Thanks all. Solved myself

Read only

0 Likes
1,191

Hi,

How did you solve?

Read only

0 Likes
1,191

Check the state of EXCEL.

Read only

0 Likes
1,191

Use ABAP2XLSX.