"lastvisiblerow" is the last visible row, but some table rows
can be empty if the SAP application decides to append a couple of empty rows.
You need to check for empty rows at the end of the table in your script,
starting with "lastvisiblerow", and decreasing the index until you find a
non-empty row. |
|