cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Equipment creation after Defect Recording

Former Member
0 Kudos

Hi,

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member42743
Active Contributor
0 Kudos

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.
Former Member
0 Kudos

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

Regards,

busyaban7
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you very much for your detailed reply. I will check and let you know. Regards,

busyaban7
Active Contributor
0 Kudos

Ok Thanks!

former_member42743
Active Contributor

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.

Thanks!

busyaban7
Active Contributor
0 Kudos

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

Thanks,

Arijit