Skip to Content
avatar image
Former Member

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

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 16, 2016 at 04:10 AM

    Hi Sai,

    Refer below note to resolve your issue

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



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 15, 2016 at 07:53 PM


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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2016 at 09:08 PM

    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)



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2016 at 12:30 AM

    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 ...

    Add comment
    10|10000 characters needed characters exceeded