Skip to Content
Former Member
Apr 08, 2009 at 06:23 PM

Get attribute of class



I am using a freely programmed value help and I want the value of attribute M_INDEX of interface F4_CONTEXT_ELEMENT.

How can I get this value?

I just want to identify the row I selected in a dynamic programmed ALV, read it by index into a field-symbol and then return all the values from the value help (I want to pass the description and other things of the selected value right into the correct row of the ALV help and then bind the table again to get it updated on the screen).

by the way: Why does my ON_CLICK action in the ALV does not work? It should return in R_PARAM-INDEX the index number, but ON_CLICK is not triggered even I declared it as a event handler. Is there something extraordinary to do than just create this event handle in the method tab?



Edited by: Hendrik Bahnen on Apr 8, 2009 11:19 PM

Ok, ON_CLICK even is nonsense as I have an input field...

Regarding the number of the row. I am not talking about leadselection. the use does not mark the complete row, he just goes into on of my input fields and in F4_CONTEXT_ELEMENT I can see the correct column index (line number in the bounded table)