cancel
Showing results for 
Search instead for 
Did you mean: 

Job Schedulling and activate for Maintenance Plans

former_member193016
Participant
0 Kudos

Dear gurus,

Please can you advise me what are the steps and what I have to do for schedulling a regular job for lounching the maintenance plans on fixed dates, based on their schedule?

Thank you very much,

Sorin

Accepted Solutions (1)

Accepted Solutions (1)

former_member186385
Active Contributor
0 Kudos

Hi Sorin,

you can use IP30 (program) for Scheduling Maintenance Plans

Call transaction in SM37 and using program  RISTRA20 you can schedule the job

regards

santosh

former_member193016
Participant
0 Kudos

Thank you very much. My question reffer to a more detailed answer regarding the usage of IP30/SM37 job creation. After I Scheduled in IP10, what I have to do in IP30 and SM37?

Thank you very much again.

Kind regards,

Sorin

jogeswararao_kavala
Active Contributor
0 Kudos

OK Sorin,

Steps are:

1. Create a IP30 variant for this plan.

2. Create a Background job through Tcode SM36, giving the RISTRA20 variant  (i.e, IP30 variant), and the periodic values at which you want to Run IP30 (RISTRA20) and Save.

3. Through SM37 you will be able to monitor the schedule status.

4. Whenever you want to discontinue this Background scheduling, Delete the Released line item of this job in SM37.

Jogeswara Rao K

former_member193016
Participant
0 Kudos

Dear Jogeswara, Thank you very much.

Can you give me more guidance? I will be very grateful.

Kind regards,

Sorin

Answers (3)

Answers (3)

jogeswararao_kavala
Active Contributor

Hi Sorin,

It is a big task. But I 'm attempting.

First try this in Test Servers, watch it and get confident.

1. Create IP30 Variant. (I hope you know).

Run IP30,

Give your Plan (Here it is ABC123 ) in the Maintenance Plan filed   (Do not forget this step)

Click Save Button and in the Resulting Screen maintain the variant name,

(Optional ) Tick  Only for Background Processing and Save again.

2.Run Tcode SM36

Give Job Name and click Start Condition (See Picture)

Follow the steps 1 to 7 Given in Picture .



Click SAVE again


You will be given a pop-up.

Enter ABAP Program Name (Here it is RISTRA20) and the Variant (You know it is TEST), and SAVE.

(Steps 1,2,3)

You will be here:

Do not do anything, Click Back and


SAVE

All Done

Now to see the schedule

Run SM37 and Execute. (Give From date Today and To Date 11th or so)

See this. Your Job is scheduled to be run at Midnight of Every Day. (Refer picture 3 above)

(While Scheduling the Status changes from Released to Active. After Scheduling it turns to Finished)

Hope you will be benefited with this post.

Jogeswara Rao K

former_member193016
Participant
0 Kudos

Dear Jogeswara,

Thank you very much. You are great.

Kind regards,

Sorin

scheinem
Explorer
0 Kudos

That's a great sum up. Thank you very much!

BR,

Manfred

Former Member
0 Kudos

IP10 is to schedule the job manually. For the first time, Maintenance plans can be scheduled manually by the users. But its not possible for them to do it everytime as Maintenance plan will not generate the orders without running scheduling Program.

To achieve automatic scheduling, IP30 will be used. In IP30, variant will be created. Using that variant & IP30 program RISTRA20, background job will be scheduled in SM36 to run the job periodically like daily, weekly, etc., While running scheduling program by system, it will generate the orders automatically based on the due date.

SM37 will used to monitor the background job run which has been created in SM36.

jogeswararao_kavala
Active Contributor
0 Kudos

Hi Sorin,

If you are new to Maintenance Plans concept in PM, then my reply would be:

1. You need to create a Maintenance Plan using Tcode IP41. (On your specific Equipment)

2. Then give your cycle period as1 MON or 1 YR. as per your requirement -See picture 1 attached:

Because you need the Scheduled Objects on fixed dates, cycle periods of Mon and Year will be relevant.

3. To get the Scheduled Call Objects (Notification or Maint.Order) on fixed dates, you need to give the Scheduling Indicator  as Time-Key Date (see the 2nd picture)

4. Give the Date of last scheduled job (completed) in the Start of Cycle field. And Save the plan.

Now you need to schedule the plan through Tcode IP10.

What happens if your Cycle period is 1 Month and Start of cycle is 01/Jan/2014.

System generates the next scheduled call on 01/Feb/2014 and 1st of every month.

And if your Cycle period is 1 Year and Start of cycle is 01/01/2014.

System generates the scheduled call on 1st January of every Year.

You need to know much more about other fields they are appearing in the second screen.


So Google with strings like:

SAP Single Cycle Plan

SAP Maintenance Plan Time-Key Date

SAP Maintenance Plan Scheduling Period

SAP Maintenance Plan Completion Requirement

SAP Maintenance Plan Call Horizon

SAP Maintenance Plan Offsets

etc.

Best of Luck

Jogeswara Rao K

Former Member
0 Kudos

I want some important point should be considered for Smooth running of Ristra 20 Background job.

1)  In Maintenance plan, Cycle unit should be correct one. We should not use unit like M for Month selection.

2) Call Horizon should be ideally twice the Minimum Cycle time.

Regards

Santosh