cancel
Showing results for 
Search instead for 
Did you mean: 

how to use "used webdynpro components" in nwds 7.0

Former Member
0 Kudos

hi all,

I am using NWDS 7.0 SP8 version. I want to use my local DC1 in my local DC2. I have created public part of DC1 and integrated it into DC2 as used DC. But when I try to add the webdynpro component from the Used Webdynpro Components of DC2, I am not able to view the DC1component. Plz let me know the procedures that I need to follow to fix this issue.

Regards,

Athulya.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

did you deployed the first dc after you have put the dc1 in the public parts ,

check this thread with step by step process using once dc in another dc

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

What components have you added to the Public Part of DC 1?

Have you added the Web Dynpro Component to the Public Part?

The steps are:

1) Create Public Part in DC 1 (Public Part - Compilation)

2) Add the neccessary components (web dynpro component, model , java package etc)

3) Build DC 1

4) Add the public part of DC 1 to DC 2 as a used DC.

5) right click on the Used Components on DC 2 and select the component of DC 1.

Regards,

Kartikaye J Gomber

Former Member
0 Kudos

Hi,

Right click on the DC,

Rebuild,

Also rebuild from develocomponent from the context menu when you right click on the DC.

If there is option to sync Dc and Sync Sources, if you can see that option.

Then try to add the component

AM

Former Member
0 Kudos

Hi Anoop,

I have tried even that, then also it's not reflecting. Now how to proceed? Plz hlp me

Regards,

Athulya

Former Member
0 Kudos

did u sync used dcs and sources before doing this?

AM

Edited by: Anoop Mathew on May 13, 2009 3:38 PM

Former Member
0 Kudos

Hi Anoop,

I have already added the public part to the used DC's, but the problem is I cannot add the webdynpro component in the used webdynpro components section. When I click on the browse button it just shows the component of DC2 and not DC1. plz help me to resolve this.

Regards,

Athulya

Former Member
0 Kudos

HI

try deleting the public part and close the DC and open the DC again and then try again

hope should solve your problem

Former Member
0 Kudos

Hi Murali,

Have done this also, but didn't resolve the issue. Plz help me.

Regards,

Athulya

Former Member
0 Kudos

hi Anoop,

Where can I find the option for Sync Sources? In the dc perspective I could find option only for build, delete dc, create child dc.....

Regards,

Athulya

Former Member
0 Kudos

hi experts,

plz help me to solve this problem.

regards,

Athulya

Former Member
0 Kudos

Hi

in the Development Infrastructure , under the track , you can find your DC , right click on it

you can find the option for sync sources .

Former Member
0 Kudos

Hi,

webdynpro perspective,

Right click on the project,

development component -> build.(sync sources and Dcs ,if u are uing NWDI) make sure that the build only if required unchecked. make sure it is building two dcs together.

Right click on the Project - > reload (Not sure if u required to do this step.)

Now try to add the webdynpro component. You should get the componnt there...

AM

Former Member
0 Kudos

Hi Murali,

Thanks for the response.

But may i know why should we use DI for this?

When I build DC2, I can find DC1 there, so it means that it's already in sync.

Regards,

Athulya

Former Member
0 Kudos

hi anoop,

thanks again for the response.

I am not using NWDI.

I have build it, have reloaded it also did repair-project structure and classpath...then also it's not working

Regards,

Athulya

Former Member
0 Kudos

hi

try this thread out , hope could help you in some way

Former Member
0 Kudos

hi

i will mention the steps that I have done for the same.

1. Create DC1- LocalDevelopmentdc1sap.com

. Create PP(Provides an API)->PP_DC1

. Webdynpro Component->DC1Comp->Add as Source

. Finish

. Rebuild

. Deploy

2. Create DC2- LocalDevelopmentdc2sap.com

. Right Click Used Dc's- Selected PP_DC1(Build, Run)

. Finish

. DC->Build

. Right Click Used Webdynpro Components->Add Webdynpro Component->

Browse->Can find only DC2Comp....

Plz correct me if I have done something wrong.

Regards,

Athulya

Former Member
0 Kudos

hi murali,

thnx again...

but ddnt work out....

athulya

Former Member
0 Kudos

Hi Athulya A,

Try like this:

1. Delete the existing public parts.

2. In DC1, R.click on the component and select "Add to public part". In the opened window give the public part name (Let us suppose FirstCompPP) and leave the default selections click on finish.

3. In DC2 go to DC Meta data -> DC Definition -> R.click on Used DCs ->Add Used DC and select FirstCompPP from DC1 public parts.

4. Now select both the DC1 and DC2, right click and do the dc build.

5. Now try to access DC1 component in DC2. It should work.

Hope this resolves your issue.

Regards,

Jaya.

Former Member
0 Kudos

Hi Jaya,

Thanks for the response.

I tried the steps as you suggested. But still when I try toadd DC1 in the Used Webdynpro components of DC2, it's not showing.....

Is there anything more needs to be done in DC2 so that DC1 will be made available?

Regards,

Athulya

Former Member
0 Kudos

Hi All,

I have resolved the issue.

Actually the build was getting failed (which I checked later....sorry for not checking this earlier....) and because of this WDC wasn't getting appeared in Used Webdynpro Components.

Thanks to everyone...for utilizing your valuable time.....

Regards,

Athulya