Skip to Content
author's profile photo Former Member
Former Member



Im using the FM: ALSM_EXCEL_TO_INTERNAL_TABLE to upload an MS Excel file to an internal table which works fine. The problem is that the MS Excel process (via Windows Task Manager) is not getting terminated. This results to to many instance when running a the same function module several times. I looked at the source code and line #102 clearly states the said problem.

Any solution to kill/terminate the EXCEL process?

Im using SAP 4.6C. Thanks.


Kelvin Dela Rosa

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 16, 2004 at 07:35 AM


    it seems to be a fix at 4.7 enterprice

    • >>>>> Begin of change note 575877

    • to kill the Excel process it's necessary to free all used objects

    FREE OBJECT h_cell. m_message.

    FREE OBJECT h_cell1. m_message.

    FREE OBJECT range. m_message.

    FREE OBJECT worksheet. m_message.

    FREE OBJECT workbook. m_message.

    FREE OBJECT application. m_message.

    • <<<<< End of change note 575877

    I hope this helps you.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.