cancel
Showing results for 
Search instead for 
Did you mean: 

How to sync Web Dynpro DC

former_member182374
Active Contributor
0 Kudos

Hi All,

A basic question about DC.

scenario:

I have dca and dcb (Both WD)

dca has a PP with several methods (I exposed a component as PP).

dcb uses dca's component.

If I change one of the method's signature (for instance: add another parameter to the method) in dca I cannot see the changes in dcb.

What I did is:

changed the method in dca

"build project"

"build component"

then, I refreshed the used parts in dcb and builded the project, still I cannot see the change.

What are the steps needed in order to see the changes in dcb?

Thanks, Omri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Omri,

Do you see that change also in the PP. Refreshing the PP and then building the Development component DCA mite help. Also refresh the used DC's and build the component DCB as well.

Best regards,

Dharmi

former_member182374
Active Contributor
0 Kudos

Hi,

Thanks for the answer.

All I see in the PP is the component (I don't know if the PP is the updated one).

I tried to do what you said (refresh & rebuild ) - still doesn't work.

Also, how do I check if dca is exposing the updated component or dcb doesn't see the updated component?

Thanks, Omri

Former Member
0 Kudos

Hello Omri,

You can go to the public part -> and then expand -> then entities -> then edit the method you would like to.

then refresh , build the development component and rebuild the project.

Again in the used DC, do the same thing (edit the component) then refresh , build the development component and rebuild the project.

In DCB, when you use the exposed method you should be able to see the other parameter that you added. If that is not the case, delete the public part and expose it again. (last option)

Best regards,

Dharmi

former_member182374
Active Contributor
0 Kudos

Hi,

I found out that the problem occurs when I try to build

the DC. I get:

build failed for sap.com <component name> in variant "default"

ERROR: failed to parse public part file list

I tried to delete and re-create the PP but the problem still occurs.

Could it be Eclipse settings?

Thanks, Omri

Former Member
0 Kudos

Hello Omri,

You mite want to have a look at the following thread:

till then I would try to find out whatelse could be a solution to your problem. One question though when do you get this in DCA when you exposed the public part or in DCB -> used DC's?

Best regards,

Dharmi

former_member182374
Active Contributor
0 Kudos

Hi Dharmi,

I get the error messages when I try to build DCA ("rebuild project" is working fine "build component" is causing the error).

There was one time after several attempts of delete & add PP that I managed to build DCA without errors.

In this particular case I didn't have to do any changes in DCB (The "Used DCs" section was updated automatically after I built DCA successfully).

By the way I'm using NWDS13 without DTR.

Thanks again,

Omri

Former Member
0 Kudos

Hi Omri

I am not sure if this might help , but I have faced similar errors on that build of IDE , try deleting the the jar file under the folder def of the provider component. It should be under public/java/lib of def.

Then rebuild to see if the changes reflect.

Regards

Pran

Former Member
0 Kudos

Hi

What is the SP version of Web AS. Is it also SP13. This problem arises after SP11. If you try to deploy code in NWDS SP11 to WebAS SP12 we face this problem. There are some compatibility probs when building the component.

Like what pran suggested, i guess you can go about deleting the jar. Maybe that should work though i have not tried.

regards

Ravi

Former Member
0 Kudos

Hello Omri,

Can you give the exact error message that you get when building the component?

Best regards,

Dharmi

former_member182374
Active Contributor
0 Kudos

Hi,

Pran's answer helped me (deleteing the jar and recreate the DC does the trick).

The exact error messages:

build failed for sap.com <component name> in variant "default"

ERROR: failed to parse public part file list.

Also, I did a test on NWDS 11 with the same DCs and the problem doesn't exist.

Omri

Former Member
0 Kudos

Hello Omri,

Is your problem solved then???

Best regards,

Dharmi

former_member182374
Active Contributor
0 Kudos

Hi Dharmi,

Well, the problem is solved if I use this workaround:

1) Build DCA & DCB

2) Exit NWDS

3) delete jar manually

4) Run NWDS

5) Re-expose PP of DCA

6) Build DCA

7) Re-import (add to "used dc's") the PP of DCA

😎 Build DCB hoping that the build will run smoothly...

While in NWDS 11 all I need to do is build DCA (I don't need to exit NWDS or do any changes to DCB)

Former Member
0 Kudos

Hello Omri,

Thanks for mentioning the steps, it would be of great help to many. Can you also close this thread?

Many thanks,

Dharmi

Answers (0)