cancel
Showing results for 
Search instead for 
Did you mean: 

record selection in webdynpro

Former Member
0 Kudos

Hi,

    I have designed a webdynpro alv grid with 6 rows and i have disabled 5 rows and enabled 1 row 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...

Accepted Solutions (0)

Answers (2)

Answers (2)

chengalarayulu
Active Contributor
0 Kudos

Ram,

write the code in ON_CELL_ACTION,

data: lv_index type i.

1. Take the node reference, ex. lo_nd_demo

2. lv_index = lo_nd_demo->get_lead_selection_index( ).

3. lv_index = lv_index + 1.

4. lo_nd_demo->set_lead_slection_index( lv_index ).

5. Test the application.

Former Member
0 Kudos
Former Member
0 Kudos

Moved...

Former Member
0 Kudos

You can play around with methods GET_LEAD_SELECTION_INDEX and SET_LEAD_SELECTION_INDEX of the node which is bound to ALV.