That will likely mean it is only the wiring bundle between the electrical box around the RHS which splits and goes to ABS/BMS and the starter motor is damaged, you could probably unwrap that section of the harness, repair and recover without complete harness replacement. Post up the pic's we love destruction, promise we wont be too hard on the comments
Would be worth unwrapping to look at what was carrying the current and which wires had insulation melted as a result.
There is a thread on advrider by Dwayne describing unwrapping that section to relocate his battery to under the seat it may help you
If you do attempt it it would be worth rewrapping the harness with the main power leads in a separate bundle