on 03-15-2011 2:49 PM
Hi,
I have editable alv, when i press "insert row" or "Append row" i need to get current inserted/appended row element reference or index.
How can i get this??
Please suggest.
have you tried using get_selected_elements method from your table context node?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kranthi ,
While inserting row you must be selecting a row, you can get the index of the selected row by this following code
get Index of selected table item
CALL METHOD NODE_NAME->GET_LEAD_SELECTION_INDEX
RECEIVING INDEX = Lv_Indx.
( DATA: Lv_Indx Type i )
or while you are appending a row you can use Describe int_table LINES lv_line and use the value of 'lv_line' as the index.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.