Skip to Content

Import Excel data into smart table in SAPUI5

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 25 at 02:17 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 25 at 09:46 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.