cancel
Showing results for 
Search instead for 
Did you mean: 

Basic start date and basic finish date in the maintenance sub-order

massimiliano_riva
Active Participant
0 Kudos

Hi guys,

when I create a maintenance sub-order by the transaction IW36 are the Basic start date and the Basic finish date taken,inherited from the principal Maintenance order?And if it is in this way,is there the possibility to put these two dates as a current day only on the maintenance sub-order ?Thanks in advance...

Maximilian

Accepted Solutions (1)

Accepted Solutions (1)

Silvia_Ventura
Advisor
Advisor
0 Kudos

Ciao Massimiliano,

you can inizializate the dates of suborder via user-exit IWO10001.

It's the best option.

Good luck

silvia

massimiliano_riva
Active Participant
0 Kudos

Thank you Silvia,

I have followed exactly that way and I have solved the problem...thanks however for the interesting , bye

Massimiliano

soumya_patnaik
Explorer
0 Kudos

Hi Massimiliano,

I have also used the enhancement IWO10001 to change the basic start and finish date for sub-orders but the problem is whenever I am activating the EXIT in project, I am executing the transaction IW36 and passing order type, Superior order and plant but its showing me an error 'Enter the plant' and again when I am passing plant its clearing the superior order and asking to enter the same and vise versa. kindly help me out.

Can u send me your code.

soumya_patnaik
Explorer
0 Kudos

Here is my code

DATA : lv_date_diff TYPE i.

lv_date_diff = caufvd_imp-gltrp - caufvd_imp-gstrp.

caufvd_exp-gstrp = sy-datum.

caufvd_exp-gltrp = sy-datum + lv_date_diff.

-


This is a 4 year old answered message. Please open a thread for your specific query. -Paul Moderator

Edited by: Paul Meehan on Nov 24, 2011 8:42 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

scheduling parameters are set for the combination of maintenance plant and maintenance order type. So if you need to give a different logic for the basic dates for the superior and sub orders use different order types.

thanks

Bala