Export to Excel Hangs
It seems that under certain circumstances (presumably the number/size of the records set), the Export (of query results) to Excel hangs. In my case, the Export to xls slows down at about 9,000 records. If I open TaskManager, I see both sqldeveloper.exe and perl.exe (combined) consuming close to 100% CPU. Additionally, it doesn't seems that canceling the Export is possible (e.g. CPU remains pegged and you can't close the SQL Developer Window, becuase the Connection remains in use/locked). To "escape", I need to kill the sqldeveloper.exe and perl.exe processes via Task Manager. Is this a known issue? As a workaround, I found that I am able to export the same data set to a text file without any problems.
Hi,
This is a known limitation since at least the SQL Developer 2.1 release according to these two references:
Bug 7190115 - CANNOT EXPORT LARGE TABLE TO XLS FILE
Bug 7499213 - SQL DEVELOPER HANGS WHEN EXPORTING LARGE AMOUNT OF DATA
If you click on the Help button of the Export Wizard and scroll down a bit in the Help Center page, you will see a note something like this:
For exporting large tables to Microsoft Excel files:
- If you encounter problems, try adding the following line to the sqldeveloper.conf file to increase heap size and then restarting SQL Developer: AddVMOption -Xmx1024M
- If the number of table rows exceeds 65,536, SQL Developer writes the rows to multiple worksheets within the .xls file
But as an end-user, it's usually a losing battle trying to fight these virtual memory limit cases. Exporting to the csv file format also works fine, and Excel operates on those perfectly well. Just open it in Excel, then re-save it in xls format if you prefer.
Regards,
Gary Graham
SQL Developer Team
Similar Messages
-
Longer running export to Excel after BW7.3 upgrade & HANA migration
Experts -- I'm curious if anyone has encountered issues with longer running exports to excel from Web Analyzer after they upgraded to BW 7.3 and/or migrated to BW HANA?
We have encountered a very elusive issue with our users running into this issue where the export either hangs or returns a series of error messages. OSS has not been of help as the issue is unable to be consistently reproduced.
If you have any thoughts or ideas please feel free to contribute.
Thanks
JustinHey Sebastien - Thank you for the response. I work with Justin and can provide the additional information here:
By export what we mean is that users running BEx reports from our web portal are clicking on the 'Export to Excel' button and it is taking an extremely long time. This is happening even when the report result set is relatively small. We never had any issue prior to the upgrade.
There have been a few error messages reported, but this "Open Dialog" error is the most frequent.
We are very familiar with the 500,000 cell limit and these error are taking place on report output well below that limitation.
These reports do not use hierarchies.
Prior to 7.3 we were using 7.0 EP1 SP7
We appreciate any help or suggestions.
Thank you -
Oracle Applications 11i Export to Excel does not work.
The export button does not work. When I click on export it says complete but does not bring up a window asking me to save. I have pop up blocker off and the site added to trusted sites. I have tried everything I have found so far but no luck. Help would be much appreciated.....thanks!!!!
Please post the details of the application release, database version and OS.
The export button does not work. When I click on export it says complete but does not bring up a window asking me to save. I have pop up blocker off and the site added to trusted sites. I have tried everything I have found so far but no luck. Help would be much appreciated.....thanks!!!!Was this working before? If yes, any changes been done recently?
Can you reproduce the issue from other browsers/machines?
Can you find any errors in the database log file?
Please see these docs/links.
Troubleshooting Export and Attachment issues in Oracle Applications 11i [ID 338651.1]
Attachments and Exports, a Troubleshooting Guide [ID 135444.1]
Export To Excel: How To Activate Debugging? [ID 464469.1]
How to Troubleshoot Forms Hanging Using Export Functionality [ID 423261.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=Troubleshoot+AND+Export&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Troubleshooting+AND+Export&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Export+AND+Excel&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hyperion Financial Report Export to Excel Issue
Hello,
We recently upgraded to 11.1.2.1 and I have had several users tell me that they are having an issue when trying to export a report from the workspace into Excel. It hangs up their computer and they have to close down the browser and start over. I had a user today try exporting to Word and Power Point but they still had the same problem.
Unfortunately, there are not any error messages to share so hopefully someone else has seen this before and has a solution. I'm assuming it has to be an IE setting somewhere, but not sure where to start looking. Any assistance would be appreciated.
Thank you,
JasonMehmet,
Thank you for the quick response. It turns out this was something the users were doing. In 11.1.2.1 if a user does an export to Excel and when it asks do you want to save or open the file, if the user selects Open then a bunch of error messages popup and sometimes locks up the computer. We had instructed all of our users that they must first save the file, then open it and it should solve this issue for the time being. I had put a ticket into Oracle for this problem and they are still working on it. I will update again if/when they provide a more permanent solution.
Thanks,
Jason -
MSS Report Export to excel - ERROR - load: class query not found
Hi All,
I am navigating and getting error as follows:
Manger Services ->My reports -> Report Selection -> HIS Reports -> General -> Employee Details -> add some people and click start report -> report shows -> click local file -> save as spreadsheet get ERROR - load: class query not found in the status bar or IE and IE then locks up
Please reply if any one has some clue.
Thanks & Regards,
VishalHey Vishal,
This issue gave us a very hard time. The query was HRIS manager. when you add some attributes to be exported to excel and then select export. It hangs there. or hangs at the step where you select save as spreadsheet, OR after it where it runs a query to export.
I came to know that Java JRE is used in the last step. So for solving this issue, go to java.com, on the first screen there will be big link to install java(i guess JRE). install it and then try exporting your query. I am sure it will work.
Just notice that after doing installation of Java you will get coffee cup in you system tray.
Thanks.
Ankur.
P.S. Points if works. -
I'm working on a quote report which has narrative sections as well as a table. I can get the report to look great in the application but it has formatting problems once exported to excel.
In one of my narrative reports I have a simple table with a few columns. Once exported to excel the first narrative column is the entire width of the report table below it. The large cell row is also merged cells in excel.
Is there anything that can be done to help force how the report goes into excel?
I have also tried creating the report in a narrative html table to export into excel.Can someone explain if they face similar issues as I am when you export a report output on portal to Excel it takes huge size. I assume it because of all the color formatting etc. but is there a way to reduce this size. 3.5 Bex Analyzer same report takes only 3 MB while if I export it from portals it takes 32 MB.
-
After Export to Excel File error while opening using xmlwriter in silverlight
Can one help me in fixing following issue after to export to excel had done iam getting following error message
"The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
I tried by changing the file saving as .xls to .xlsx but it doesnt works.
Public Sub Export()
Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
Dim DataType As String
Dim DataValue As Object
'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
Dim XmlSettings As XmlWriterSettings
Dim ColumnBinding As Binding
Dim FieldName As String
Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
Dim ColumnIndex As Integer
Dim J As Integer
Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
Dim CommonUtil As New GoldCRM.Core.Common.Util
Dim PropertyInfo As System.Reflection.PropertyInfo
Dim CellFormat As String
Try
If m_DataGrid.Rows.Count = 0 Then Exit Try
XmlSettings = New XmlWriterSettings
XmlSettings.Indent = True
XmlSettings.NewLineOnAttributes = False
Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
With myXML
.WriteStartDocument()
.WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
.WriteStartElement("Workbook", ss)
.WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
.WriteElementString("Author", m_DocumentProperties.Author)
.WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
.WriteElementString("Created", m_DocumentProperties.Created)
.WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
.WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
.WriteElementString("Version", m_DocumentProperties.Version)
.WriteEndElement() 'Document Properties
.WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
.WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
.WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
.WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
.WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
.WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
.WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
.WriteEndElement() 'Excel Workbook
.WriteStartElement("Styles")
For I As Integer = 0 To m_Styles.Count - 1
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
If m_Styles(I).Name <> "" Then
.WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
End If
'ALIGNMENT LOGIC:
.WriteStartElement("Alignment")
If Not m_Styles(I).Alignment Is Nothing Then
If m_Styles(I).Alignment.Horizontal <> 0 Then
.WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
End If
If m_Styles(I).Alignment.Vertical <> 0 Then
.WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
End If
If m_Styles(I).Alignment.WrapText = True Then
.WriteAttributeString("ss", "WrapText", ss, "1")
End If
End If
.WriteEndElement()
'BORDER LOGIC:
.WriteStartElement("Borders")
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Bottom")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Left")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Right")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Top")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteEndElement() 'Borders
'FONT LOGIC:
.WriteStartElement("Font")
Dim myFont As Excel.Styles.Font = m_Styles(I).Font
.WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
.WriteAttributeString("ss", "Size", ss, myFont.Size)
.WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
.WriteEndElement()
Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
.WriteStartElement("Interior")
.WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
.WriteAttributeString("ss", "Pattern", ss, "Solid")
.WriteEndElement()
.WriteStartElement("NumberFormat")
.WriteEndElement()
.WriteStartElement("Protection")
.WriteEndElement()
.WriteEndElement() 'Style
Next I
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "DateStyle")
.WriteStartElement("NumberFormat")
.WriteAttributeString("ss", "Format", ss, "General Date")
.WriteEndElement() 'NumberFormat
.WriteEndElement() 'Style
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "HeaderStyle")
.WriteStartElement("Font")
.WriteAttributeString("x", "Family", ss, "Swiss")
.WriteAttributeString("ss", "Bold", ss, "1")
.WriteEndElement() 'Font
.WriteEndElement() 'Style
.WriteEndElement() 'Styles
'WORKSHEETS:
.WriteStartElement("Worksheet")
.WriteAttributeString("ss", "Name", ss, "WORKSHEET")
.WriteStartElement("Table")
.WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
.WriteStartElement("Column")
If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
Else
.WriteAttributeString("ss", "AutoFitWidth", ss, 0)
End If
If DataGridColumn.Width.Value <= 100 Then
.WriteAttributeString("ss", "Width", ss, 100)
Else
.WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
End If
.WriteEndElement()
End If
Next
J = 0
For Each DataGridRow In m_DataGrid.Rows
J += 1
If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
.WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, "String")
If DataGridColumn.Header IsNot Nothing Then
.WriteValue(DataGridColumn.Header.ToString)
Else
.WriteValue("")
End If
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J + 1)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
Dim DataCellValue As Object = Nothing
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
If PropertyInfo IsNot Nothing Then
DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
End If
End If
CellFormat = String.Empty
If DataCellValue IsNot Nothing Then
Select Case DataCellValue.GetType.Name.ToUpper
Case "BitmapImage".ToUpper
DataValue = "Image"
DataType = "String"
Case "Hyperlink".ToUpper
DataType = "String"
DataValue = "Hyperlink"
Case "Decimal".ToUpper
DataType = "Number"
DataValue = DataCellValue
Case "DateTime".ToUpper
If CType(DataCellValue, Date).Year > 1900 Then
DataType = "DateTime"
DataValue = DataCellValue
CellFormat = "DateStyle"
Else
DataType = "String"
DataValue = DataCellValue
End If
Case Else
DataType = "String"
DataValue = DataCellValue
End Select
Else
DataType = "String"
DataValue = String.Empty
End If
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
If Not CellFormat.Equals(String.Empty) Then
.WriteAttributeString("ss", "StyleID", ss, CellFormat)
End If
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, DataType)
.WriteValue(DataValue)
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
Next
.WriteEndElement() 'Table
.WriteEndElement() 'Worksheet
.WriteEndElement() 'Workbook
.WriteEndDocument()
.Close()
End With
End Using
Catch ex As Exception
Throw New Exception(ex.Message, ex)
Finally
If m_Stream IsNot Nothing Then
m_Stream.Close()
m_Stream.Dispose()
End If
m_Stream = Nothing
m_DataGrid.IsLoading = False
DataValue = Nothing
'DataView = Nothing
'ItemsSource = Nothing
XmlSettings = Nothing
ColumnBinding = Nothing
DataGridColumn = Nothing
End Try
End Sub
KrishnaHi,
i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please. -
Export to Excel Action in MS SSRS Report not exporting all data in Report
Hi,
I have developed a complex Report that has many expandable nodes in a table format. The report works fine.
However, when I export the Report to Excel using Actions --> export to Excel, only the data in expanded nodes is included. The data in collapsed nodes is not included.
I am looking for approach to include data in expanded nodes in Excel Export. The expanded data can be expanded in Excel.
Any help in this regard will be appreciated.Hi Abhijit PS,
Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
can reference to this similar thread:
lost collapsing columns when export to excel
Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
Article below about how to add Expand/Collapse Action to an Item for your reference:
http://msdn.microsoft.com/en-us/library/dd220405.aspx
If your problem still exists, please feel free to ask
Regards
Vicky Liu -
Exporting to Excel from Aria People Search
Is it possible to export to Excel from Aria People Search.
I would like to output the Org Chart (built in) and the Tree (I created) to an Excel file.
Does anyone know how to do this?
Thanks,
TomHi,
If you are using 10g, then OLE2 is supported. However, it will be executed in the App Server Machine.
If you want to do the operation in the Client machine (as how it was done in the Client / Server), you need to use Client_OLE (Which is part of WebUtil).
Look at
http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
for more details on WebUtil.
HTH.
Regards,
Arun -
I am working with Report Builder 3.0 I am using a matrix to produce grouped data on separate worksheets in excel.
The select is:
SELECT ID, Measurement, Value, [Date] FROM Measurements_Report. (please ignore the underscores they are just for formatting)
The contents of the Measurements_Report table:
ID__Measurement__Value__[Date]
1___Hot_________33_____10/1/2014
2___Hot_________44_____10/2/2014
3___Cold_________55_____10/2/2014
The matrix contains a single row group based on the field "measurement". The Measurement group has the page break option of "Between each instance of a group" selected.
There is a column group based on the field "Date".
When this is matrix is exported to excel on the first worksheet (Hot) there are three columns as shown below:
ID__10/1/2014____10/2/2014___10/2/1014
1___33
2_______________44
Notice the last column doesn't have a value.
On the second worksheet (Cold) there are also three columns as shown below:
ID__10/1/2014___10/2/2014___10/2/1014
3__________________________55
This time notice there is only one row and only a value in the last column.
I only want the columns with data for that worksheet to show up. How can I remove these empty/duplicate columns? Hopefully there is a simple fix. Thanks ahead of time.With the following contents of the Measurements_Report table:
ID__Measurement__Value__[Date]
1___Hot_________33______10/1/2014
2___Hot_________43______10/1/2014
2___Hot_________44______10/2/2014
3___Cold________55______10/2/2014
Returns on the first tab (Hot):
ID__10/1/2014____10/1/2014____10/2/2014
1___33
2_________________43
2______________________________44
In the excel worksheet it contains a separate column for each date with a value. Thanks again!
Why is the same date repeating on multiple columns? Do you've the time part also returned from database?
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Issue with export in Excel in WAD
Hi
I have an issue with export to excel in WAD. I have a web template with two or more tabs.
On the webtemplate I have two buttons to export to excel. One to export the content from the active tab and one button to export content in all tabs.
My problem is that when I export to excel it always add the current/active content twice. I've tried with both buttons and they work as expected except that they export one table to much (the active).
can anyone help / give a clue what to look for.
br,
John
Edited by: John Dolph on Apr 15, 2010 10:50 AMHi
Sorry I has been a while but the problem still occurs,
I've defined my export button group like this in a seperate template and I expected that it would only return the resultset from TAB_A and TAB_B but it also export the resultset from the tab I'm currently on.
<bi:TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS" />
<bi:BUTTON_GROUP_ITEM name="TAB_BUTTONs" designheight="23" designwidth="300" >
<bi:BUTTON_LIST type="ORDEREDLIST" >
<bi:BUTTON type="COMPOSITE" index="2" >
<bi:CAPTION value="EXCEL" />
<bi:TOOLTIP value="Table, Graph and/or Table/Graph download to PDF" />
<bi:ACTION type="CHOICE" value="INSTRUCTION" >
<bi:INSTRUCTION >
<bi:EXPORT >
<bi:ITEM_REF_LIST type="UNORDEREDLIST" >
<bi:ITEM_REF index="1" value="TAB_A_ANALYSIS" />
<bi:ITEM_REF index="2" value="TAB_A_CHART" />
<bi:ITEM_REF index="3" value="TAB_B_ANALYSIS" />
<bi:ITEM_REF index="4" value="TAB_B_CHART" />
</bi:ITEM_REF_LIST>
<bi:EXPORT_FORMAT value="XLS" />
</bi:EXPORT>
</bi:INSTRUCTION>
</bi:ACTION>
</bi:BUTTON> -
Export to excel and others inactive in ALV GRID
Hi,
I am creating a report using the 'REUSE_ALV_GRID_DISPLAY' FM and the export to excel fucntionality is inactive. There is no spreadsheet push button on the application toolbar and the List->Export sub menu items 'Word processing' 'spreadsheet' and 'local file ' are all inactive. I have tried to run the code on a different system and the export to excel functionality works there. I am considering creating a new GUI staus using the standard status contained in the function group of 'REUSE_ALV_GRID_DISPLAY' but will like to know if this issues can be remedied e.g is it probably a basis issue or a configuration issue e.t.c.
Thanks
Andy.Hi Max,
Checked the PF_STATUS_SET routine and there was code that deactivated all gui download function codes of the standard gui status if an authorisation check failed ( auth obj. S_GUI) but the function code for excel export is &XXL not &VEXCEL.
Thanks for the prompt reply max, much appreciated
regards
Andy. -
Running report with alv grid in background and exporting to excel
Hi Guys,
I've created a report program that uses the alv grid. When I run the report in foreground, I can easily export it to excel. However, if I run it in background, then display the spooled report and try to export to excel, it does not put it in excel format (seems to go over as one big column rather than individual columns that are defined in the report). Is there a way to run it in background ,export to excel properly and i have to email also in Excel sheet format.?
Thanks,
Gopi.In background u cannot do a download to excel. you can do is create CSV format file
or
write a report for output with tabs then call that report using
submit yXXXX exporting list to memory
and return.
call function 'LIST_FROM_MEMORY'
tables
listobject = report_list
exceptions
not_found = 1
others = 2.
and send the report_list to email users
a® -
Header of ALV with space when exported to excel using Standard ALV
Hi,
I am Using Reuse alv grid display to dispaly my report and it works fine and I am using the standard SAP application tool to export it to excel.
But for some of the header fields I am getting space in the excel sheet but there is no space while displaying through ALV.
I am using the following field catalog for the same.
wa_fieldcat-col_pos = 10.
wa_fieldcat-fieldname = 'SOLLWERT'.
wa_fieldcat-seltext_l = 'text-t10'. "Target value (* this has no space here)
wa_fieldcat-outputlen = 32.
wa_fieldcat-colwidth_optimize = 'X'.
APPEND wa_fieldcat to it_fieldcat.
but there are still space for this Colomn when exported to excel if after optimizing the column.
kindly suggest what field needs to be passed to the field catalogoe to avoid spaces in excel for the header.
Thanks
Riteshhey all,
Thanks everyone for the reply.
I am using the foloowing field cat:
l_col_pos = l_col_pos + 1.
wa_fieldcat-col_pos = l_col_pos.
wa_fieldcat-outputlen = 32.
wa_fieldcat-fieldname = 'SOLLWERT'.
wa_fieldcat-inttype = 'P'.
* wa_fieldcat-tabname = 'i_final'.
wa_fieldcat-seltext_l = text-t11. "Target Value
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
I have use this also in the field cat but stil i get space in the excel header.
wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
* wa_fieldcat-REF_TABNAME = 'QAMV'.
Also the space comes with the descrip[tion in the cell of excel.
its like [space Target Value] and i dont need this Space.
I have also used wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
Please suggest -
We just upgraded from Crystal 8.5 to Crystal 10. When we export to Excel, the formatting is terrible. We have close to 100 reports that we routinely export...some with 40,000 rows. To try to fix these once they're in Excel is out of the question.
In previous threads I've been reading about a "patch" that supposedly fixes this. Where can I download this?
Eric HillThe way reports work and export changed significantly in CR 9. While there was a dll available to help move from CR 8.x to CR 9, that dll is no longer available. Not for CR 9, nor any other versions of CR. Instead, you will have to modify your reports as per the article [Crystal Reports Designer Version 10 Exporting to Microsoft Excel|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/10d3ba69-951e-2b10-3093-e3cf287a57c9?quicklink=index&overridelayout=true].
No other work-arounds or options exist at this time.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Maybe you are looking for
-
I just got a nano 7th generation but came in chinese language and don't understand
Hi I new at this, I just got the nano 7th generation. Took it out of the package and discover that is in chinese language and don't understand and don't know which one of the setting in the one for changing the language. Can anyone help one Annie
-
Cannot preview file- need latest adobe version
Hello: Whenever I try to view a file that I download or share on acrobat.com. This message come up: After I click "preview", the another message appears telling me that I need to download the latest version of adobe reader to view the file. The lates
-
Dear Experts, I have an issue with tax classification of material master , In MMR i have maintained three tax categories ,with deffreent tax classifiaction , and i want to access record of only one last 3rd tax classifiaction from MMR in sales or
-
Firefox look for unknown page when opened
My home page is Netscape/Aol but when I open Firefox I get this "error msg" that says Firefox cannot find /C:/Program Files/WiCenter Basic/wmd/wmd.html. I then have to click my homepage icon to bring it up. Although I use WiCenter for my printing nee
-
Read all Files from a Folder on Server
Hi, Can anyone help me in finding if there's any way to read all files in a folder on the server?Any Function module or anything. Thanks