Oracle Message ORA-12840 - cannot access a remote table after parallel/insert direct load txn

ERRORcannot access a remote table after parallel/insert direct load txn
CAUSEWithin a transaction, an attempt was made to perform distributed access after a PDML or insert direct statement had been issued.
ACTIONCommit/rollback the PDML transaction first, and then perform the distributed access, or perform the distributed access before the first PDML statement in the transaction.