The sugar snaps are fairly dinky right, won't grow too tall so should be fine. Not sure what a 'green bean' is to you, but for us that would mean 'runners' or 'french' and they would grow too vigorously for around the new canes.
Are you growing early or late raspberries?