Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Get attribute of class

Hello,

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?

Regards,

Hendrik

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)

Former Member
Not what you were looking for? View more on this topic or Ask a question