Skip to Content
avatar image
Former Member

Exporting an Webi document using RESTful not working

I am trying to export the Webi report in excel format but it is getting the cached data

I have create a Webi document and exported the first time it works well but when tries to export the same document next time after updating the filter from SAP launch pad it is getting the old data from Restful call.

Steps I followed

1. Login

2. Refresh the document

"http://" + Session.IP + ":" + Session.port + "/biprws/raylight/v1/documents/" + DocId + "/parameters?lovInfo=false";

3. Export the document

"http://" + Utilities.Session.IP + ":" + Utilities.Session.port + Utilities.Session.version + "/documents/" + DocId + "/reports/" + RptId;

GetRequest.Method = "GET"; GetRequest.Accept = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; GetRequest.Headers.Set("X-SAP-LogonToken", Utilities.Session.LoginToken);

Is it any cashing mechanism in SAP which gives cached data?

Have anyone faced similar issue ? If you have solution, Request you to please share

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers