Does using general sales tax affect my social security benefits?

Can someone explain if its better to use the sales tax deduction if a big item was purchased or use the state income taxes paid from retirement income? Does either affect my social security benefits?