123456123456712345678
UNIVTR0000000ORDDOCID
6 + 7 + 8 = 21
21 is bigger than 15 to me. ([NXTSPNUM] [char](15) NOT NULL)
To fix the problem, you need to extend the column NXTSPNUM to at least 21
char.
However, I think your codes mean adding leading zeros to ORDDOCID and not
adding 7's zeros in between. If...



