Skip to Content
Author's profile photo Saurabh Tiwari

Scheduling a background job: CJI3

Hi

I just created a document to schedule a background job. I have taken CJI3 report for job schedule. We can also use CJEN ,CJBN etc. to schedule job accordingly.

Step1:

Enter t-code: CJI3

/wp-content/uploads/2014/05/1_451779.png

Step2:                          Select layout with “/” special character.

/wp-content/uploads/2014/05/2_451817.png

Step3: Enter layout which you created earlier and create variant for it by clicking on ‘SAVE’ button.

/wp-content/uploads/2014/05/3_451818.png

/wp-content/uploads/2014/05/4_451819.png

Enter variant name, description etc. and ‘save’.

Step4:


Get the program name for your t-code:

/wp-content/uploads/2014/05/5_451820.png

/wp-content/uploads/2014/05/6_451821.png

Step5:


Log in the t-code SM36

Mention the job name

/wp-content/uploads/2014/05/7_451822.png

And press ‘Enter’ to get the below screen :

/wp-content/uploads/2014/05/8_451829.png

Click ‘ABAP Program’ ,Enter the program name and variant as shown below:

/wp-content/uploads/2014/05/9_451813.png

/wp-content/uploads/2014/05/10_451835.png

Click ‘Check’ and Save.

/wp-content/uploads/2014/05/11_451836.png

Click ‘Back’

Step 6:

Click on ‘start condition’ button

/wp-content/uploads/2014/05/12_451837.png

/wp-content/uploads/2014/05/13_451841.png

Click ‘Immediate’, tick the check box ‘Periodic job’ and then select ‘Period Values’

/wp-content/uploads/2014/05/14_451842.png

/wp-content/uploads/2014/05/15_451843.png

Click ‘Check’ and Save.


Step 7:

/wp-content/uploads/2014/05/16_451844.png

After saving you will get the status as “1 step(s) successfully defined”.


Step 8:

Click on X.png

/wp-content/uploads/2014/05/17_451846.png

Enter Recipient name and ‘SAVE’

/wp-content/uploads/2014/05/19_451850.png

Once you save, you will get the job status as ‘Released’

/wp-content/uploads/2014/05/20_451851.png

/wp-content/uploads/2014/05/21_451852.png

Step 9:

Copy the job and log in t-code SM37

Enter the job name and ‘Execute’

/wp-content/uploads/2014/05/22_451856.png

The output will be:

/wp-content/uploads/2014/05/23_451857.png

Select the job and click ‘Spool’ button.

/wp-content/uploads/2014/05/24_451858.png

/wp-content/uploads/2014/05/25_451859.png

Click ABAP List icon  B.png

/wp-content/uploads/2014/05/26_451861.png

And you will get the List as follows:


/wp-content/uploads/2014/05/27_451865.png

Thanks & Regards

Saurabh Tiwari

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Gaurav Ahuja
      Gaurav Ahuja

      Nice Work. Keep it up 🙂

      Author's profile photo Saurabh Tiwari
      Saurabh Tiwari
      Blog Post Author

      Thanks you Gaurav.

      Author's profile photo Priyanka Kumari
      Priyanka Kumari

      Good work

      Author's profile photo Saurabh Tiwari
      Saurabh Tiwari
      Blog Post Author

      Thank you!

      Author's profile photo Rajiv Sharma
      Rajiv Sharma

      Its really a very good document..

      Author's profile photo Saurabh Tiwari
      Saurabh Tiwari
      Blog Post Author

      Thanks Rajiv . I am glad to hear that.

      Author's profile photo Rodica S.
      Rodica S.

      Very good. Thank you!

      How can the Job edited? With which transaction?

      Author's profile photo Saurabh Tiwari
      Saurabh Tiwari
      Blog Post Author

      Hi Rodica,

      Thanks. For editing the job: Use t-code SM37->Enter job name->execute->Select the job->Ctrl+F11(change)->F6(click on Step)->select program and click change (Ctrl+Shift+F7).

      Please check it should work.

      Thanks.