on 07-29-2010 10:14 AM
Hello,
I have two material Material A and Material B. I have created condition table and attached that to access seq which is in turn attached to PP. PP is attached to Sales document type. I have mainatined condition record for the replacement of material.
I am using substitution reason 0004.
Material A - 10 (say) in stock -old material
Material B - 20 (say) in stock - new material
I have to replace Material A with Material B only after consuming Material A completely.
I have tried all permutation and combination. Can any one suggest a way?
Regards,
Kishore
Hi,
You can achive this by means of a routine.
Create a requirement routine for material determination (in Tcode VOFM-RequirementsMaterial Determination)
It should pass SYSUBRC= 0 only if the material A (the material entered) should be replaced only if the stock of the material in the plant is 0.
Now assign this routine to the condition type in the material determination procedure.
Maintain the condition records now.
The functionality will work as you have asked for now.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.