cancel
Showing results for 
Search instead for 
Did you mean: 

Material Determination

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183879
Active Contributor
0 Kudos

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

bcrao
Active Contributor
0 Kudos

Hi,

Have you selected check box for MRP?

Former Member
0 Kudos

Yes, I have checked MRP.