cancel
Showing results for 
Search instead for 
Did you mean: 

inprocess inspection

Former Member
0 Kudos
203

when i am mapping the scenario of inprocess insp, it is creating the insp lots with insp type 03 at the moment i am saving production/process order.but though i am not clearing these inprocess insp lots and directly clearing the insp lot with insp type 4, it does allow it.Ideally,i feel, it should not allow it before clearing inprocess insp lot.

what can be done?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sandip,

You can use enhancement MBCF0002.

From transaction SMOD type the above enhancement. It contains the fucntion module FUNCTION EXIT_SAPMM07M_001.

The import parameter I_MSEG contains the order number AUFNR. From this you can get the 03 Inspection lot number from table CAUFV.

Pass the above insp lot to QASR / QALS / QAMR to find the results recording status of the lot.

The source code program is ZXMBCU02 where you have to write the above code.

Activate the enhancement.

Regards

Ram

Former Member
0 Kudos

thank you sir for giving me readymade solution.

still can you please tell me in details about user exit.(because i dont want to ask these things everytime. i should also be able to find the solution and decide when to use userexit or enhancement.which enhancement and function module i should i should use?etc.)

i have never used it.

what is it exactly, purpose, when to use it?

please elaborate.

i will be thankful to you.

Answers (4)

Answers (4)

Former Member
0 Kudos

Sandip,

I am humbled by your generous appreciation. I too find you a person very inquisitive and trying to get into finer details. That's only good for you. Best wishes.

Thanks & regards

Ram

Former Member
0 Kudos

thanks a lot sir.

Former Member
0 Kudos

Sandip,

Check the SAP link. It clearly tells you about user exits.

http://help.sap.com/saphelp_47x200/helpdata/en/2d/531437a96f11d1a1de080009b433a9/frameset.htm

Now for you find a user exit and when it will be triggered you can proceed this way.

Go to SMOD transaction. Choose F4, enter the application component. You would get the application component fofrom the Attributes of the program associated with the t-code. You could get the program name for a t-code from System>status aftr you enter the transaction.

Once you execute after entering the application component you would get all the enhancements for a particular application.

Now you need to check each of these enhacemnts. See the documentation of the enhancements and individual function mouldes. If you dont get you can know about the enhancement by looking at the import, export parameters and the tab pages for Changing, Tables in the fucntion module. So you will know what what fields you get (import parameters) during the transaction and what parameters you change (export parameters).

You can use these fields and write your code to do validations.

Hope this is fine with you.

Regards

Ram

Former Member
0 Kudos

thanks a lot sir,

you are very kind and good person.

i will go through all the documents and try to understand it completely.

if any doubt, i will get back to you.

thanks once again.

Former Member
0 Kudos

thank you sir,

can you please tell me in details about user exit.

i have never used it.

i have talked to abaper also but he also dont no much about it.

so can you please throw some light on this.

what is it exactly, purpose, when to use it, how can i use it in this case.

please elaborate.

i will be thankful to you.

Former Member
0 Kudos

Hi Sandip,

Inprocess inspection lot is independent of GR inspection lot. Hence it will allow you to do all the activities in 04 lot eventhough you are not processing the 03 lot. But you can not set the deletion flag / deletion indicator when you try to archive the process order unless you clear all the lots pertaining to the process order.

However you can use the user exit to restrict the process of 04 lot till you complete the inproces lot.

Best regards,

Ranga