I've spent all day on this and am getting nowhere, so it's time to turn it over to the experts here.
I have a very simple ABAP program that does some OLE with Excel. When the program is finished, EXCEL.EXE is still running on the PC (can see in task manager). After running the program 4 times, EXCEL.EXE shows up four times in the task manager.
I'm using FREE OBJECT on every OLE object, I'm FLUSHING... I don't get it. This does not happen in our old 620 system, on which we still run some apps.
One other oddity. When I debug my wrapup code...
SET PROPERTY OF excel 'DisplayAlerts' = 0.
CALL METHOD OF workbooks 'CLOSE'.
SET PROPERTY OF excel 'VISIBLE' = 1.
CALL METHOD OF excel 'QUIT'.
FREE OBJECT workbook.
FREE OBJECT workbooks.
FREE OBJECT excel. "Excel.Application
... and get to the 3rd line, Excel pops up on my screen and I can see that the workbooks are closed properly. But when I step through the 'QUIT' method, the application doesn't shut down, and I can still see the icon in my taskbar. Not sure if it's supposed to disappear at that point or not.
Whwn I free the excel object, the icon disappears, but the process is still alive in task manager.
Message was edited by: Chris Perkins