cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic creation of component

Former Member
0 Kudos

Hi ,

I try to create a component in DC B from DC A.For this I use the method

wdThis.wdGetObjectComponentUsage().createComponent(componentName, dc);

where componentName = path of the webdynpro component

eg:com.sap.a1s.reui.plugins.fdt.expressions.decisiontable.ExDecisionTable

dc=<vendor name>/<dc name>

sap.com/a1s/reui/plugins/fdtexpr

But I keep getting the runtime error

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'sap.com/a1s/reui/plugins/fdtexpr' since it is not a Web Dynpro object

I also tried using

sap.com/a1s~reui/plugins/fdtexpr

But get the same error.

can anyone please help regarding how to get the DC name ?

Regards

Sourav

Accepted Solutions (0)

Answers (1)

Answers (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

hi Saurav,

I think problem is web dynpro framework is not getting deployable object,

just give try to,

sap.com/a1s~fdtexpr

not sure but just a try, also check if this link is of any help

regards

Message was edited by:

Abhijeet

former_member182372
Active Contributor
0 Kudos

I would say, sap.com/a1sreuiplugins~fdtexpr.

Former Member
0 Kudos

Hi Abhijeet,

Yes you are right it was not somehow getting the deployable object.I undeployed/deplyed again and it started working.

sap.com/a1s~reui/plugins/fdtexpr will do.

Thanks and Regards

Sourav