Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

SET_LEAD_SELECTION_INDEX is not wokring when column sort in ALV

$
0
0

Dear Experts,

 

I am using ALV to display data - single selection mode, first row should be selected after data is refreshed.

This works if I dont have column sort in ALV view settings.

As soon as I customize default ALV view to have sort (in Sort tab), the first row is not selected and lead section of node is not done. Also using SET_LEAD_SELECTION_INDEX of IF_WD_CONTEXT_NODE laso does not work when ALV have sort (though it works when ALV does not have subtotals).

 

Moreover if I use ALV view without sort and refresh data (using bind_table method) then lead selection is fine. But after I select ALV view with sort (with the same data) - the lead selection is lost (simpply because of selecting another ALV view)!!!

 

We have 7.01 (EP1).

 

Thanks.

 

Edited by: Dmitry Kalmykov on Aug 26, 2010 11:38 AM


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>