Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to apply filter on webi report after scheduling (even if the document has optional prompts) ?


I am working with the RESTFul Web Services SDK.

I've succeed to apply a filter on a webi report and to export it next.

But it doesn't work when the document has an optional prompt which is not given during the schedule.

To describe shortly the process in my java program :

1. I schedule a document (and I give it all the mandatory prompts values).

I use :

POST <webiURL>/documents/{documentId}/schedules

The schedule is ok.

2. I retrieve the last instance ID of the document.

I use :

GET <webiURL>/documents/{documentId}/schedules

I get it.

3. I create data filter on each report of the document.

I use :

POST <webiURL>/documents/{documentId}/reports/{reportId}/datafilter

It's sucessfully saved.

4. I export this instance in pdf.

I use :

GET <webiURL>/documents/{documentId}/pages

The report had been filtered by the data filter. All is ok..

BUT when the document has a optional prompt which is not given, it doesn't work and the pdf has no data (it seems like if all data had been filtered).

But nevertheless, the schedule is ok (it contains all data), so the step 2 seems to be ok. And the issue comes probably from the step 3.

Does anyone have an idea ?

Sorry for my english.

Not what you were looking for? View more on this topic or Ask a question