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….
- After event
- At Operation mode switch
- 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.
Step-by-step procedure to create an event
- Enter transaction code SM64 or Use a Menu path Tools – CCMS – Background Processing – Trigger event
- Click on create button in the screen that is displayed
- Enter the name for the event and description
- Click on the SAVE button. (Note: Do not select the check box System)
- 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
- Enter the transaction code SM36 in the command filed
- Enter the name for job and click on SAVE button
- In the create step 1 screen, enter the ABAP program RSPFPAR and its Variant which is created in previous article
- Click SAVE button in the step-1 screen
- Click Go Back from standard toolbar which will take you to the define background job screen
- Click on the Start condition button from the application toolbar
- Click After event in the screen that appears
- Specify the event which is created earlier
- Click on the SAVE button in the same screen
- You can also select periodic check box, f you want to run the job periodically depends on the event
- Click the SAVE button in the Define background job screen
- You should see status: Released in the status bar to confirm whether the event-based job is scheduled or not
- Now, You can trigger the event to make this job to be executed
- To Trigger an event, Goto t-code SM64
- Select the Event which is created and assigned for this event-based job to run
- Click on the trigger button and click on Trigger again in the screen that appears
- Now, Goto t-code SM37 and select * as after event in the Job start condition
- 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.