Retirement tax questions

Thank so very much for your answer. 

Correct, my wife company is an S-Corp. We already filed the 1120S and entered the Schedule K-1 in our personal taxes.

But it seems I got the wrong information when we opened our Solo 401K accounts this year 2023 to take advantage of the 2022 deductions. In other words, our 401(k) accounts was opened this year 2023 and then we made the total contributions with a single  payment, not as deductions from paychecks that will appear in our W-2. I don't think I can change/correct the W-2s? Can I? Am I losing the deductions?

I really appreciate your help on this, thank you.