Oracle Solution for Error ora-54641

Solution for Oracle Error ORA-54641

ORA-54641: PARTITION_TABLE utility: scratch tables exist with oidstr = string

What triggered the Error:

Scratch tables/views could not be created because they already existed.

What should we do to fix it:

Use SDO_UTIL.DROP_WORK_TABLES with the specified oidstr parameter to clean up the scratch tables.