CRYSTAL REPORTS QUESTIONS

Can Crystal Reports Run After a File Arrives or Database Data Changes?

Yes. An event-based reporting workflow can start Crystal Reports when an agreed file or database condition is met. The condition must represent data that is ready to report.

CRD can monitor those conditions and start a prepared reporting job, replacing a guessed start time.

  
The late import

Wait for the orders rather than another fifteen minutes

Imagine a warehouse report timed for six each morning. The order import normally finishes earlier, but on busy days it runs late. The supervisor receives an incomplete picking list and asks for another copy.

Moving the report later solves today’s delay without establishing whether tomorrow’s import will be finished. A completion signal gives the workflow something more meaningful to wait for.

For this example, the import writes a record containing the completed business day. The reporting job can then start for that day, rather than treating any database change as permission to send the picking list.

Agree what “arrived” means

A file can exist while it is still being written. Use a completion marker or another agreed handoff before reading it.

  
Your options

Plan event-triggered Crystal Reports delivery

SAP Crystal Server provides file, schedule and custom events. A completed-file signal or a preceding server job can therefore support a native dependency. A database condition that identifies newly ready orders is a more specific requirement.

A maintained application can also detect completion and request the report. That may be the clearest route when the application already owns the import’s status.

CRD’s Event-Based scheduling guide documents file and database conditions, including matching-record behavior. It can start an existing schedule when the criteria are met. The rule you configure determines the meaning of the event; CRD does not infer whether the import is complete.

Keep the clock where it helps

A predictable completed import may need only an ordinary schedule. Use a readiness condition when variable completion time is the actual problem.

  
Set it up

Connect the completed import to the picking list

Prepare the picking-list job and prove its report and destination first. Choose the intended business-day parameter and deliver to a controlled folder or test mailbox.

Add the Event-Based schedule and configure the file or database condition that represents completion. For a database query, return the intended completion records and a stable identifier. Limit the polling window if the process is only relevant during warehouse operating hours.

Plan what makes the event stop qualifying. A completion record left unchanged may keep matching. CRD’s documented new-record and matching-record choices serve different needs; choose the behavior and any processed-marker update deliberately.

Test a late import, an ordinary completed import and an already handled completion record. The supervisor should receive a picking list for the loaded day, without another copy on every check.

Keep failure separate from completion

A failed database query is not evidence that there were no new orders. Route that failure to the reporting owner.

  
For developers

Keep the import and its reporting outcome traceable

If the import application supplies the start request, retain its business-day and batch identifiers alongside the CRD execution reference. That gives operations one way to connect the incoming orders with the delivered document.

Technical reference: repeated events and recovery

Choose one owner for marking a batch handled. Marking it before delivery can conceal a missing report; marking it afterwards can leave a duplicate risk if the update fails. Reconcile the event, execution and destination before retrying.

Use the CRD API setup guidance for application integration. Keep credentials on the backend and authorize the requested schedule. A successful request or event detection does not establish successful report delivery; this design does not promise exactly-once execution.

Try the interrupted handoff

Include a controlled failure after detection. Agree how the still-relevant batch is recovered without sending every earlier picking list again.

  
Your next step

Let the supervisor work from the completed order load

The picking list should arrive because the orders are ready, with an understandable response when they are late or the report fails. Start with one completion signal everyone involved can explain.

Use event-triggered CRD automation to evaluate that handoff. The Crystal Reports automation overview connects event checks with the wider delivery workflow.

Contributors:

Christian Ofori-Boateng

Christian Ofori-Boateng

CEO, ChristianSteven Software