No, digits dialed should be 9101; digits to follow should be unknown and make sure your route list only absorbs the first digit.
path is 9101 with digit absorb of 1 and then any digits you need to dial. so you dial 9101 [new lcr code] and full number followed by #
so digit absorb gets rid of the 9 and dials 101 and then any further digits you dial. Only drawback is you may have to shorten your inter digit timer to avoid long delays in dialing out. But this should work with every number regardless of digit length of the actual number. Pressing # at the end of the dialed string will override the interdigit timer BTW.
An alternative would be, if you know what code you are going to use is the same every time then:
digits dialled would be 9101 [LCR code], digits to follow would be the length of your number [usually 11 here in the UK] and again just absorb the 1 digit in your route. For testing this would work faster than the first method but the first method means you can test with any number.
path would then be 9 {absorbed} 101 and your lcr number and followed by your number to dial. you will have to get the correct number of digits for Ukraine cell phones.