cancel
Showing results for 
Search instead for 
Did you mean: 

In smart control, clicking on export to excel odata is triggering,how to resolve iy

0 Kudos

Hi,

In the smart control, clicking on export to excel button, it's again triggering the get entity set method and again fetching the data.How to resolve this issue.

Thank you in advance!

Regards,

Ashwini

Accepted Solutions (0)

Answers (1)

Answers (1)

GregMalewski
Contributor

Hi Ashwini,

Smart controls have features that make it easier to use in comparison to a standard SAPUI5. They do this mainly by interpreting OData metadata and utilizing the backend. Export to Excel with ExportType UI5Client most probably checks backend to make sure all records are collected.

Hope this helps.

Greg

0 Kudos

Hi Grzegorz,

Thank you for the answer!

But in my requirement ,on get entity some backend tables updating is there. So its updating 2 times.

1.Clicking on GO button in smart filter.

2.Clicking on export to excel button.

How to download table data w/o triggering to backend again.

Thanks in advance!

Regards,

Ashwini.

GregMalewski
Contributor

Unfortunately, you need to find a different place for making the table updates as get entity is by design for retrieving the data and can be called multiple times.