Skip to Content

Batch Event Triggers sometimes not processed (job not executed)

Hi,

I hope that someone can shed a light on this problem that we are having with Batch Events and Job Triggering.

  • We defined a batch event using SM62.
  • We scheduled a periodic job using the event (AFTER EVENT )
  • In 99% of the times the job runs smoothly.
  • We run about 600 jobs a day.
  • On average, about 1% of the raised events don't trigger the job. Table BTCEVTHISTORY shows us jobcount 0.


Anyone an idea what could cause this?

What happens if two or more triggers are raised almost simultaneously?

What happens if there is no batch proces available at the time of the trigger?

Regards

Ben Meijs

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Jan 21, 2015 at 09:26 AM

    There are two processes (mainly) that monitor background job, an event processing one (executed on server defined in parameter rdsip/btcame, a perioduc processed (executed every rdisp/btctime seconds) if the event monitor could not create the background job (no processes were available) then the periodic process will trigger it.

    I suspect that if too many jobs are triggered, then event raised between the last effective one and the execution of tje periodic monitor are soweway lost?

    (But as this is not an Abap question, you may find a better space for this question, e.g. SAP NetWeaver Administrator or SAP NetWeaver Application Server?)

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 21, 2015 at 09:34 AM

    Hi Meijs

    Is this any error message in SM21 or Dumps?

    BR

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 05, 2015 at 07:24 AM

    I have same problem.

    We got more than 1000 events triggered on one batch job with different parameters.

    Some of batch job are not executed. About 1 percent of them.😠

    I tested the FM 'BP_EVENT_RAISE'.

    When I raised two events manually using this FM at the same time in ABAP report program, only one job was run.

    No error in log.

    In BTCEVTHISTORY table, there are two event.

    but in SM37, there is only one job.

    I think JOB SCHEDULER misunderstand the events. but I don't know exactly.

    Is there any body who can solve this problem? 😔

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 05, 2015 at 06:08 PM

    Hi,

    The problem seemed indeed to be that two or more batch events were triggered within the same second. Every time the batch event is triggered, a new job must be released. When the second event is triggered, the job is not released yet.

    Regards,

    Ben Meijs

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2016 at 07:51 PM

    Hello,

    I have the similar issue where 4 different people trigger the event almost same time and I am missing few jobs in the list.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.