We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-dev] Behaviour of LVC_T_Row in Sorted and Filtered ALV Grids?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Question from mic-bv on Feb 5 at 3:58 AM
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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
mic-bv  

achievements
 
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language