On my own RD400, the lack of charging was due to a broken wire in the rotor itself.
You need to test resistance between the two copper rings on the rotor. The manual gives specs and details on how to check with the rotor removed. To test it on the bike, I attached each of the crocodile clips on my tester wires to a long nail - I used tape to insulate the shafts of the nails. Remove the two carbon brushes from the generator, put a nail through each of the holes until they touch the rotor and see what resistance you get. If zero, then your rotor needs looking at.