Scheduling a background Job for different Variants
- In the previous part, we have scheduled a background job for our Traffic Light in OOPS ALV program.
- Now, Suppose I want to schedule a background job for a particular variants i.e. for input ( 1 to 10 ).
Creating a Variant for our program :-
-
Step 1 :- Execute the OOPS ALV program and pass the inputs on the selection screen.
-
Step 2 :- Now click on save button.
-
Step 3 :- Pass the name of the variant and pass the short description and click on save button.
-
Now, we can use this variant for job scheduling.
Scheduling a background job for a particular variant :-
-
Step 1 :- Go to SM36 transaction code.
-
Step 2 :- Give a name to the job
-
Step 3 :- Provide the job class.
-
Step 4 :- Click on step to add program.
- Pass the program name and the variant name.
- Click on save button → Click on save button.
- The status will change to the schedule.
-
Step 5 :- Click on start condition to give the start condition.
- Click on save button → click on save button.
- The status of your job will change to release status.
Comments
Post a Comment