Skip to Content
avatar image
Former Member

SAP Background Events SM64 - check related code

Dear Gurus,

I would like to troubleshoot an Event in SAP which can be viewed using SM64. We have an Event Triggered Job.

It should behave like this (Earlier it was working fine) - As soon as a file is received from External System (Application Server Folder), this job gets triggered.

Automatic Event is not being triggered now. If I execute / trigger it manually using SM64, the job is working. Otherwise, it is not.

Please help me in suggesting some relevant tcodes to troubleshoot this Background Event issue. I want to view the code inside this Custom created Event. Is it possible?

How does an Event gets triggered other than SM64 manual method?

Awaiting your valuable inputs. Thanks in advance!

Thanks & Regards,

Sowmya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 15, 2017 at 11:23 AM

    "Some program" called a FM like BP_EVENT_RAISE or a method like CL_BATCH_EVENT=>RAISE. The code may be triggered by external program using an interface like RFC or at server level.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you so much Raymond. I will look for some Notes. We have some Unix Script which is calling this Event. I have attached the screenshot of it.

      Hope this script would be having issue.

      If I run the Event via SM64 manually, then the Event scheduled job is triggering. But not automatically.

      Thanks & Regards,

      Sowmya

      run-sapevt.png (12.0 kB)
  • Jun 16, 2017 at 10:35 AM

    Sowmya,

    Additional info which can be handy in the future.

    You can

    1.Search using EWK1 with the keyword FM BP_EVENT_RAISE or CL_BATCH_EVENT=>RAISE in all Z* programs

    2.Check the table BPCEVTJOB to see which event is linked to which JOB.

    As you know the EVENT name and JOB name, option 1 will get you the list of programs and then you can narrow down the right program by going through each of the programs.

    K.Kiran.

    Add comment
    10|10000 characters needed characters exceeded