cancel
Showing results for 
Search instead for 
Did you mean: 

mandatory fileld cost center in maintenance order

Former Member
0 Kudos

Dear Experts,

My client wanted to have cost center as mandatory field in maintenance order. so i have changed the field settings and made the field 'Required'. But this will be active only if you enter into the tab 'location', if you are not entering into the tab 'location' , order allows you to save. Is there any other settings so that i can prevent saving of order if there is no cost center entered in the order.

Please do the needful.

Thanks & Best regards,

Praveen

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

we checked it again & found that there was one more unwated user exit was creating problem.so we deleted the unwated user exit & now our system is working fine.

Thank you each and everybody.

former_member187991
Active Contributor
0 Kudos

hi

As you said it only works when you enter Location tab page,hence you can use the customer exit for the same IWO10009 PM Order: Customer Check for 'Save' Event

regards

thyagarajan

Former Member
0 Kudos

Dear,

Actually i used that exit IW010009. but after that it affected for the creation of suborders. suborders were not getting generated after using that exit. so i deactivated again.

Best regards,

Praveen.

peter_atkin
Active Contributor
0 Kudos

Praveen,

IWO10009 is a valid solution...

What ABAP code did you put in IWO10009?

PeteA

Former Member
0 Kudos

Hi Pete,

We have applied the same exit again and it is working fine now. I really do not know what was wrong with the previous application.Anyhow my problem has been solved.

But is there any clue why it might have happened? what might be the reason?

Best regards,

Praveen

Former Member
0 Kudos

hi praveen ,

Try BADI IWO1_SCREEN_MODIFY, else user-exit IWO10009 (at save event).

u can put ur own code here for the field cost center

regrds

pushpa