Retirement tax questions

Was there any tax withholding taken out in box 4 for federal and 14 for state?  Why did you get the 1099R?  What code is in box 7?