Green’s Dictionary of Slang

hamma n.

also hammer
[? they ‘knock one on the head’; but note hammer n.1 (5)]

[1960s+] (US black) a very attractive black woman, occas. extended to men.