Export from Discoverer to Excel more than 65K rows
Hi
I need to export data from discoverer to excel, in some cases it is more than 65K rows, does any body know if the file can be split in multiple files o worksheets in Excel?
Any help will be appreciate
Thanks
Vladimir
Russ
The short answer is I didn't know, as in any instance where my end users have wanted to extract large amounts of data they have done it from one sheet, I expected that Discoverer would just create the extra sheets for both but I wanted to know for sure, so I did a test.
I created a Disco workbook with two worksheets in it, the first one I called Monthly and it had 119,409 rows in it, the second I called Weekly and it had 299,775.
The first time I did the export I did it by hitting the Excel icon on the toolbar, it therefore only extracted the first worksheet (Monthly), when I opened the ensuing Excel file it had two worksheets in it, one called Monthly, the other called Monthly_1 and as expected, between the two sheets the had exactly the same number of fields as in the original disco sheet.
I then redid the extract going through the menu and chossing extract entire workbook, Discoverer then re-extracted the sheets. In the Excel file this time I had the same two monthly sheets as before and this time I also had weekly sheets, five of them. So I ended up with an Excel file with seven sheets containing all of the original data.
Cheers
Melanie
Similar Messages
-
SOS !!! Export from Discoverer to Excel problem
Hi everyone,
My reports, exported from Discoverer to Excel look quite different from what Discoverer format is. The date in Excel is shifted, column names are missing and report is broken into several tabs.
Any idea why it is happening?
Thanks lot,
SergeiWhen the users I support export to Excel they like to use the Export To Excel button in the menu. After they do that, they get a window asking if they want to enable or disable macros. I have them click Enable macros to get the same format as they see in Discoverer Plus.
If you get several tabs instead of one tab(and only one exists), I usually need to resave the workbook becuase it got corrupted (in my case anyway). If you want more control over how the workbook gets exported you can go to File--> Export... and they have some options on how the workbook gets exported.
I hope this helps. -
Requirement to display more than 65K rows of data
Has anyone addressed the issue of Excel not being able to provide more than 65K rows of data with the users? I am working with users whom are concerned about Excel not being able to provide more than 65K rows of data.
Why would you use BI reporting to report on data more than 65K rows of data. Has anyone designed any reports with more than 65K rows of data. I would imagine that BI reporting is for summarization and it is an on line analytical tool and not a data producing or recording tool.
Is there a work around if the requirement is to display more than 65K rows of data? Has anyone been asked to do this kind of reporting?Hi,
Please make a search in SDN.This topic has been discussed many times.
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums&query=65k&adv=true&sdn_author_name=&sdn_allusernamesofthread=&sdn_category=&sdn_forum=&sdn_updated_on_comparator=ge&sdn_updated_on=
Regards. -
Copying data from excel(more than one row) and pasting into table control
I have a requirement to copy data from excel and have it pasted it into the corresponding fields table control when the user clicks on an icon.For the first part I used a class to copy it from the clip board.By the previous process,I get the data inside an internal table, but even after trying to split the data using 'split at cl_abap_char_utilities=>horizontal_tab into table itab.' it's not working.The table and the excel file are of the same structure.
Does anyone know any cause as to why it might not work?Is there any other way to achieve my objective?
BonHi,
try to get data into internal table as below
TYPES : BEGIN OF ty_data ,
zbukr TYPE payr-zbukr ,
hbkid TYPE payr-hbkid ,
hktid TYPE payr-hktid ,
rzawe TYPE payr-rzawe ,
chect TYPE payr-chect ,
laufd TYPE reguh-laufd ,
laufi TYPE reguh-laufi ,
lifnr TYPE reguh-lifnr ,
vblnr TYPE reguh-vblnr ,
rwbtr TYPE reguh-rwbtr , "uncommented
unique_no TYPE char13 , " Added SAP Doc. No. and current year concate in NEFT,RTGS and Fund Transfer cases
END OF ty_data .
DATA : wa_file LIKE LINE OF it_file ,
wa_data TYPE ty_data .
DATA: it_data1 TYPE kcde_intern WITH HEADER LINE,
wa_data1 LIKE LINE OF it_data1.
start-of-selection.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = lv_file1
i_begin_col = '1'
i_begin_row = '4'
i_end_col = '11'
i_end_row = '60000'
TABLES
intern = it_data1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc = 0.
PERFORM format_data.
ENDIF.
FORM format_data.
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
DATA it_tab LIKE wa_data OCCURS 0 WITH HEADER LINE.
LOOP AT it_data1.
MOVE it_data1-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE
it_tab TO <fs>.
MOVE : it_data1-value TO <fs>.
MOVE it_data1-value TO p_table.
AT END OF row.
APPEND it_tab.
CLEAR it_tab.
ENDAT.
ENDLOOP.
it_data[] = it_tab[] .
ENDIF.
endform. "format_data -
Export more than 70000 rows to excel in OBIEE 10G
Hi We are using
Office 2003 and need to export more than 70000 rows from OBIEE to excel.Is there any way?Hi,
Refer the below link.
Re: Downloading / Exporting more than 65k records in Excel
Thanks,
Satya
Edited by: Satya Ranki Reddy on Apr 18, 2013 2:41 PM -
Not uploading more than 150 rows from Excel file to Internal table.
Hi All,
We have a Z program to upload initial stock from excel file to SAP using BAPI. The problem is we have defined row to '65536'. But it is not uploading more than 150 rows at a time. The piece of code is given below.
DATA : it_excel LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
DATA: xcel TYPE TABLE OF alsmex_tabline WITH HEADER LINE.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '3',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
PERFORM upload_excel_file TABLES gt_out
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
FORM upload_excel_file TABLES gt_out
"Insert correct name for <...>
USING p_p_file
p_gd_scol
p_gd_srow
p_gd_ecol
p_gd_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
DATA : ld_index TYPE i.
FIELD-SYMBOLS: <fs> TYPE ANY.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_p_file
i_begin_col = p_gd_scol
i_begin_row = p_gd_srow
i_end_col = p_gd_ecol
i_end_row = p_gd_erow
TABLES
intern = lt_intern[].
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE gt_out TO <fs>.
MOVE lt_intern-value TO <fs>.
AT END OF row.
APPEND gt_out.
CLEAR gt_out.
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM.
Plz tell me, what is the problem here. I want to upload all the rows at a time.
Thanks,
With regards,
Rosaline.Hi Rob, I confirm, you're nitpicking! :-D For information, I've noted a few SAP comments about releasing and released objects, for people who like reading: [SAP Library - Documenting and Releasing a Function Module|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801f50454211d189710000e8322d00/frameset.htm], [Note 109533 - Use of SAP function modules|https://service.sap.com/sap/support/notes/109533], [Note 415983 - Modification/customer developments of SAP function modules|https://service.sap.com/sap/support/notes/415983]; Example of an unreleased BAPI -> [Note 577453 - Using BAPI BAPI_DELIVERYPROCESSING_EXEC|https://service.sap.com/sap/support/notes/577453]
Sandra -
Problem opening excel files exported from Discoverer Plus 10.1.2.48.18
I can't open excel files (xls) exported from Discoverer Plus 10.1.2.48.18 when I enable macros. The application (Excel) hangs up.
Someone have any idea about this?
Thanks,
DiegoHi Meifang
I did some more research and found a document on MetaLink 250820.1 that talks about Discoverer not being able to call Excel if Discoverer is running via an IP address instead of a qualified domain name.
The article talks about making Discoverer a trusted site in the Internet Options of IE. Here's the relevant info from the posting:
Workaround for MS IE (if necessary):
1. Open a new MS IE browser
2. Navigate to: Tools | Internet Options Security where you will see the Trusted Sites icon (green icon with a check mark)
3. Click the Sites button
4. Add the following: http://IP:port/
(where IP, port are the location of where Discoverer server is running)
5. Click the OK button
6. Click the OK button again
On my own PC, I was having a similar problem and I was unable to get Excel to launch. In the end I did this:
1. Open a new MS IE browser
2. Navigate to: Tools | Internet Options | Security where you will see the Local Intranet icon (computer icon against a globe)
3. Click the Local Intranet button
4. Click the Sites button
5. Click the Advanced button
6. Add the following: http://IP/ or http://website
(where IP or website are the location of where Discoverer server is running)
7. Click the Add button
8. Click the OK button
9. Click the OK button again
10. Click the OK button a third time
With this done, I made sure that my Explorer settings were correct by doing the following to ensure that a couple of settings for the .xls & .html file types are unchecked:
1. Open Windows Explorer
2. Navigate to: Tools | Folder Options | File Types tab
3. Highlight the Extension XLS (or HTML)
4. Click the Advanced button
5. At the botton of the screen are three settings that use checkboxes. If either of the following two are checked, un-check them:
Confirm Open after Download and Browse in same window
6. Click the OK button
7. Click the Apply button
8. Re-boot the PC
After I did this I was successfully able to get Excel to open from within Discoverer.
Best wishes
Michael -
Export a BO report to excel having more than 65500 rows
Post Author: noble
CA Forum: .NET
Please let me know what are the different options available to export BO report having more than 65500 rows to excel 2003.Post Author: amr_foci
CA Forum: .NET
i think excel will not be able to handle all that records , you can devide your report into some tabs based on a specific condition for every tab, so when you export it to excel you will get many tabs as was exist in the the Business Objects report
good luck -
ADF view, export excel does not export more than 65536 rows
as this is limitation of ms excel 2000, but not sure whether it is still limitation in using ADF view export excel feature.
in our table , there are more than 80k rows, when we click on export excel, it only get's 65536 rows
remaining rows are not exported.
please let us know if this is still open issue or fixed, also let us know which version if it is fixed.Hi,
Yo have to use custom library Ex: Apachi POI
See
Re: ADF table data export to Excel -
Not able to display more than 65k records in Bex report.
Hi Experts,
I have requirement for the Bex report to display more than 65k records..
Please help me on this.. i am feed up of get proper update for this..
Its urgent.. pls help on thisHi,
The Excel 2007 have a limit of 1,048,576 rows, unfortunately SAP cannot export more than 65.536 rows that is an exiting limitation exporting to Excel files.
The note 700206 explains the MAX Size Limit for XXL Export, and it's
not possible to increase this limit. XXL Export is generic export
utility to export the list object from SAP to Excel and it cannot
work differently for different Excel releases.
I would emphasizes the purpose of BEx Analyzer: it is not a tool for the
mass extraction of data, but it is a viewer/navigator tool for data.
For huge exports like the one mentioned SAP offers Open Hub as a 3rd
party tool. You can have more details in the url below:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.
docs/library/icc/BW-OHS%20Open%20Hub%20Service%2c%20Third-party%20
Integration.pdf
Thanks,
Venkat -
Can't insert more than 8000 rows to excel via JOB
Hello,
I have SSIS package where I have two tasks.
File System task copies file (with header names) to destination folder.
Data flow task export data from table to copied Excel file. Select are simple "select * from table" without any filters.
There are about 100 000 rows in the table.
When I run this task through Visual studio everything works fine. Data to Excel file is exported.
When I run this package in JOB (Job Activity Monitor) the file is created but 0 rows is exported.
One interesting thing, that when I use select "select top 7000 * from table" 7000 rows is inserted but when I try to export more than 8000 rows then 0 rows is exported. The JOB generates 0 errors. In fact he tries to export. Because all the time
Excel's file "Date modified" is changing.
It seems like data is exported but the final "commit" isn't done. Anybody knows where could be a problem?Out of curiosity I have had a go at reading 70K lines of data from a table in a sql server and exporting them to an excel 2007 file:
SSIS 2012 project deployment
2 project connections: sql database connection for source
and an Excel 2007 connection for destination:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\Data\Outbox\ExcelOut.xlsx;Extended Properties="Excel 12.0 XML;HDR=YES";
I have an empty excel 2007 file as template with header rows in the first sheet.
I test the project in VS 2012, ran without problems.
I set DelayValidation to true on package level, data flow level.
In data flow, excel distination, ValidataExternal metadata to False.
I deploy the project with the package to an Integration Services catalog on a SQL 2012 server (not my development machine)
I copy an empty excel 2007 file (with the headers in the first row) in the correct file location.
I execute the package from SSMS in the Integration services catalogs, with 32 bit checked.
The package runs without errors.
I can open the excel file and see 70K records.
Last thought: I have no NULL values in my data. Do you have null values after the first 7000 records? Or is one of the excel columns expecting numerical data where it suddenly finds alfanumeric after 7000 rows?
Another suggestion: if you run the package with SSMS from the catalog, you can set the verbose reporting mode on, does that tell you anything more?
Jan D'Hondt - SQL server BI development -
Open more than 65k TCP/IP connections
Hello,
is it any possibility to open more than 65535 TCP/IP connections from one IP address as client? Because each connection occupied one port, I can't make more than 65k. Can be established more outgoing connections (as client) from one port to more different servers simultaneously? Thank you for any advice.
CenyThe naive way will only let you open about 32K sockets before it fails.
In order to get more you need to reuse the socketnumbers:
#include <sys/socket.h>
void BindSockToPort(int fd, int port) {
sockaddr_in sa= {AF_INET, port, INADDR_ANY};
unsigned int one= 1;
setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof one);
if(bind(fd, (sockaddr*) &sa, sizeof sa)) perror("bind");
}Then you can connect.
From same port you must of course connect to different endpoints.
And this has of course nothing to do with sun studio C++. But I had just solved the problem myselfes, so... -
Export from ALV to Excel - problem with numeric values
hi folks,
when exporting from alv to excel and we have negative values (and using an u.s.a. setting where . and , are different to r/3) negetive values are not shown correctly in excel.
when changing in win nt the regional settings to europe one's (e.g. germany) everything works fine.
any hints welcome,
kind regards
oliverI guess this has something to do with the excel settings. In the control panel you have regional settings.try some options there. It might work.
Regards
Sudhi -
OBIEE Report Export from Dashboard to Excel doesn't suppress the columns as
OBIEE Report Export from Dashboard to Excel doesn't suppress the columns as expected even after the properties are set to Suppress in the report. In Dashboard it is suppressed Properly but in the excel export it is not suppressed and values for the columns are repeated.
Added the following to the instanceconfig :
<Download>
<Export xsi:type="excel">
<DataValue>UseFormattedValue</DataValue>
<RepeatRows>false</RepeatRows>
</Export>
</Download>
But then could not restart services.The following error occured :
Util Logger] Exception occurred:
Severity:1
Type:PKN3saw9ExceptionE
File:saxreader.cpp
Line:681
Message:Sax parser returned an exception.
Message: The prefix 'xsi' has not been mapped to any URI, Entity publicId: /oracle/ofm/instances/instance1/config/OracleBIPresentationServicesComponent/coreapplication_obips1/instanceconfig.xml, Entity systemId: , Line number: 43, Column number: 26
Edited by: 887111 on Mar 27, 2013 11:23 PMProblem solved!!
<br><br>
See this part of the query:
<br><br>
if :P15_GESTOR_PROPIETARI='-3' then<br>
w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:P15_CANVI_DE_CLUB</FONT> ';
w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
end if;<br>
<br>
when instead of :P15_CANVI_DE_CLUB I put a value (say ''EE'') it works correctly, finally I created an application item (ASSOCIAT) and when when I change :P15_CANVI_DE_CLUB I set :ASSOCIAT to the same value and the query is based on this application item:
<br><br>
if :P15_GESTOR_PROPIETARI='-3' then<br>
w:= w||' AND (("STASVWREPORT_TASQUES"."GES_GES_ID"=:GESTOR ';<br>
w:= w||'OR "STASVWREPORT_TASQUES"."GES_GES_ID_ESTA_ASSIGNADA"=:GESTOR)';<br>
w:= w||'OR ("STASVWREPORT_TASQUES"."AGR_***_***_ID"=<FONT color=red>:ASSOCIAT </FONT>';<br>
w:= w||' AND "STASVWREPORT_TASQUES"."PUBLICA"=''S''))';<br>
end if;<br>
<br> -
Advanced table:not able to view more than 10 rows when called from workflow
Hi everyone,
I'm calling a page that contains advanced table and its controller class from two places.
First one is from a inquiry form, when this page is called it works fine. when there are more than 10 rows, first 10 are shown on page render and when we click on Next link, other rows are shown. This is becuase I have given the records displayed property on adavanced table = 10. I'm fine till here.
Second one is I'm calling this page again from a workflow notificaiton. There is a link called view more details on the workflow notification , click of this link will open the page with 10 records displayed. But when user tries to click on Next it doesn't work. It just doesn't refresh.
Its very wierd,. not able to understand what could be wrong when calling from wf notificiton. Its the same page and conroller code used in both the places.
Please help me!!
Thanks
SunnyThanks for your response Kristofer. You are correct, there was a difference in the parameters and the issue is resolved now.
Maybe you are looking for
-
AS 2.0 to AS 3.0 coding help!
im new to flash and all this, so can someone please translate this code to AS3.0 coding, before i kill myself _root.onEnterFrame = function () if (_root.mouseX<50){ imgBar.prevFrame(); imgBar.prevFrame(); if (MovieClip(root).mouseX<550){ imgBar.next
-
Iphone 4s will not show in finder
iPhone will not show in finder **** it! Getting really upset by now.
-
Help canceled itune backup disc drive wont open??
Why wont my disc drive open to remove disc? I canceled the stupid itunes offer to back up my music and because said it'd take hours (Im an idiot I guess I didnt know it would take that long). Now my disc drive wont open I tried ejecting it by my comp
-
Is there any support for avery labels in Pages? Or 3rd party support?
-
Hello, In DataGrid of Flex 3, there is a property called "header" (that is a "DataGridHeaderBase"). I'm trying to use this, but don't work. Someone has an example of the use of "DataGridHeaderBase"? Thanks! Kleber