Oracle Message ORA-23349 - cannot generate replication support for functions

ERRORcannot generate replication support for functions
CAUSETrying to generate replication support for a package that has a public function, or for a stand-alone function.
ACTIONRemove the public function from the package, or alter the function to be a procedure.