cancel
Showing results for 
Search instead for 
Did you mean: 

Functional Location should Auto Populate when installed Equipment is select

Former Member
0 Kudos

Hi All,

In our client I have made the Functional location mandatory field during the Notification and Maintenance Order creation.

When a Work Order or Notification is created with Equipment number then Functional Location is not automatically populated.

If we create Notification and Order through IH01 then only functional location is coming automatically but I need through IW21 and IW31.

Can anybody please tell me how I can achieve this functionality?

Thanks

KAVS

Accepted Solutions (0)

Answers (2)

Answers (2)

paul_meehan
Advisor
Advisor
0 Kudos

Hi,

The functional location will be automatically populated in IW21/31 when you enter the equipment. However there is a problem if you make the functional location field mandatory. In that case the system expects user to fill the functional location field before any logic is executed to set a default. The screen processing, including checks for required fields, is processed first. So an error will be generated asking the user to fill the f/loc field. They will not be able to proceed until the field is filled by user input.

The solution is to not make the functional location field mandatory. You can then implement exits QQMA0014 (for notifications) and IWO10009 (for orders) to check that functional location field is not empty.

-Paul

Former Member
0 Kudos

Enhance the code using the user exit IWOC0003

User exit info updated as per my Tech spec

Edited by: SN on Oct 21, 2011 4:43 AM