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

How to read Multiple sheet Excel file( One of the sheet generated by rule )

Hi Folks,

I have one critical requirement about reading an Excelsheet.

I have an Excelsheet, which has got 2 tabs. Now TAB1 is having the data stored and TAB2 has got data, which is created by some Rule using in Excelsheet.

Now when i am trying to pass this Excel sheet to Function module ' TEXT_CONVERT_XLS_TO_SAP' this Fucntion Module is returning the data from TAB1. But my requirement is that, i have to read data from TAB2, which is generated by implementing some rule on TAB1.

So Please help, me how can i read the multiple sheet Excel document and how to read the tab , which is generated by some rule.

Thanks.

PG

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2010 at 11:07 AM

    Hi,

    Please check the documentation in SDN.

    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadmultiplesheetsofanExcelfileintoSAPthroughABAP

    Regards,

    Guru.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Guru,

      Thanks for your reply.

      I have seen this blog, and treid to implement the code. But when i am caaling method GET_RANGES_DATA

      in the program, it's hanging my whole program and followed by hanging my SAP login.

      I have no clue, why my program is getting hung up, bcoz of this call.

      After debugging this method, i found that the program is getting hung up at call of one function module DP_GET_TABLE.

      This Function Module is internally called by above menthioned method.

      So please let me know, if you have some input on above issue, or if you know some other way to implement this problem.

      Regards

      PG

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.