Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Popup for download to excel on WEB UI

Hi,

I have a reuirement where i need to put a button (Download to Excel) on WEB UI,

Can anyone please let me know as to what should be the piece of code to be put in the event which i will be making for the button, so that when i click on download to excel button a popup comes up asking me to either save the file to desktop or cancel.

Best Regards,

Saurabh Garg

Tags:
Former Member
Former Member replied

Saurabh,

There are few limitation in the way you can download the excel from Web UI. The standard functionality of Export to Excel have been coded by the Framework and there is a lot of runtime code that is generated during the call. Moreover the Pop Up that comes up after such an event is not a Web UI pop Up, it's a Windows Pop Up , so the coding from the Framework ensures that it call Windows API and then the excel sheet is opened with the necessary data.

It may be possible by making use of some Javascript code, which i am not too sure and even SAP best practices advices you not to do such coding.

Regards,

Harshit

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question