In Battlefield 3's online multiplayer, weapons are unlocked by earning points, and the SPAS-12 — a pump-action shotgun from the Close Quarters expansion — is earned through a specific assignment.
To unlock it, complete the "These Hurt Too" assignment, which requires you to get:
Hit both of those milestones, and the SPAS-12 is added to your arsenal.