Skip to Content

     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

RDA1.jpg

RDA2.jpg

If you run the program and daemon is already started the program issues an error message notifying about scheduling problem

RDA3.jpg

 

Z_RDA_DAEMON_STOP Program

Similar to as RDA is stopped in trx. RSRDA it can be stopped using Z_RDA_DAEMON_STOP Program

RDA4.jpg

RDA5.jpg

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

 

RDA6.jpg

 

 

Z_RDA_DAEMON_MONITOR Program

Similar to Monitoring RDA in trx. RSRDA it can be monitored using Z_RDA_DAEMON_MONITOR Program

RDA7.jpg

RDA8.jpg

RDA9.jpg

Monitor program also handles situation when daemon is running but underlying DTP or InfoPackage failed

RDA10.jpg

RDA11.jpg

If you run the program and daemon is already stopped the program issues an error message notifying about scheduling problem.

RDA12.jpg

 

Start, Stop and Monitor Process Chains

The programs are used in ABAP Process Chain Types Steps. RDA13.jpg

RDA14.jpg

RDA15.jpg

Here is an example of Monitor Process Chain in case of DTP failure

RDA16.jpg

RDA17.jpg

Described programs can be downloaded from GitHub:

Z_RDA_DAEMON_TOP

Z_RDA_DAEMON_APPL

Z_RDA_DAEMON_START

Z_RDA_DAEMON_STOP

Z_RDA_DAEMON_MONITOR

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Megha Chawla

    Thanks  Uladzislau,

     

    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,

    Megha.

    (0) 
    1. Uladzislau Pralat Post author

      Hi Megha,

      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.

      Regards, Uladzislau

      (0) 

Leave a Reply