You are on page 1of 2

Avoid Scheduling when no data in report | SCN

1/21/2015

Getting Started Newsletters Store

Hi, Guest

Log On Join Us

Search the Community

Products

Services & Support

About SCN

Downloads

Industries

Training & Education

Partnership

Developer Center

Activity

Lines of Business

University Alliances

Events & Webinars

Innovation

Browse

More blog posts in

Communications

Actions

BusinessObjects BI for SAP

Actions

BusinessObjects BI for SAP

Login to follow, like, comment, share and


bookmark content.

Avoid Scheduling when no data in report

Login

Posted by Mantu Sahu in BusinessObjects BI for SAP on 08-Sep-2014 14:20:14

Register

Previous
Next
Share

This post is about how to avoid scheduling when there is no data fetched from database. Sometime there is client
requirement that they dont want to receive reports when there is no data.
The only way we could stop scheduling the report when no data, is to make scheduling failed so that it doesnt send
any email to recipients.
We can make scheduling fail when there is a runtime error in the report. So the runtime error considered is 1/0.
postpost
Let us consider we have one data provider1 in our report and which gives me results in the report. And for some date
there is no data. Below are the steps to make scheduling fail.

Create a new data provider(Query 1)


Use Custom Query script and keep the FROM and WHERE clause same as that of "Query 1" script, which is the
actual report script. Change the SELECT clause as below :
SELECT 1/count(*)
FROM Query1
WHERE (keep same condition as of Query 1)
When there will no data from Query1, your count wlll be zero and 1/0 will throw error and scheduling gets failed.

Filter Blog
By author:
--By date:
--By tag:

analysis analytics bi bi4

business_intelligence

business_intelligence_(businessobjects) businessobjects
bw enterprise_data_warehousing/business_warehouse

hilgefort ingo ingo_hilgefort sap_hana sapmentor


sapmentors

281 Views

Recent Posts
Enhancement to SAP BW integration in BI 4.1 SP05

Average User Rating

BI Mentors Monday

(0 ratings)

List of Values for HANA (SPS 07 Rev 70) Input


Parameters In IDT 4.1 SP2

Share

Like

Like

Tweet

Public SAP Mentors Monday on a Wednesday - How


The Developer Wars Was Won
BW Web Intelligence Best Practices Webcast Notes
Avoid Scheduling when no data in report

0 Comments

Meet ASUG SAP TechEd d-code Speaker Kumar


Chidambaram - Holistic BI BW on HANA Approach
Developer Wars 2014

There are no comments on this post

ASUG Annual Conference - Brief Recap SAP BI


Integration
#SAPTechEd Lecture of the Week: BI4 Sizing - What
You Need to Know (since TechEd)

http://scn.sap.com/community/bi-platform/businessobjects-bi-for-sap/blog/2014/09/08/avoid-scheduling-when-no-data-in-report

1/2

Avoid Scheduling when no data in report | SCN

Site Index
Privacy

Contact Us
Terms of Use

1/21/2015

SAP Help Portal


Legal Disclosure

Copyright

http://scn.sap.com/community/bi-platform/businessobjects-bi-for-sap/blog/2014/09/08/avoid-scheduling-when-no-data-in-report

Follow SCN

2/2

You might also like