Automation of RDA Scheduling and Monitoring
Real Time Data Acquisition can be controlled and monitored using trx. RSRDA. The same tasks can be accomplished programmatically. I created a set of programs that simplifies RDA scheduling and monitoring. It is not a big deal to debug trx. RSRDA and create such programs. What makes these programs unique is an added intelligence that helps:
- identify scheduling problems (start, stop and monitor programs)
- prevent locking conflicts (stop program)
- identify failures even though deamon status is green (monitor program)
Similar to starting RDA in trx. RSRDA it can be started using Z_RDA_DAEMON_START Program
If you run the program and daemon is already started the program issues an error message notifying about scheduling problem
Similar to as RDA is stopped in trx. RSRDA it can be stopped using Z_RDA_DAEMON_STOP Program
Program is intelligent enough to wait till the daemon is completely stopped such a way preventing possible locking conflict (for example, next step in day end deletes content of RDA DSO)
If you run the program and daemon is already stopped the program issues an error message notifying about scheduling problem
Similar to Monitoring RDA in trx. RSRDA it can be monitored using Z_RDA_DAEMON_MONITOR Program
Monitor program also handles situation when daemon is running but underlying DTP or InfoPackage failed
If you run the program and daemon is already stopped the program issues an error message notifying about scheduling problem.
Start, Stop and Monitor Process Chains
The programs are used in ABAP Process Chain Types Steps.
Here is an example of Monitor Process Chain in case of DTP failure
Described programs can be downloaded from GitHub:
Could you please provide the link for the programs.
I uploaded the sources to GitHub.
Do you know if there is any way we cna get the alerts on email if any deamon fails?
I tried in Solution Manager but it its for process chains and not for the DTP's.
Thanks and Regards,
the way it works for us, Z_RDA_DAEMON_MONITOR program is run as ABAP Process Type step of Process Chain. Monitor Process Chain is scheduled every 5 mins. In Process Chain ABAP Process Type step error handling is defined to notify via email if error occurs.
in your ABAP code there is a declaration:
DATA: exception TYPE REF TO zcx_exception.
We have not zcx_exception type in our system, can you please show what it is?
We try to use your program but we get an error message:
Type "ZCX_EXCEPTION" is unknown
please import Z_EXCEPTION ABAP Git repository.