- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Can I export CSV by using REST API in SAP Business Objects?
Yes, it is feasible and I have done something similar in one of my previous projects. But you need to be little clear on what you need to export. There are two options regarding the content of export:
- Raw Data ( it is basically the query)
- Formatted Data ( it is your report)
I will provide you help for both. In case, if you are looking for just exporting the raw data then you can the following call and you should be able to fetch the raw data.
http://<Server Name>:6405/biprws/raylight/v1/documents/<document Id>/dataproviders/<Dataprovider Id>/flows/<Flow Id>
Also as will require the response in CSV, set the ACCEPT to ‘text/plain’ so that the response is returned in the required format not JSON.
If you require not the raw data but the actual report then make the below call:
http://<Server Name>:6405/biprws/raylight/v1/documents/<Document Id>/reports/<Report Id>
Here as well you need to set the ACCEPT as done above for getting the response in the required in CSV format.
- Related Articles
- Updating Data source of provider by REST API in SAP
- Using SAP ABAP, how can I read content of CSV files in a directory to an internal table?
- Information exported using export system in SAP HANA Studio
- How can we export all the data from MySQL table into a CSV file?
- How can we export some field(s) from MySQL table into a CSV file?
- Difference between REST API and SOAP API
- How to Export and import CSV file manually in PowerShell?
- How can I check the list of existing authority objects in SAP system?
- HTTP REST API calls in ElectronJS
- What is REST API in React.js?
- How can we import CSV files into MySQL tables by using mysqlimport?
- Export Data from a SAP system
- How can we export data to a CSV file along with columns heading as its first line?
- How to create Covid19 Country wise status project using REST API?
- How to use Azure Rest API in PowerShell?
