Skip to Content
author's profile photo Former Member
Former Member

Dynamic creation of component

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 21, 2007 at 02:32 PM

    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

    view-methods--dynamic-component-creation

    regards

    Message was edited by:

    Abhijeet

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.