on 07-14-2015 1:32 AM
Hello,
I am having a requirement to upload an excel or csv file (whichever is possible) from my UI5 application and display the contents from the file in a table format. I have created the table (oTable) and created binding with oModel. Also, I am able to upload the file using sap.m.UploadCollection.
However, I am unable to figure out how to get the contents from UploadCollection and set it to oModel so that it can be populated in the table.
Any help will be appreciated!
Thanks,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I am trying to upload the file in my ABAP server, I get the below error:
Failed to load resource: the server responded with a status of 404 (Not found)
http://<serverurl>:<portnumber>/sap/bc/upload
Thanks for the help!
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you trying it to test in localhost??
If this is the case then proxy might help.
Use your URL like this. proxy/http/<serverurl>:<portnumber>/sap/bc/upload
Regards
Dhananjay
Is this even possible? I was reading some forums and realized that an excel file has to be first uploaded to a server and the UI5 application will have to read from the server.
Any ideas?
Thanks,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dhanajay,
When I am trying to upload the file in my ABAP server, I get the below error:
Failed to load resource: the server responded with a status of 404 (Not found)
http://<serverurl>:<portnumber>/sap/bc/upload
Thanks for the help!
Charles
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.