If we're talking about an older flat twin, maybe I can help.
First, the electrics on an Onan used in RV's is a lot different and not much in common with tractor application. As has been mentioned, the alt is built-in under the flywheel. There is a soild state reg bolted to the cooling shroud. Looking at engine from back to front I seem to remember the reg is on the left bank (alum extrusion). The wiring has a plug. 2 A.C. wires from the alt and 1 wire D.C. out to the rest of the tractor. Think the A.C. wires are the outer 2. If you have a meter, with engine running you should see voltage when measured across the 2 A.C. wires. Don't recall the no load voltage but it will be more than 15V. If voltage looks OK, next check the D.C. voltage between the single wire and a ground point. Should be in the 14-14.5 volt range if battery is close to being fully charged. Believe all the reg does is shunt power to ground as needed to maintain proper voltage.
I had the original VR fail on my JD 318 with the Onan engine. Bought a new one from local JD dealer and all was well again.