Skip to Content
0
Former Member
Jun 25, 2009 at 10:43 AM

Read Source from IWDCustomEvent

65 Views

Hello,

I have in webdynpro ABAP an action, which opening a confirmation-dialog with two Buttons "yes" / "no".

I can check in wdEvent from the action of destination, which button clicked.

For Example: wd_Event->getParameter("ID"). The returnValue ist btn_yes, if clicked "Yes" and btn_no, if clicked "No". The issue is, I can use the same action for Yes and No and check with an abstract function the ButtonID.

Now, I'm search the same function in Webdynpro JAVA.

How I can get the called ID from com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent in an action?

IWDCustomEvent has a few getter (getString(""), getObject("")...). But I don't know the name of the getter-parameter for the ID.

Or, how I can open the confirmation dialog with a parameter and get it in the event?

I hope, your have a nice answer.

Regards

Maik