Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OLE Excel process still open

Former Member
0 Likes
1,931

Hi,

I read a excel sheet via OLE...

everything works fine but after closing the sheet there is still a process of excel in the taskmanager, since this is not needed (anyway it doesn't matter if I kill it) I would like to know how to close this process together with the sheet

the excel process gets terminated after I close my report but this is not enough...

for the coding freaks in here:

  • Close the file

CALL METHOD OF E_WORK 'close'.

  • Quit the file

CALL METHOD OF E_APPL 'QUIT'.

FREE OBJECT E_APPL.

btw: it does also not proceed the quit command correctly if I place an ABAP command after it...

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
1,380
5 REPLIES 5
Read only

andreas_mann3
Active Contributor
0 Likes
1,381
Read only

0 Likes
1,380

Thank you Andreas.. works perfect now

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,380

Hi,

Check this link and kindly rewar points by clicking the star on the left of reply,if it helps.

An easy reference for ole automation.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1d54348-0601-0010-3e98-bd2...

Read only

Former Member
0 Likes
1,377

Hi,

I am Facing same issue could you please tell me  how u solved this.

Many Thanks,

Sriveni D.

Read only

0 Likes
1,377

See the 'correct answer' post