Hello Swathi,
If all Sales Orders are assigned to single License it is better to deactivate the license and recheck all Sales orders.
If every Sales order is attached to one license, then it is better to fetch all licenses manually from /sapsll/lclic table or /SAPSLL/LCLIC05_EXP transaction and deactivating them manully.
Regards,
Bobby