When there is no record fetched in a WebI query, we get the message like "No data to retrieve in <Data Provider>". I have seen multiple times people asking for a way to customize this message or prevent the message from appearing. There is a blog in SCN which describes a way to do it for WebI on universe. But, for WebI on OLAP connection, the need remains.
In this blog, let me share the way I managed to do it.
This customization is not supported by SAP. There is no guarantee that this approach will work in future releases of the product. |
This is going to affect all WebI reports. |
Assumption:
This process has been tested in SAP BO BI Platform 4.1 SP5 installed in Windows server with Tomcat as application server. Product Locale & Preferred Viewing Locale is English (en_US).
Steps:
Original | function displayNoDataToFetch(s,cb){ showAlertDialog("No data to retrieve in "+s,"Retrieving Data",0,cb); } |
Custom message | function displayNoDataToFetch(s,cb){ showAlertDialog("No data to fetch in "+s,"Retrieving Data",0,cb); } |
Prevent the message from appearing | function displayNoDataToFetch(s,cb){ /* showAlertDialog("No data to retrieve in "+s,"Retrieving Data",0,cb); */ } |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
37 | |
10 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |