11-13-2019 12:37 PM
hey guys.. I have displayed a table with an custom field of "SHOW INVOICE" (this will act as a hyperlink column for every row) so when I click this hyperlink i want the key field value from field catelog.. SO far i know i'll get that perticular field value using slis-selfield-value but i dont want this value.. just the value of key field of that perticular row... please help me how can i get this.
11-13-2019 1:02 PM
11-13-2019 3:17 PM
Hi Prasad Supare,
In same structure you will get selected row index take that and read your alv table with index.
11-13-2019 3:46 PM
You have to create a handler method for the events(link_click) of alv.
and on click, this event will return the cell value and row selected.
a quick snippet if you are using salv.
on_click FOR EVENT link_click OF cl_salv_events_table
IMPORTING
row " gives row number
column . " gives name of the column you selected.