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)
Z_RDA_DAEMON_START 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
Z_RDA_DAEMON_STOP Program
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
Z_RDA_DAEMON_MONITOR Program
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 installed from attached SAPLink archive (change extension to .nugg before installation and use the one for your respective BW release).