on 08-24-2020 9:07 PM
Hi,
I have an excel file that contains some data and I want to mass upload that data into smart table in SAPUI5. Is it possible to put data from excel into smart table and send it to backend? If yes, could you please tell me the way to achieve it.
Thanks,
Teja.
Hi tezk
i developed something for this use case:
https://docs.spreadsheet-importer.com/
It´s maybe helpful.
If you have any questions, you can contact me.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teza,
I looked into this similar requirement recently and the first thing that came to my mind is -- how does SAP do it? I did some investigation and found out that standard SAP upload the excel file directly to ABAP backend, then do some processing logic like data validation then send the data back to the UI (which is already through OData) where the control used is SmartTable. I think you could apply the same approach to your requirement.
At first, I thought of the same approach you described above, but once I learned that SAP's approach is more simple, I discarded that idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
True, this is a better solution especially from the performance wise , tezk, just keep in mind, that you need to have a temporary table in the backend or the actual table with some sort of status(intermediate or temporary) to achieve this.
I just wrote a blog on how I achieved this without temporary table (this was bothering me).
It under review but I'll link it here once it is published by SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andy,
That's great. Waiting for your blog post. Please post the link here once it is published.
Thanks,
Teja.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.