Yes you can do this using a static or a class level instance variable.
Just set this variable to 0 initially. Then use substring to get the last four characters of the current supplier no. Convert this into an integer and increment and store it in the variable.
You can then use the variable to get the next supplier no by appending SUP to the number and padding the integer by using the
PadLeft
function[
^].