on ‎2026 Jan 15 4:43 AM
Hello Expert,
I am currently working on a custom RAP (RESTful ABAP Programming Model) Application in SAP S/4HANA Public Cloud. In this application, we use an API to send data to an external portal.
Now there is a new requirement when the user clicks a button, the JSON payload that is used in the ABAP program for sending data via the API should be downloaded in JSON format.
For this purpose, I have already created a custom action in the Behavior Definition, and the button is visible in the Application. My question is how to implement the download functionality so that the same JSON payload used for the API call can be downloaded by the user in JSON format and Also, please explain how to implement the JSON download functionality in the RAP application with step by step guidance.
Thank you,
Request clarification before answering.
Hello,
your request is not supported in RAP but can be implemented with a workaround which is well described in this blog.
There are no actions described as you would like to implement, instead, there are virtual elements i.e. fields, which represent a link to download the file, you have implement in a separate class.
Thank you & Best Regards,
Tugba
RAP Integration Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.