Skip to Content
0
Former Member
Nov 25, 2009 at 07:45 AM

Raising Event Programatically

67 Views

Hi,

The problem scenario is:

I have a webdynpro component A. I've declared Usage of another WD component B in A. I've created some events in Used Component B, and their event handlers are written in my component A.

Now i want to raise an event of the used component B from a method written in component A.

I tried using the below code but it gives error as

Code :

 RAISE EVENT MYEVENT EXPORTING WDEVENT. 

Error : Object type "CL_SAL_ADVANCE_VIEW_CTR" does not have an event "MYEVENT".

where the MYEVENT is the name of the event, i want to raise which is created in WD component B.

SAL_ADVANCE_VIEW is the name of the view.

Please help.