This website is not affiliated with, sponsored by, or approved by SAP AG.

Generate Maintenance Plan Order with expired Sales Doc.?

Logistics : PM and its sub-modules & SM

Moderators: Snowy, thx4allthefish, PJA

Generate Maintenance Plan Order with expired Sales Doc.?

Postby GreenGreen » Tue Jul 15, 2014 10:53 pm

Dear Experts,

Maintenance Order will be generated from a Maintenance Plan via a Sales Document (sales contract),

However, if the Sales Document is expired, is it also possible to generate the Maintenance Plan Order, but with warning message in log?

It is because user may not aware a sales contract will be expired before the generation of the maintenance plan order. The warning message may make him/her aware to review and extend the Sales Contract.

Thanks & regards,

Green Green
GreenGreen
 
Posts: 687
Joined: Mon Jul 28, 2003 11:38 pm

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby PJA » Wed Jul 16, 2014 1:04 am

Green Green,

If you use IP50 to create your plans, then the plan should stop generating orders when the contract expires. However, there are major restrictions when using IP50 in that you can only use general task lists, and from memory, you cannot use strategies.

If you use any of the other transaction to create plans, then they do not automatically stop as there is no contract assignment and therefore they do not know when to stop.

We've had to develop solutions in the past to get around this issue.
Pete A
www.pjas.com
PJA
 
Posts: 11383
Joined: Sun Jul 20, 2003 3:11 pm
Location: Deepest darkest Aberdeenshire

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby GreenGreen » Wed Jul 16, 2014 2:08 am

Dear PJA,

Thanks for your reply.

Kindly if you could inspire me on which enhancement you were used to develop a solution to get around this issue. Thanks.

Inside your enhancement, did you check with the Sales Contract "valid to" date and over-write it to a non-expired one before auto-creation of the Maintenance Plan Order? If not, may I know what was your enhancement about?

Thanks a lot.

Regards,

Green Green
GreenGreen
 
Posts: 687
Joined: Mon Jul 28, 2003 11:38 pm

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby PJA » Wed Jul 16, 2014 4:51 am

We created a batch program that ran each night to check for expiring contracts. Then the program found the plans for these contracts and made them inactive.

Make sure this program runs before any IP30 sessions.
Pete A
www.pjas.com
PJA
 
Posts: 11383
Joined: Sun Jul 20, 2003 3:11 pm
Location: Deepest darkest Aberdeenshire

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby GreenGreen » Thu Jul 17, 2014 2:21 am

Dear PJA,

Your approach is to stop the Maintenance Plan generated orders.

However, is it also possible to modify the batch job program to change the Sales Contract "valid to" date in advance, before any IP30 session?
We want the Maintenance Plan order must be generated first, and then review the Sales Contract to set the proper "Valid to" date.

Thank you.

Regards,

Green Green
GreenGreen
 
Posts: 687
Joined: Mon Jul 28, 2003 11:38 pm

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby PJA » Thu Jul 17, 2014 4:20 am

Yes - your batch program can do anything you want..
Pete A
www.pjas.com
PJA
 
Posts: 11383
Joined: Sun Jul 20, 2003 3:11 pm
Location: Deepest darkest Aberdeenshire

Re: Generate Maintenance Plan Order with expired Sales Doc.?

Postby GreenGreen » Thu Jul 17, 2014 4:27 am

Dear PJA,

Thanks a lot.

Green Green
GreenGreen
 
Posts: 687
Joined: Mon Jul 28, 2003 11:38 pm


Return to Logistics PM

Who is online

Users browsing this forum: No registered users and 7 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.