Application Development 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: 

Problem using ALSM_EXCEL_TO_INTERNAL_TABLE function module

former_member208197
Participant
0 Kudos

Dear Experts,

I am trying to upload excel sheet to upload data into internal table,but the function module is giving out an error saying error in upload_OLE.This is working fine when upload data in my system but doesnt work when trying to upload in other system.

Let me know views on the same.

Thanks in advance.

Regards,

Kartheek.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

you may use function module "TEXT_CONVERT_XLS_TO_SAP'". Most simple to use without any complication. won't give any errror.

cheers.

Ankitesh

4 REPLIES 4

former_member182040
Active Contributor
0 Kudos

you can try to use following FM


PARAMETERS:    P_FILE LIKE RLGRAP-FILENAME DEFAULT 'C:\test.xls' OBLIGATORY.   

   CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
 CHANGING
    file_name           = P_FILE.

Former Member
0 Kudos

hi,

you may use function module "TEXT_CONVERT_XLS_TO_SAP'". Most simple to use without any complication. won't give any errror.

cheers.

Ankitesh

0 Kudos

The error might be due to type declaration of the input file path. Check for the type and try the FM CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'.

former_member208197
Participant
0 Kudos

Thanks to all replies.