Perhaps you're referring to altramuces, which are common tapa treats around Spain. Though I find them quite flavourless, so maybe you're referring to something else. I think they're called lupins in English. I've never seen them canned either.