on 05-22-2012 6:15 AM
Hi,
I have designed a webdynpro alv grid with 6 columns and i have disabled 5 columns and enabled 1 columns in that i am having 5 records and i have created a method "ON_CELL_ACTION" which is triggered on enter.My question is after enter i want to select next record automatically, please help me...
Hi ram,
Create one more column I.e Index.....In this column give the data like seqence numbers 1,2,3,4,5,6...
and hide the column.. and fallow below steps.
->
* Get data contained in currently selected row of an ABAP web dynpro table
context_node->GET_STATIC_ATTRIBUTES().
-> take index number and increment to 1.
-> in ON_CELL_ACTION write code like
set lead selection with index number....
regards,
venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use below sample code..
Data: it_scarr type STANDARD TABLE OF if_view=>element_----,
wa like line of it.
DATA: ld_index type i.
* Get data contained within ABAP web dynpro table
context_node->get_static_attributes_table(
importing
table = it).
ld_index = ld_index + 1.
LOOP AT itINTO wa.
if ld_index = wa-index.
set_leat_selection ( exportinf wa ).
CLEAR wa.
ENDLOOP.
Regards,
Venkat
User | Count |
---|---|
95 | |
11 | |
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.