cancel
Showing results for 
Search instead for 
Did you mean: 

Dependency issue in NWDS 7.3 SP07

Former Member
0 Kudos

Hello,

I am trying to use some standard classes from software components ENGFACADE and BPEM-FACADE in my NWDS 7.3 development. I have set corresponding dependencies to these SCs and set the dependncy properties also (Design Time, Runtime, Deploy Time). I am trying to use the classes/interfaces such as ProcessDefinitionManager, ProcessDefinition, IUser etc, but for some reason it is not getting resolved or imported into my application even if I do "Organize Import" in WebDynpro perspective. Any idea why is this happening?

Screens attached for reference

Thanks in advance,

Mansoor.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Mansoor,

Did you import the follwing packages in you java code ? if not than declare the below imports at the start of the code and than give it a try . hope that helps :

import com.sap.bpm.*;

import com.sap.bpm.pm.api.*;

Former Member
0 Kudos

Hi Tarik,

I tried to import both packages as shown above. It gives me an error saying "The import cannot be resolved". I think my DC is somehow not able to see the dependencies that I have set.

Thanks,

Mansoor.

Former Member
0 Kudos

Hello Mansoor,

Try adding all the DC that are in the screen shot below and than put the include...

Answers (1)

Answers (1)

SandipAgarwalla
Active Contributor
0 Kudos

Mansoor

Apart from setting the dependency at the SC level, you need to set it at DC level as well.

For Iuser - use tc/je/usermanagement/api

Sandip

Former Member
0 Kudos

Dear Sandip,

Thanks for your quick response. I have set the following:

1) ENGFACADE and all other standard SCs as dependent SCs in my application SC

2) tc/je/usermanagement/api as a dependent DC in my application DC

This is ashown in the images below. But still I am not able to import IUser interface.

Thanks,

Mansoor.

junwu
Active Contributor
0 Kudos

for the second screen shot, check the public part "api", not the dc.

another hint is  to sync the used dc.