how to replace dbms_reputil.from_remote in oracle 12.2.0.1 since All objects removed except REPLICATION_IS_ON, _OFF and _ON
Desupport of Advanced Replication


  Starting in Oracle Database 12c release 2 (12.2), the Advanced
  Replication feature of Oracle Database is desupported.
  
  The Oracle Database Advanced Replication feature is desupported in its
  entirety. The desupport of this feature includes all functionality
  associated with this feature: multimaster replication, updateable
  materialized views, hierarchical materialized views, and deployment
  templates. Read-only materialized views are still supported with basic
  replication.
  
  Oracle recommends that you replace your use of Advanced Replication
  with Oracle GoldenGate.