Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from mic-bv on Feb 5 at 4:22 AM Ok, found the answer already myself: when layout-SelMode is 'A', the reply of selected lines is regarding to the original / given table. If it's 'D', then it's referring to the displayed table. Maybe that will help others? ;)
| | | ---------------Original Message--------------- From: Stefan Vermeulen Sent: Wednesday, February 05, 2014 3:59 AM Subject: Behaviour of LVC_T_Row in Sorted and Filtered ALV Grids? I'm using a ALV-Grid with OO - Container (CL_GUI_ALV_Grid / CL_GUI_Custom_Container). Within that ALV the user can mark some lines, which I get with "Get_Selected_Rows". I always thought that the given Rows are still refering to the input-table I handled over with "Set_Table_for_First_Display". However, on one system a user sorted the table and filtered some entries - and strangely the selected rows are referring to the table as it is displayed. Example Row Content 1 AA 2 AB 3 AC 4 BA 5 BB 6 AD The user sorty by Content and filters it on A*, so I is displayed 1 AA 2 AB 3 AC 4 AD (while the Table in the originating report remains with 6 lines...). When the user marks the line AD, the result of "Get_Selected_Rows" is 4, not 6 as expected. Is that depending on some settings? If not, I would have to copy the original table, sort it and filter the entries - all depending on "Get_Sort_Criteria" and "Get_Filter_Criteria" - and that for every handling of selected rows... :( - or is there another easier way? Thank you very much! | | Reply to this email to post your response. __.____._ | _.____.__ |