Dear Rajesh,
Your stock is in 1000, and demand is flowing from 1000 to 2000? Or reverse?
I guess you are referring to STO scenario. Please check Special Procurement field MRP2 view. you can set stock transfer from plant to plant (40) to transfer the stock.
Thanks
Prem