Dear
Usually delivery document type and number ranges are different for Outbound deliveries created w.r.t sale order and STOs. In your case if these are same then I hope movement type will be different. You can use movement type field or as Kesari said VBGEL field in LIPS or TCODE field in LIKP table.
Thank$