There should not be any issue in entering the Form 1099-R from the same payer with different codes in box 7.
The code 2 in box 7 indicates —Early distribution, exception applies (under age 59½)
The code 7 in box 7 indicates - Normal distribution
Delete each Form 1099-R and then re-enter manually.