Hello,
I have written an ABAP program, which creates and formats an excel sheet via OLE.
I have set visible to 0, as I do not want to see the operations on the excel.
At the end of the program, I am calling FILE_SAVE_DIALOG FM, so that I can specify a filepath to where the excel can be downloaded to.
Then I am calling method of sheet "SaveAs", and passing the above filepath.
Then I close, quit and free the objects.
It is working completely fine, the excel is downloaded and the task manager process is closed.
But in the FILE_SAVE_DIALOG pop up, if I click "CANCEL" button, the excel process still keeps running in the task manager. I close,quit,and free the objects regardless of whether the user chooses save or cancel.
So why is the process still running?
Thanks,
Kavya