Some thoughts about services

I have a fresh new SAP ERP installation and one of the common tasks is automatically created jobs EU_INIT, EU_PUT, EU_REORG.

Here is my real-live shot.

EU_INIT job

1 500 000 seconds is equal to 416 hours!

Let’s look at the job log:

EU_INIT Job Log

I hope someday the job will be finally completed.

But what am I talking about?

In my experience there is a widespread practice to use small frequent jobs. So sometimes I have to go to SM37 transaction and make sure that all is fine. For example, I would have 3-7 jobs recurring every five minutes (send mail, checks, post-processing tasks, receive data from external system, post data to external system and so on).

In this case daily view of SM37 is flooded with thousands of jobs that do nothing. BTW: Write logs to SLG1 is more practical solution than write to job log or spool.

Recurring short job can be converted into one big job with infinite loop inside:
do some work + wait five minutes + work again + sleep + work + … etc.

And here we come to general idea of services or daemons. I would like to implement this concept sometimes somewhere.

Добавить комментарий

Ваш адрес email не будет опубликован.