Skip to Content
0

Restrcit PM work order creation when "inactive Functional Location + Active Equipment”

Nov 15, 2016 at 06:51 PM

448

avatar image
Former Member

Dear Team,

Request your valuable advice on any notes and any settings needs to be implemented to restrict the creation of Work Order when,Both the “Inactive Functional Location” and the “Active Equipment” are provided in the Work Order screen.

Ex.:IW31-Functioanl location ex.: test1234- status INAC- without equipment -System throws error when creating PM order.

IW31- when both FL (inactive) /Equpt(active) given in Screen inputs - Sytem accets to create order.

Appreciate your kind support in this regard.

Regards,

Karthik

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Maria Terence Nov 16, 2016 at 04:10 AM
1

Hi Sai,

Refer below note to resolve your issue

2288526 - EAM order: Reference object with the status INAC or DLFL can be assigned

Regards

Terence

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi,

Thank you very much for your support.We have explained to customer as per your advice, that it is to be implemented with the refenced notes not possible as SAP standard.

Regards,

Karthik

0

Hi Karthik,

You can implement the note if customer requires.

If your issue is resolved, please close the thread as answered.

Regards

Terence

0
Nic Teunckens Nov 15, 2016 at 07:53 PM
0

Hello

You could use the "WORKORDER_UPDATE" BAdI (Methods "AT_SAVE" / "BEFORE_UPDATE") to check the Validity of the Technical Objects ...

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 15, 2016 at 09:08 PM
0

Hi Nic,

Thanks for the valuable reply.

Please confirm, whether system allows to create the PM work order for the equipment (AVLB) even thugh the Functional location status is Inactive for that equipment. (as SAP standard)

Regards,

Karthik.

Share
10 |10000 characters needed characters left characters exceeded
Nic Teunckens Nov 16, 2016 at 12:30 AM
0

I think this is the Standard Behaviour and is explained in SAP-KBA 500432 :

"To the upper functional location, a user status is assigned that prohibits the entry of maintenance processing data. If you enter an order type and this upper functional location in Transaction IW31 and then click the 'Structure list' pushbutton to choose the correct functional location from the structure list, the system issues the message "Business transaction cannot be carried out".
The correct system response should allow this object as an access for the selection of a subordinate object from the structure list since the initial object itself should not be used as a reference object. This is achieved with the attached correction."

Check program "SAPLCOIH" Include "LCOIHFGB" FM "PM_CHECK_OBJECT_STATUS" ...

A suggestion : By making a change to the ReferenceObject Screen assignment, you might be able to avoid the link between the 'lower-level' Active Equipment and the 'higher-level' Inactive Func-Loc ... This is done in Customizing as defined in SAP-KBA 1630556 ...

The trick (if at all possible in your Business Process) would be to avoid the fetching of the Equipment of the Functional Location, thus checking only on an Inactive FuncLoc and raising the Error ... (I've never done it, so I don't know whether possible and / or at what Impact ...)

If that is not possible from a Functional Perspective, I believe it will be near impossible to 'Customize' your way out of this.

Best way is to use the Enhancements like "ICSV0004" and "IWO10009" or the 'AT_SAVE'-BAdI to check both TechObjects Status and Allow-Disallow Creation of the WorkOrder ...

Share
10 |10000 characters needed characters left characters exceeded