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

GUI upload

Former Member
0 Likes
432

Hi All,

I have a requirement that i need to upload 4.2 milllion records from presentation server file (.txt) to an internal table in a program and update it to a custom table . I could use GUI_UPLOAD function module but it will take lot many SAP memory and and will make the system slow. Do we have any option other than splitting the flat file into multiple number of flat files and and process it.

<<removed by moderator>>

Thanks,

Sagar Bhattacharjee

Edited by: kishan P on Sep 3, 2010 9:33 AM

2 REPLIES 2
Read only

Former Member
0 Likes
391

Hi Sagar,

If you have to upload the data on application server then why dont you try using FTP function modules.

Use these function modules FTP_CONNECT, FTP_COMMAND, and FTP_DISCONNECT to get/put files between FTP and application server.

Try searching for code in SCN code gallery for the same.

Regards

Abhii

Read only

Former Member
0 Likes
391

Ok.

There is a possibility of placing this text file in to application server. Basis people can do that .

Now what you need to do is pick the data from applciation server using datasets and update the table from program point of view.

As i said you need this file placed in to the application server path AL11.

your program will pick the data from this path and process the things . Since the data is present in application server you can run the program in background under a job .

I had a similar scenario where in the volume of records was about 10 million. This was the approach we used it then .

Good luck . BTW welcome to SCN and please use some good description for the subject line .

BR,

Vijay.