cancel
Showing results for 
Search instead for 
Did you mean: 

wdDoModifyView

Former Member
0 Kudos

Hi,

I have 4 buttons on my view, and am trying to get the id of the button clicked in the wdDoModifyView(). Based on the click I intend to change values.

Is this possible.

NAC

View Entire Topic
former_member182372
Active Contributor
0 Kudos

Hello SAP Partner,

[skipped]

...

[/skipped]

Best regards, Maksim Rashchynski.

Use approach mentioned be Armin and Santhosh.

Message was edited by: Maksim Rashchynski

Former Member
0 Kudos

The correct way uses parameter mapping as shown by Santhosh Chandran.

Armin

Message was edited by: Armin Reichert

former_member182372
Active Contributor
0 Kudos

Hello Armin,

Question was - how to get ID not in action handler but in wdDoModifyView method.

And BTW I put the warning below the message about this "solution".

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

OK, then the answer is: transfer the ID into the action handler using event parameter mapping, store it in a view context attribute and get it from this attribute in wdDoModifyView().

But I doubt that the original poster really wants to do these changes in wdDoModifyView().

We should not propagate using non-API methods in this forum.

Armin