A solar panel without batteries would not affect the inverter, an inverter would keep converting DC supply to AC supply, but it will only work until sunshine. You can connect that inverted AC supply to your grid and save your electricity bills. This mechanism is usually used in agricultural forms to run the water pumps in the daytime. It significantly reduces the overall cost. Details here.