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 excel file in SAP from background processing

Former Member
0 Likes
2,474

Dear All

I have a large excel file to be uploaded in SAP. I would like to know if there is any FM that can read this FM in background and then take it for further processing.

As of now I came across all the FM that processes excel only in foreground.

Issue that I am facing is that because of huge size of this excel, there are memory dump. Which I want to avoid.

So could you suggest some ways.

Amol

3 REPLIES 3
Read only

Former Member
0 Likes
749

Hi,

how about:

exporting in excel to csv format and uploading this file onto the application server. Change the coding of the given report to "open dataset, read dataset, ..."

Kind Regards,

Dirk

Read only

former_member201275
Active Contributor
0 Likes
749

here is answer u r looking for:

Read only

sjeevan
Active Contributor
0 Likes
749

Can you try writing the program for foreground like normally you do and set up a background job to execute your program by saving the variant of the program with the path of the file in it?

The sample code for front end excel upload is here

http://www.sap-img.com/abap/upload-direct-excel.htm