My son vomited in bed and has no fever, poops normal. He ate beans and rice today, could it have been to heavy on his stomach or is it stomach flu.

Vomiting. If it is the first time he ate beans and rice , he might not have digested it well . If your son have been exposed to somebody with same , it might be a virus. If it contains bile , you might want him to see a doctor.