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

Reading Excel data, FM: ALSM_EXCEL_TO_INTERNAL_TABLE problem

Hi all,

I'm using function module ALSM_EXCEL_TO_INTERNAL_TABLE, to read content of MS excel file and then I'm uploading those data into SAP. I'm facing probably performance problems within this module. My Excel file has 22000 rows and my ABAP program ends with short dump: MESSAGE_TYPE_X - Control Framework : Error processing control. Error occurs in function module AC_SYSTEM_FLUSH there is an exception raised:

  • method_call_error: MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.AC_SYSTEM_FLUSH

Could it be that it has something to do with the performance of exchanging data between application server and front-end?

I've noticed that FM: ALSM_EXCEL_TO_INTERNAL_TABLE is reading excel file via windows clipboard (it selects whole range of workbook then it copies to clipboard). Does anybody know something more about this technique?

Regards, Martin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 10:28 AM

    Hi,

    I wonder why that would happen. Any way, have you tried saving the excel file as a tab-delimited text file and using FM GUI_UPLOAD? Secondly, have you tried reducing the number of rows in excel file just to make sure that volume of data is causing problems?

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Martin,

      I went through the function module ALSM_EXCEL_TO_INTERNAL_TABLE .

      With this function it is not possible to download more than 9999 records from the excel sheet.

      This is so because :

      The return table is type ALSMEX_TABLINE

      and the fields rows and columns are numc with maximum length 4 due to which its not working.

      This is all what I could find there might be another way of doing it.

      Just let me also know if u find another way of doing it.

      Regards

      Varun

  • Posted on Feb 24, 2005 at 10:31 AM

    Hi Martin,

    Have a look at OSS Notes 129994 and 127666. Hope these notes give some inputs.

    Thanks

    Lakshman

    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.