Thanks Caetano for this details but let's I have 10 unit in stock. Now I have 1 STO which is consuming 10 unit stock but if I create sales order with 10 unit then I want system to deallocate STO stock and commit to sales order becasue sales order is our first priority.
How can we handle this in SAP?