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

Calling event handler outside the webdynpro component

Hi All,

1 .The webdynpro component has the Event Handler and the event handler method.
I have to use that event handler outside the webdynpro component. I have to use the event handler method in a badi.
Is it possible to do that?


2. Is the class CL_WD_CUSTOM_EVENT related to this scenario? Please tell me how to get the instance of this class.

Webdynpro comp : IBO_WDC_INBOX

View : V_DEFAULT


please share your ideas.


Thanks,
Pradeep

i1.jpg (4.0 kB)
i2.jpg (46.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2012 at 09:10 PM

    What are you trying to do? Why do you need the event object? Maybe there is a way you can achieve your objective without this object.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2012 at 08:56 AM

    Hi Pradeep,

    As per the WDA framework only interface methods can be called outside the component.

    Note: Event Handlers cannot be called outside the component.

    In case if required, create a method in the component controller and define the method as interface method and call this method outside the component.

    Thanks & Regards,

    Sankar Gelivi

    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.