ALV with link to action column



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.


 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s