Retirement tax questions

Thank you for very much this information. I do have other earned income such as a small retirement income from the Federal Employees Retirement System (FERS). I also have earned retirement income from Social Security benefits. Can I add these earned incomes to my S.C. state tax return in order to qualify for the military retirement deduction of $11,700. You advice/response will be greatly appreciated.