cancel
Showing results for 
Search instead for 
Did you mean: 

DC Usage

Former Member
0 Kudos

Hi

I have got 4 DC's A,B,C and D.

DC A is using DC B nad DC C. And DC C and DC B both of them are using DC D

In short the structure is like

A----B-----D

A-----C-----D

Two copies of DC D are resulting in a class cast exception when i try to access interface of DC D.

Any solutions to this

Regards,

Richa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The issue is now resolved.

Former Member
0 Kudos

Hi,

Are you getting this error while trying to access the interface of DC D from both the DC'S (B & C)?

Exactly in which DC you are getting this error?

Regards,

Charan

Former Member
0 Kudos

yes its giving me error on calling of interface of both B and C

Former Member
0 Kudos

Hi,

Are they WebDynpro DC? If yes:

Did you select "createOnDemand" while added the usage of the WDComponent of DC D?

Or you selected manual and you are creating the instances manually?

If you select "createOnDemand" then change it to manual and try?

See this help:

http://help.sap.com/saphelp_nw04/helpdata/en/89/b21640dc88e769e10000000a155106/content.htm

Regards,

Charan

Former Member
0 Kudos

Hi Charan,

Thanks for your reply.Yes the DCs are webdynpro DCs.

It is giving error on calling of interface of D from both the DCs B and C.

I have selected "createOnDemand" only while adding the usage of the WDComponent.However i even changed the usage of one DC to manual and checked but it was still not working.Wil to change that for both the used DCs and check again.

Thanks,

Richa Sinha

Former Member
0 Kudos

Hi,

Yes check creating two seperate instances from DC B and DC C manually. Atleast this should not give error.

Regards,

Charan

Former Member
0 Kudos

Hi Charan,

Thanks for your reply.We have changed the DC structure to resolve this problem as two instances of DC D was throwing class cast exception.

We have now removed the instance of DC D from DC C.

Thanks for your help.

Regards,

Richa Sinha