Double check that the item is equipped
Double Check your keybind for tractor beam in options
If you do have an ID equipped and your still having problems and the key is the one your pressing (I'm assuming you haven't changed it at all) then I unfortunately do not know how to help you beyond that.
Could be any of the following:
Cargo out of range
Cargo bay full
Cargo items would take more space than you have