cancel
Showing results for 
Search instead for 
Did you mean: 

How get the name of the column where press enter, in an ALV?

0 Kudos

Hi experts,

How I get the name of the column and row position where press enter, in an ALV?.

In a ALV need the name of column and row position where press enter to make a validation. This I need for pased the parameters to method.

Regards,

Matías

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Take a look at these: , ,

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4],

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]

and [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2881] [original link is broken] [original link is broken] [original link is broken];.

Regards.

Former Member
0 Kudos

Hi,

I assume you click the ALV cell. If you do in that way, you need to implement the interface IF_SALV_WD_TABLE_CLICK and use the attributes COLUMN (for technical name) and INDEX (for row) to get the column name and row index respectively.....

The parameter to access the attribute is r_param....

Thanks

Prakash

0 Kudos

Hi Prakash,

Will have some example of how to implement it?

Thanks for the help.

Matías