cancel
Showing results for 
Search instead for 
Did you mean: 

How to create RAP Action to generate a file to download?

MattDion
Participant
0 Kudos

In BTP ABAP Environment, I have a RAP entity with an action. Let's call the action 'generateFile'. In that action, I have specific logic that uses the XCO classes to build out an XLSX file. The RAP entity and its action are projected and exposed into a Fiori Elements application. The action is triggered from a user pressing a button.

The final step is that the XLSX file that is generated needs to be automatically downloaded to the user's frontend. Is there a way of doing that from the action itself? Or do I need to handle this from the Fiori app (meaning, no way to test the action from the OData service preview)?

Accepted Solutions (0)

Answers (0)