If Pune to Ahmedabad is WL / less number available, book Solapur to Ahmedabad. If berths vacant (high probability), it costs cheaper as well. By booking from Solapur, you may even save Rs 250 to 412 as compared to ticket from Pune as dynamic fare applied from Pune is quite high and that applied from Solapur can be 0 or 162 (will increase as berths get booked).