To dream of ham represents your thoughts and feelings about things that you don’t think are important, or don’t take too seriously. You may think something is ridiculous or pointless.
To dream of sandwich represents your frustrations about things you have to do during a situation you may feel is ridiculous, or pointless.
Example: A young man dreamed of eating . In waking life he had a teacher that was forcing him to do extra work that other students didn’t have to. The ham reflected his feelings about how ridiculous he felt his teacher was treating him.