Retirement tax questions

You don't enter the 5498.  After you enter the 1099R you say you rolled it over even if you put it back into the same account.  Was it for RMD?  I posted the answer above.