get_selected_areas 

Use this method to find out the areas on the current worksheet that are selected. The parameter areas returns an internal table, each row of which describes one selected area of the worksheet.

CALL METHOD spreadsheet->get_selected_areas
       EXPORTING no_flush = no_flush
       IMPORTING areas    = areas
                 error    = error
                 retcode  = retcode.

Description of parameters

Parameter

Optional

Description

areas

 

An internal table with the type soi_area_table . For further information, refer to the Important Table Structures section.