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

Uploading file from desktop

Former Member
0 Likes
833

Hi,

I am using CRM 7.0. I want to upload a excel file into an internal table.Can anyone tell any function module in CRM 7.0?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
794

Hi,

Try for the following FMs.

I am not sure whether those FMs are in CRM or not.

TEXT_CONVERT_XLS_TO_SAP

KCD_EXCEL_OLE_TO_INT_CONVERT

Thanks and regards,

Venkat

Hi,

I am using CRM 7.0. I want to upload a excel file into an internal table.Can anyone tell any function module in CRM 7.0?

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
794

Plz SEARCH in SCN before posting.

use this FM.

ALSM_EXCEL_TO_INTERNAL_TABLE

Read only

Former Member
0 Likes
794

Yes I know how to search in SCN...but are you sure Gautham Vangaveti that the FM is existing in CRM7.0!!!!! That is why I have mentioned CRM 7.0.

Read only

Former Member
0 Likes
794

Hi Jjammy,

See below code

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD

EXPORTING

FILENAME = LV_FILENAME

FILETYPE = 'DAT'

HAS_FIELD_SEPARATOR = ',' -


>"Use # instead of comma

HEADER_LENGTH = 0

READ_BY_LINE = 'X'

CHANGING

DATA_TAB = LT_UPLOAD_DATA

would work....or you can also try using FM: /RPM/CAP_PLAN_EXCEL_UPLOAD as an alternative.

Regards,

Vikram.S

Read only

Former Member
0 Likes
795

Hi,

Try for the following FMs.

I am not sure whether those FMs are in CRM or not.

TEXT_CONVERT_XLS_TO_SAP

KCD_EXCEL_OLE_TO_INT_CONVERT

Thanks and regards,

Venkat