Hi Experts,
I have written the below objects to communicate to CRM with a custom RFC
Objects in module bo part
1) backend object java class impl
2) backend object java class interf
3) business object java class impl
4) business object java class interf
5) module access java class impl
6) module access java class interf
Objects in module ui part
1) bean java class impl
2) bean java class interf
3) viewhandler java class impl
4) viewhandler java class interf
Now the problem is when I am trying to access any of the BO part object in UI part, for example if I try to access custom module access object <zmoduleaccess> in the view handler implementation like below.
public class zviewhandlerimpl extends viewcomponenthandlerbaseimpl<zmoduleaccess> implements zviewhandler {
I get the error which says
"Access Restriction: The type zmoduleaccess is not accessible due to restrictions on required project U2D_TESTWCEM_D~test~comm.cust.myaccount~bo~cust.com"
I have maintained the dependencies as follows.
1) BO part --> tc/bl/jco/api AND wec/frw/tc/core
2) DPU part --> extended module bo, md, ui AND sap standard module dpu AND wec/frw/tc/core/app
3) MD part --> wec/frw/tc/core
4) UI part --> engine.jee5.facade AND extended module bo AND wec/frw/tc/core
As a quick fix I am getting the option "Add missing dependency" but when I click on it I am getting the below message
No public parts found. Sync more DCs to extend scope of search.
Please help me with this if I am missing on something.
Regards