Oracle Error ORA-23349: cannot generate replication support for functions

Oracle Error Message

ORA-23349: cannot generate replication support for functions

Reason for the Error

Trying to generate replication support for a package that has a public function, or for a stand-alone function.

Solution

Remove the public function from the package, or alter the function to be a procedure.