Evenin' Brian et at...
I needed to replaced the crown wheel, pinion and coupling on my 2nd ABS bike few years back (was second hand and l bought it worn out). They're not too difficult to change over. Remeber to take a good look at the land the coupling rests on the wheel.
If the 'O' ring groove on the wheel has any semblence of having it's groove insitu, you may well be able to shim the coupling to the wheel AFTER you have fettled the damage to the wheel. I took some time doing this in order to preserve its circumfrence.
I shimmed the coupling with all the drive cushings removed from the wheel (replaced all cushings and centres with new components), in order to centre the coupling (& therefore the final drive to the centre of the wheel so that it is the combination of coupling ON the wheel to form a 'hub' to carry the weight and NOT the cushings.
I found that a small lenght of steel strapping that is used to go around loaded pallets worked well as a shim...l think it's about .5mm from memory. But it IS important that the weight of the coupling is taken on this 'land' otherwise you'll be back at square one very soon as the cushings wont go the distance. Also if, like mine your bike has ABS etc and the weight is solely on the cushings, you may well find that the ABC / TCS sensor will rub on the sensor ring, causing further grief you could do without.
Yes, you lose the 'O' ring on the land. But as the rear tyre will in all likelihood need replacing every 15 to 17 km, a grease like Morey's will last the distance.
Lastly, remember to re-centre the final drive before taking the first test ride... There are threads elsewhere on how to do this.
Good luck with it.
Ciao the can :-)