Use this method to delete a worksheet from the current spreadsheet document.

When you use this method, the spreadsheet package reminds the user that the action could cause data loss. You do not have to write your own prompt.
CALL METHOD spreadsheet->delete_sheet
EXPORTING name = name
no_flush = no_flush
IMPORTING error = error
retcode = retcode.
Description of parameters
Parameter |
Optional |
Description |
name |
A type C field containing the name of the worksheet you want to delete |