Application Development 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: 

OLE Excel process still open

former_member1287623
Participant
0 Kudos

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

andreas_mann3
Active Contributor
0 Kudos
5 REPLIES 5

andreas_mann3
Active Contributor
0 Kudos

0 Kudos

Thank you Andreas.. works perfect now

jayanthi_jayaraman
Active Contributor
0 Kudos

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...

Former Member
0 Kudos

Hi,

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

Many Thanks,

Sriveni D.

0 Kudos

See the 'correct answer' post