Good hint indeed, but sadly there is no parameter to set to change the tablespace.
Because I'm short on time, I think I will stick to temporaly disable the versioning of the tables, alter the indexes, and reenable them again.
Thanks, I've overlooked the DDL parameter in the manual, shame on me.
I tried to use it with force=true (doesn't work with false), but it ended up in a ORA-01418 error. I'm trying to alter the xxx_PKI$ index of the xxx_LT table. Is it something special with the _PKI$?
Make sure that it isn't attempting to run a previous execution of the procedure. Check the all_wm_vt_errors view for any rows pertaining to the VIKTOR.TEST_VIKTOR table. If there are any, you would need to call the procedure with the ignore_last_error parameter set to true. This should remove the row from all_wm_vt_errors, at which point you could execute it normally.