RPE-01012: Cannot deploy PL/SQL maps to this target schema. The target schema must be in the same instance as the Control Center and have the OWB_USER role granted.

Error Message when deploying OWB mapping
RPE-01012: Cannot deploy PL/SQL maps to this target schema. The target schema must be in the same instance as the Control Center and have the OWB_USER role granted.
Solution :
1. connect as OWBSYS
2. update OWBSYS.OWB$WB_RT_STORES set IS_LOCAL_TO_REPOS =1; — (default is 0)
3. commit;