Skip to Content
avatar image
Former Member

Restrict Equipment creation after Defect Recording


I didn't deal with QM and sorry if this question itself wrong.

As per client, system creation a Equipment number during result recording and this is happening in case of 'Defect' in result recording. This need to restrict.

Means, in case of 'Defect' in result recording, system should not create any Equipment for that. Is there any possibility to achieve this either with Config changes or any option.

Thanks in advance and Regards,

Syed Hussain.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 26, 2016 at 06:02 AM

    Hi Syed,

    I think, the equipment is already created and maintenance plan is already assigned. That's the reason you are able to create the inspection lot and you are doing Result Recording. At this point what is the business process your client follows, by which they need to create a new equipment? Sorry, this point is something not too clear to me.

    In IA09, you can find out the equipment task lists/plans assigned to the equipment you are using. May be you can try to restricted the use of this particular equipment, if there is any Defects recorded against inspection lot. You can try the below option -

    If Defects are recorded against the inspection lot => then while 'Saving" the inspection lot, call some QM user exit, to trigger some enhancement by internally calling transaction IE02 (linked equipment), and setting DLFL flag to it. Once this "DLFL" flag is set, this is not usable anymore, unless this flag is reset back later.

    You can try the below QM user exit if that helps you to add your business logic to do this part -

    QEEM0006 User exit: add. functions after closing inspection char



    capture.jpg (51.1 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 06:04 AM

    Please follow the above process and let us know if that helps you. Thanks!

    Add comment
    10|10000 characters needed characters exceeded

    • Hey Arijit!

      With the new site it is very confusing. We have two sections now.. comments and answers. This should have been a comment on your answere. Or it could have been a comment on the original posting. But it probably shouldn't have been another answer.

      This is going to be a regular source of confusion for everyone. Especially for total newbies.

      I know I've already screwed it up. But hopefully us "regulars" can eventually get it down.


  • Oct 26, 2016 at 02:39 PM

    Look at a follow-up action to be used with your UD code. SAP provides an example follow up action "QM_PM" for a demo.

    This demo has three function modules under it.

    You should be able to copy QFOA_OBJET_STATUS_SET to a Z function module and configure your own follow-up action. Then assign the follow up action to the apropriate codes in your selected set catalog. Keep in mind, when modifying the FM, you'll want the code to both block and unblock the equipment based on the UD code valuation. (i.e. accept or reject). Do not hard code in the actual UD code.

    mtyfe.png (22.1 kB)
    aqwm8.png (23.3 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks a lot Craig & Arjit, Will check with one cycle and compare with your valued inputs and let you know. Thanks once again.