Friday, 18 September 2015

Web Dynpro ALV with link to action column

------------------------------------------------------------------------------------------------


To create an alv follow the steps from link: Creating an ALV

To set LINK TO ACTION to a filed, create a new method like SET_COLUMN_LINK' in the component controller methods.
Put the below code which instantiate the used component and sets the column to a link.


 call the method form the WDDOINIT method of the component controller.



 Here we have the link. Now on link click we have to handle the event and read the value.



Go to the MINA view and add the used component.


In the view Methods, add a new event handler view for the  event ON_CLICK. which can be obtained form the F4 help.





add the below code.

Test the application.




------------------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname