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: 

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

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please check the documentation in SDN.

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

Regards,

Guru.

0 Kudos

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