cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid public part references...

Former Member
0 Kudos

Hi,

we are using Visual Composer 7.1 in browser scenario.

We use NWDI for source code management.

We have developped a Visual Composer model and several Service Models.

When we check in our model , the build fails with the following error.

INVALID dependency is declared

DC '....mydc_impl' in

SC 'MYSC' USES

DC 'mydc' in

SC 'MYSC' [public-part:

530b65a157003cb8a7e1c79d99d08cc1] AS Build-Time Dependency [validity:

USED COMPONENT OR PUBLIC PART IS UNKNOWN OR UNDEFINED]

If we look in the dcdef of the mydc component , its true

that this public part is not defined.

Since this dc 'mydc_impl' , is generated

by the build , why does it refer to public parts we are not using in

our models.

We deleted all the content of our models (They are empty), and checked

in... the _impl dc still refers to the public parts we dont use ...

Still have the problem.

Then we noticed that we had service models that had not been added to

source control... So we added them all... there still are some public

parts missing.

Also, and most importantly , how can we delete the models from source

management and make sure the dc does not refer to them anymore since

the build is getting longer and longer even though most of the objects

are not even used.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

PradeepBondla
Active Contributor
0 Kudos

Hi Dagnino,

We too had same issue... we used a DC 1 in another DC 2 and the DC 1 has got corropted (missing public parts) then DC 2 has build broken... Once we delete DC 1 from DC 2 still the public parts were reffering and we had same issue.

We raised an OSS message and then come to know that when we reload the BAPI (FM) it is creating another proxy leaving old proxy as un referred. after a week or two SAP came up with a patch. Now its working fine. Ofcourse we deleted all the old related DC's and started fresh development.

You can delete models in DTR, once you delete it from DTR go to config tool and delete model from users work space.

Thanks,

Pradeep

Former Member
0 Kudos

Could you by any chance provide patch number or sap note ... Thanks.

PradeepBondla
Active Contributor
0 Kudos

Hi,

Which SP level you are in??? we are in SP4.

As per our Basis team, they have provided a quick fix as temp solutions and after thier testing they will relase a patch. so I hope patch is not yet out.

Thanks,

Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

Log into NWDS and open the model and go the .dcdef file and remove the Public part it is complaining about. Before you do that see the name of the public part and make sure you don't need it.