Workflow from Sales order to Material request


when i create a sales order, i can see for each item if i have it in stock or not, so if i have two items A and B, A i have in stock but B i dont.
so when i create a SO, and than a material request, i just want it to make material request only for that item witch is left.
how can i do that?