on 04-28-2008 4:09 PM
What is best way of reading a file like excel which has thousands of records and sending as input to Function Module.
Example:
If i have records of 20,000 students(name,no,class) in excel sheet.
User will upload the excel sheet through file object in webdynpro view.
Data in excel file needs to be read one by one and sent to function module.
OR
submit all the data at ONCE as input to function module
i suspect there might be portal time out.
Any one encountered such scenerios.
Hi Raghu
For performance reasons not only in SAP, in all the web tecnologies you shouldn´t upload a file for transactions for insert, upload, delete or etc... by web, my suggestion is that you put this excel file in some place in your path and then some background process run for send this data to the funciton module. Remember that a web interface has been designed to be fast and no for batch process. The process that you want to run can affect seriously the memory in your web server and the will be very slowly.
I hope, helps you.
Josué Cruz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.