Oracle Solution for Error ora-56706

Solution for Oracle Error ORA-56706

ORA-56706: The specified Resource Manager plan is a subplan and cannot be set as a top-level plan

What triggered the Error:

An attempt was made to set a subplan as a top-level plan.

What should we do to fix it:

Do not attempt to set subplans as top-level plans.