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

Problem with 'eventing example application'


I tried to implement the example i found on SAP help with subject 'Using Server-Side eventing in WEB Dynpro'

The example doesn't work correctly in an sense that the first time the application is started the form 'Internal Web Dynpro Component' is already visible and after using the 'Create Component' button the application fails.

As far as i can understand i followed all the instructions.

Does anyone know what i did wrong?



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2004 at 05:02 PM


    You will have to set the default property of the interface view in the embedder app's window to FALSE. This should set things right.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 16, 2004 at 12:04 PM

    Hallo Bertil,

    in the turorial section 'Implementing the View Composition - Defining Component Usage' there is a step where the Lifecycle of the component instance related to the declared component usage is set as 'manual'. I assume that you did keep the default 'framework controled'. In this case an exception is thrown when programmatically trying to create a component instance for a component usage, because hasActiveComponent()==true. So createComponent() does not exit silently like destroyComponent() for an already destroyed component instance.

    See the JavaDoc for IWDComponentUsage:


    public void createComponent()

    Creates a component instance for this component usage. The type defined by the component usage declared at design time is used for creating the component instance. The method fails if the Component Usage is associated to a Component Interface Definition.


    hasActiveComponent() == false && isReferencing() == false


    componentName - The fully qualified name of the Component Implementation to use

    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.