2008 Jun 25 9:46 AM
hi,
In my program I have a grid with some fields.
On a particular field a F4-available is enabled.
When I click on f4 on this field, I need info from another field in the same row. This works fine with command read table itab assigning <lf_row> index rs_row_no-row_id.
But when the table is sorted or filtered by the user, the rs_row_no-row_id isn't the same as the index of the itab.
Is there a solution where I can see the itab key or rowid, so I can read my internal table correctly?
Regards
Alexander
2008 Jun 25 9:53 AM
u remove the sort and filter icons from the application toolbar....
2008 Jun 25 9:57 AM
This is not an option.
Sorting and filtering is a requirent from the customer, because the list can contain more than 1000 rows.
2008 Jun 25 10:13 AM
Hi,
Try to use the following methods,
GET_FILTERED_ENTRIES
GET_FILTER_CRITERIA
GET_INTERNAL_FILTER
GET_INTERNAL_LAYOUT
GET_INTERNAL_SORT
[http://www.scribd.com/doc/3219268/BC-ALV-Gird-Control|http://www.scribd.com/doc/3219268/BC-ALV-Gird-Control]
[http://help.sap.com/saphelp_erp2004/helpdata/en/22/a3f5ecd2fe11d2b467006094192fe3/content.htm|http://help.sap.com/saphelp_erp2004/helpdata/en/22/a3f5ecd2fe11d2b467006094192fe3/content.htm]
to get the filtered and sorted data. the same filter critria and sorting should be do in your internal table. after that try to apply your field help assignment.
Regards,
Boobalan Suburaj