State tax filing

I am withdrawing from my tsp. 401k. 2 different fund. One is traditional plan & the other is a Roth plans. Two different 1099 R. One has a 2a in box 7 and the other one has just a 2 in box 7. Do I have to pay state taxes