SAP BI retrieving PDF from Web Service

SAP HANASAPSAP Basis

Try using REST SDK to retrieve document and convert it in to PDF. Follow below steps:

  • Logon: POST /biprws/logon/long
  • Get the doc's prompts (if any) GET /biprws/raylight/v1/documents/5690743/parameters
  • Pass the correct values for the prompts (if any) and refresh the document: PUT /biprws/raylight/v1/documents/5690743/parameters
  • Export as PDF GET /biprws/raylight/v1/documents/5690743

In end you need to pass Accept: application/pdf in HTTP header to get PDF version.

raja
Published on 05-Dec-2017 20:48:53
Advertisements