cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Inspection lot origin from 08 to 05 for movement type 322 and 349

Former Member
0 Kudos

Hi,

There is a requirement from client that inspection lot should be created with inspection lot origin 05 when moving stock from un-restricted to Quality stock by using movement type 322 and 349(Blocked to Quality Inspection Stock).


But SAP settings lot origin for movement type 322 and 349 is 08. How can we change the inspection lot origin from 08 to 05 against movement type 322 and 349 in below SPRO path;
SPRO->Quality Management -> Quality Inspection ->Inspection Lot Creation ->Inspection for Goods Movement.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184536
Active Contributor
0 Kudos

Dear Manivel

Lot origin is fixed with movement types. as It Standard SAP. It cannot be changed.

Regards

Manish

Martin_H
Contributor
0 Kudos

Hello Manish,

your statement is not fully correct. Check SAP note 303061, it says:

"If you must change the assignment from a business point of view, the assignment can be carried out in table T156SY (with Transaction SE16). After this, the functions goods movement, inspection lot creation and usage decision must be tested. If necessary, you must consult SAP."

So yes, in general the assignment should not be changed (and so far I have not had a case where I had to do this). But in general it is possible.

Regards

MH

former_member184536
Active Contributor
0 Kudos

Thanks Martin

Former Member
0 Kudos

Hi Martin,

will this impact any of standard process, if we maintain value manually in T156SY table thro SE16 transaction.

Martin_H
Contributor
0 Kudos

It will impact all standard processes that make use of this table (which is what you want, right?).

The only way to find out which these are would be to debug any access of programs to this table...

Remember if you do this that even if you modify only table content it is almost like a system modification, and there are good reasons why most of the contributors here would not suggest this step.

Regards

MH

former_member42743
Active Contributor
0 Kudos

Martin is correct.  Typically this should not be done.  At one time you were able to change the inspection type origin in via configuration.  This was taken away by SAP around 4.1 I believe and it was because when customers changed this without understanding the full implications, it caused many problems that were difficult to resolve.

The customer should be discouraged from this if at all possible.

You still haven't given the actual reason the customer wants to do this.  Usually it is related to the assignment and use of inspection plans.  For instance, you have two material movements (maybe one is a custom MM as a result of copying a MM), that both use the same insp. lot origin.  But you want them to use different inspection plans. 

This you can easily do by creating TWO inspection types and assigning them to different plan usages.  The issue is that when the MM's are executed it doesn't know which inspection type to use since both would be active and you can't really mark one as preferred.

This can be overcome however by using a user exit.

  QAAT0001 Inspection type determination different from variant 01    

Use the above user exit to determine which inspection type to utilize.  If you only have two inspection types, you can mark one as preferred.  Then with exit use logic that if MM = 311 use preferred inspection type, if 911 use, non-preferred inspection type.  If you have more than two inspection types you'd have to use the inspection type name.  I.e. inspection type 08_311, inspection type 08_911, inspection type _912, Inspection type 913 and then in the exit code it to pick the right inspection type.

The other option is use the following user exit to just directly influence the plan selection.  In this case you create different plans with different usages. 

  QPAP0002 Enhancement for material/plan assignment, plan selection   

Then use the exit to modify which plan usage is looked for.  This can allow for pretty much an unlimited number of plans to be created and you can select them according to any logic you wish to use.

Highly advised you do not use the table modification.

FF

Martin_H
Contributor
0 Kudos

You should challenge the reason why they want LO 05. Is this because they want to use existing inspection plans?

Try to get the intention behind this requirement, try to draw down the process they want to establish and/or implement with SAP. Then it will be easier for you to find a solution, or at least to provide some more details here.

Regards

MH

Former Member
0 Kudos

Inspection Lot origin 05 is for Inspection at Goods Receipt. This is standard SAP configuration. Why the client wants to change existing standard configuration???

Create new Z Inspection type by copying 08 Inspection type.

Former Member
0 Kudos

Hi,

Thanks for your response.

I agree your point but if we copy 08 inspection type, system will assign 08 lot origin against that custom movement types but client wants to create inspection lot with 05 lot origin while doing 349 and 322 movement types.

Thanks,

S.Manivel

Martin_H
Contributor
0 Kudos

Hi Manivel,

you still did not share why the client wants LO 05. What is the reason for this?

Regards

MH