How do you schedule event-based jobs in an SAP system?

Spread the love

If you would have been a regular reader of my articles by now you would have known that I am equally passionate about helping others by providing quality information in the articles as much as  conducting my high impact sap basis training  courses in more than 55 countries,. Here I have taken the necessary care and attention to see to it that you will completely understand the concept of scheduling an event-based jobs in an SAP system. I want you to read and do carefully all the steps mentioned in this article in your SAP Netweaver system. You can also ask me to teach this topic online either in the form of video subscription or complete sap basis training either online or offline.

First, lets begin by understanding what is an event in an SAP system before providing step-by-step procedure for scheduling an event-based jobs.

What is an Event:

An event is a signal to the background processing system in an SAP system, that a particular status has been achieved in the SAP system. The background processing system gets events and then starts all the jobs that are linked to the event.

There are three start conditions available for event-based jobs available, they are….

  1. After event
  2. At Operation mode switch
  3. After a Job

How to define an event in an SAP system

Using transaction code SM64, Event can be defined by the system administrator. There are 2 types of events available in the sap system. They are 1. user events 2. system events. System events are events predefined by SAP that you should not or cannot modify or trigger. User events can be triggered by an user.

event-based jobs - create event

Step-by-step procedure to create an event

  1. Enter transaction code SM64 or Use a Menu path Tools – CCMS – Background Processing – Trigger event
  2. Click on create button in the screen that is displayed
  3. Enter the name for the event and description
  4. Click on the SAVE button. (Note: Do not select the check box System)
  5. You should be able to see the created event in the list of events

Step-by-step procedure to schedule an event-based jobs in an SAP system

  1. Enter the transaction code SM36 in the command filed
  2. Enter the name for job and click on SAVE button
  3. In the create step 1 screen, enter the ABAP program RSPFPAR and its Variant which is created in previous article
  4. Click SAVE button in the step-1 screen
  5. Click Go Back from standard toolbar which will take you to the define background job screen
  6. Click on the Start condition button from the application toolbar
  7. Click After event in the screen that appears
  8. Specify the event which is created earlier
  9. Click on the SAVE button in the same screen
  10. You can also select periodic check box, f you want to run the job periodically depends on the event
  11. Click the SAVE button in the Define background job screen
  12. You should see status: Released in the status bar to confirm whether the event-based job is scheduled or not
  13. Now, You can trigger the event to make this job to be executed
  14. To Trigger an event, Goto t-code SM64
  15. Select the Event which is created and assigned for this event-based job to run
  16. Click on the trigger button and click on Trigger again in the screen that appears
  17. Now, Goto t-code SM37 and select * as after event  in the Job start condition
  18. You should be able to see the job status either should be active or Finished

By this time, You must be able to schedule either time-dependent or event-based jobs in an SAP system. If you have still questions on this procedure, please leave your message using the following comment form.

After a lot of request from my students and people like you who got benifited by my articles, I have now kept the doors open for an immediate access for the high quality sap basis videos . Make one of the best purchases that you would have done this year and join my list of satisfied clients. BUY NOW

(Visited 2,434 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *