This is still just a part. It is just the class and some faked characteristics. And the same nothing in the user exit.
A classification has values, and classification values need to match with values entered in the PO.
And a user exit needs coding, much more than this one line.
And the class and its classification need the characteristics that communicate with the user exit.
Please read my blog again and open the links and read the documents that I recommended there.