I bought a new cable from eBay a little while ago which supposedly fitted an ST1100 but when it came to fitting it was a couple of inches short.
When the speedo drive on the wheel failed in the middle of 2017 I just ordered a complete new cable for about $40 and drive gear for about $36 from our dealer.