Hakan Ceroglu,
I understand your requirement perfectly..
But what I don't understand is which one of the two people should be assigned to the order header?
There are some options in the IMG (Assign Partner Determination Procedure to Order, TCode OIOM) using the Split options, but this doesn't set the order header value from memory.
You will probably need to develop a solution.
PeteA