Oracle Error Message
PLS-00546: SELF may not be declared as a REF parameter.
Reason for the Error
SELF was declared as a ref parameter to a member function or procedure. SELF is not supported as a REF.
Solution
Redeclare SELF as a value parameter.