I have an object (created in the Universe) that will return an error in the circumstances when I don’t want the report to run (a count of a certain dimension):
case when count(@Select(Report\Object))=0 then 1/0 else count(@Select(Report\Object)) END
I put this object in a separate query in my report.
We don’t want to deploy using this method because it does generated a failed job. We have a daily alert that is sent to the user whenever they have a job that failed. It would get confusing to them and they wouldnt know if it was really a failure or a staged failure when no data is returned.
Want to check the following
If SAP ve added anything new that might allow us to do something like this in SAP 4.0 scheduling features.
If we can create a SQL based check to trigger the event in SAP 4.0 events.
Sounds like you’ve scheduled your report through the CMC with a Failure notification on it; personally I’d just take the failure notification off it, once I’d tested it thoroughly.
Not sure about 4.0 I’m afraid, have no experience of it. Haven’t read of any notable improvements to the scheduler component though. Maybe someone else can advise?