Retirement tax questions

Leave box 2a unknown....leave it blank.  Then keep answering the follow up questions to determine the taxable amount.  What code is in box 7?  Why did you get the 1099R.