cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid DC dependencies in Web Dynpro DC

Former Member
0 Kudos

Hi,

I'd like to add a SAP DC to my own Web Dynpro DC in the Developer Studio. But when selecting the SAP DC I get the message "grant list does not allow references". I've nevertheless tried to add the dependency. But when I try to build my Web Dynpro DC I get an error saying that an illegal/invalid dependency was found because the access list does not allow use of the SAP DC.

The SAP DC I want to add as dependency uses a list of authorized components in the Permissions tab of its Component Properties in the Developer Studio. Instead of unrestricted access.

The SAP DC I want to add as dependency is part of a SAP SCA I've downloaded from the SAP service market place and imported into the Developer Studio.

Could anybody tell me how to add such a DC as a dependency in my own DC? Are such DCs probably part of other SAP DCs (with unrestricted access) which then could be added as dependencies to my own DCs? Or what does the trick?


Any help is appreciated.

Thanks and best regards,

Robert

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

I bump into the same problem this week.

Here is the solution I found:

If you want to use project 'A' in Web Dynpro project 'B', you should give permissions in project A in order to be accessible in project B. In the view, where you define your public parts, on the right side of the view, there is Public Part Details. On the bottom of the section, you will see a section for 'Permissions'. You should Add a new component, you should select your project B, in order to authorize it. If you want to use its classes, you should tick 'Entity Forwarding Allowed'.

I hope my answer would be useful to someone. : )

junwu
Active Contributor
0 Kudos

add SC dependency first

SC A------>SC B

    |             |

   DC A1--->DC B1

Former Member
0 Kudos

I did that first. But it doesn't help in this case.

junwu
Active Contributor
0 Kudos

can you be more specific? which dc and which public part you are using?

Former Member
0 Kudos

I've downloaded JWF SCA from service marketplace and try to add DC com.sap.workflow.apps_jwf to my Web Dynpro DC as this DC might contain the missing class references I need for building my Web Dynpro DC.

And unfortunately none of the DCs in the JWF SCA seem to provide public parts.