cancel
Showing results for 
Search instead for 
Did you mean: 

time-based maintenance - problems with calendar

Former Member
0 Kudos

What we want: a plan that creates notifications once a year, on a working day.

We have as many plans as working days a year have.

Call horizon plans are 5 years.

First plan has created notification for 02.01.2012. We want the same plan to create notification on 02.01.2013, 02.01.2014, 02.01.2015, 04.01.2016 (not 02.01.2016 because is not a working day)

Second plan is scheduled for 03.01.2012, third plan is scheduled for 04.01.2012 and so onu2026

We have defined plan in different ways but no one works:

1. Indicator for selection of time-based maintenance = Factory calendar and cycle unit= 1 YEAR. It creates notification for these dates: 20.06.2012, 03.12.2013, 21.05.2015, u2026

2. Indicator for selection of time-based maintenance = Key date and cycle unit= 1 YEAR. It creates notification for these dates: 02.01.2013, 02.01.2014, 02.01.2015, 02.01.2016 (error, this is not a working day)

3. Indicator for selection of time-based maintenance is Active and cycle unit= 248 DAYS (wroking days in one year). It creates notification for these dates: 03.01.2012, 27,12.2012, 24.12.2012, 23.12.2014,... so this is not valid for us. We have tried with 247 DAYS, 249 DAYS, 264 DAYS (considering all months are 30 days long) ... but al least one plan creates 2 notifications in the same year.

Is there any way to scheduled plans so we can have a plan that creates notifications once a year, on a working day for the five years.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member661330
Contributor
0 Kudos

Hi Juan,

On standard SAP you can use Time Key date to kick out the notification on the same date (doesnu2019t matter is a work day or not) or you can use Time factory calendar to count only working days but your requirement is different

This is not standard SAP because you requirement is pretty complex, try to review if user exit IPRM0002 can be used to accomplish your requirement.

Regards,

Carlos

former_member661330
Contributor
0 Kudos

Hi Juan

On the maintenance plan on schedule tab you need to use following parameters:

Time Key date.- Notification is created always on the same date

You should have not a error message; should be a warning; if you receive an error create a different calendar 365 days available not holydays or not working days

Call horizon is not a time period; call horizon is a percentage to kick out the notification in advanced:

0 Notification is created immediately

100 Notification is created after one year

50 Notification is created 6 months in advance

Scheduling period should be 5 yrs to have all the calls for the next 5 years

Regards

Carlos

Former Member
0 Kudos

Thanks for your answer Carlos but there was an error in the message. I wanted to say Scheduling period.

I re-write the question:

What we want: a plan that creates notifications once a year, on a working day.

We have as many plans as working days a year have.

Scheduling period plans is 5 years.

First plan has created notification for 02.01.2012. We want the same plan to create notification on 02.01.2013, 02.01.2014, 02.01.2015, 04.01.2016 (not 02.01.2016 because is not a working day)

Second plan is scheduled for 03.01.2012, third plan is scheduled for 04.01.2012 and so onu2026

We have defined plan in different ways but no one works:

1. Indicator for selection of time-based maintenance = Factory calendar and cycle unit= 1 YEAR. It creates notification for these dates: 20.06.2012, 03.12.2013, 21.05.2015, u2026

2. Indicator for selection of time-based maintenance = Key date and cycle unit= 1 YEAR. It creates notification for these dates: 02.01.2013, 02.01.2014, 02.01.2015, 02.01.2016 (error, this is not a working day)

3. Indicator for selection of time-based maintenance is Active and cycle unit= 248 DAYS (wroking days in one year). It creates notification for these dates: 03.01.2012, 27,12.2012, 24.12.2012, 23.12.2014,... so this is not valid for us. We have tried with 247 DAYS, 249 DAYS, 264 DAYS (considering all months are 30 days long) ... but al least one plan creates 2 notifications in the same year.

Is there any way to scheduled plans so we can have a plan that creates notifications once a year, on a working day for the five years.

Best Regards

former_member385375
Contributor
0 Kudos

Hi Juan

Please try using scheduling parameter factory calendar & assign frequency in weeks. Maintain factory calendar as per your requirement. Check if it solves your problem

regards

Shakti

Former Member
0 Kudos

Hi Shakti

Thanks for your quick response.

I define cycle in weeks and Factory calendar check but still have the same problem as explained in point one.

1.- Indicator for selection of time-based maintenance = Factory calendar and cycle unit= 1 YEAR. It creates notification for these dates: 20.06.2012, 03.12.2013, 21.05.2015, u2026

Best Regards,