Skip to Content
0
Former Member
Apr 21, 2007 at 02:04 PM

Dynamic creation of component

20 Views

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