Well, actually I just thought I'd help out a bit but I'm late - you already managed to solve it

Congratulations Yoga. You're too kind but all I did was quote from a walkthrough by someone else.
For a record, so it might help someone else with this Bean puzzle, it's simple once you know what to do. You just have to start in one of the four rooms with the urn, doesn't matter which - you decide. Save the game before start putting the beans into the urns, and note on a piece of paper, or in a text file, in which of the four rooms you put which bean.
When you put all four in, enter the middle room and pull to see what you've got. If you don't get BBBB load the savegame and put the beans in a different order, comparing the change with the previous order you wrote down. After that compare the result in the middle room and see what changed. Trial and error is the method here, so it can't be really told how to do it, since it's random for each savegame.