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

Issue in EP: Function module throwing an exception

Former Member
0 Likes
513

Hi Guys,

I have an Issue in EP.....which is a replica of the production system i am working on. I have an excel file to upload. I am using the function module 'text_convert_xls_to_sap' . This is working in Production sytem.

But i am getting an Error" File cannot be processed ".

in portal environment of the same program.

The exception is in the Function Module 'text_convert_xls_to_sap' in the " PERFORM get_spreadsheet_interface USING g_con_excel....".

Here sy-subrc = 1.

Can anyone tell me what exactly is going wrong here?

Thanks,

San

PS:Helpful answers will be rewarded

3 REPLIES 3
Read only

Former Member
0 Likes
470

Hi San,

Use FM ALSM_EXCEL_TO_INTERNAL_TABLE and try.

Regards,

Atish

Read only

former_member225631
Active Contributor
0 Likes
470

Check whether the excel file is closed when you execute the program.

Read only

0 Likes
470

Hi!

The file is closed when i access. The issue is elsewhere and it is not reading the file...

Thanks,

San