Export large field to Excel
I'm attempting to export large field defined as 4000 characters(but not always this size) to Excel. I'm not using the builtin export. I'm using custom csv export. The problem I have is trying to keep the formatting(cr return, line feeds) when data is in excel.
You may want to look at using XML Publisher to create an export to Excel. Perhaps someone else has a good way to do it natively in APEX. In any case you can do some fancy stuff with XML Publisher.
Mike
Similar Messages
-
How to export hidden field to Excel (CSV)
Hi,
I would like to export my report to Excel. There are some hidden fields (lat modification date of the record, primary key column etc.) that are not displayed on the screen but the user would like to have it in the export output.
Can I persuade Apex to export not only displayed items to the CSV file? Currently Apex seems to ignore all report columns that are not displayed.
TamasHi Shijesh,
I have an interactive report column that I do not want to be part of my csv export.
Is there a way I can do that similar to your reply below .
I tried this :
apex_application.g_excel_format = FALSE thinking that it would show up on the report but not be included in the export but it did not work.
Sorry to bump it in this post but I started a new post but haven't found any reply.
Also are these documented somewhere for reference ?
Thanks,
Dippy -
Exporting large report to Excel format (90K lines)
Hi,
I am trying to export a 90K line report to excel format and I get that error messsage:
Description : Une erreur d'application s'est produite sur le serveur. Les paramètres d'erreur personnalisés actuels pour cette application empêchent l'affichage à distance des détails de l'erreur de l'application (pour des raisons de sécurité). Cependant, ils peuvent être affichés par les navigateurs qui s'exécutent sur l'ordinateur serveur local.
Détails: Pour permettre l'affichage des détails de ce message d'erreur spécifique sur les ordinateurs distants, créez une balise <customErrors> dans un fichier de configuration "web.config" situé dans le répertoire racine de l'application Web en cours. Attribuez ensuite la valeur "off" à l'attribut "mode" de cette balise <customErrors>.
<!-- Fichier de configuration Web.Config -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Remarques: La page d'erreurs actuellement affichée peut être remplacée par une page d'erreurs personnalisée. Pour ce faire, modifiez l'attribut "defaultRedirect" de la balise de configuration <customErrors> de l'application, de sorte qu'il pointe vers une URL de la page d'erreurs personnalisée.
<!-- Fichier de configuration Web.Config -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
I believe it is a timeout problem. Any idea how work around this?
Thanks,I don't have the right to create reports. With those datas, I need grouping them filtering them, commenting them, creating TCD and distributing it. I believe it is easier exporting it and handle it. Also I don't want the data changing from day to day.
Then you are foobar'ed.
there is nothing more you can do it the SSRS export feature is not working for you, and you don't have access to the CM12 db and you can't create report. There are no other option to access the data.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Export Project Tasks to Excel using VBA by Custom Field
Question referring to the link:
http://social.technet.microsoft.com/Forums/projectserver/en-US/9c46458c-893f-41ba-bd46-bdb59c533f4a/export-project-tasks-to-excel-using-vba-by-custom-field?forum=project2010custprog
Help needed. I have inserted my question at this address for Andrew or anybody else to reply. Hope to hear from you.
Regards,
ChuckThank you Andrew for getting back to me and I have found somewhere on the net the following macro that would do the job for the version 2007. Here is a copy for those that may need it.
Option Explicit
Sub CreateMenus()
Dim cbrMain As CommandBar
Dim ctlMain As CommandBarControl
Dim ctlOLExport1 As CommandBarControl
Dim ctlOLExport2 As CommandBarControl
Dim ctlOLExport3 As CommandBarControl
Set cbrMain = Application.CommandBars.ActiveMenuBar
Set ctlMain = cbrMain.Controls.Add(Type:=msoControlPopup, Temporary:=True)
ctlMain.Caption = "Export to Outlook"
Set ctlOLExport1 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
With ctlOLExport1
.Caption = "Selection to Outlook tasks"
.OnAction = "Macro """ & "Export_Selection_To_OL_Tasks"""
End With
Set ctlOLExport2 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
With ctlOLExport2
.Caption = "Selection to Outlook appointments"
.OnAction = "Macro """ & "Export_Selection_To_OL_Appointments"""
End With
Set ctlOLExport3 = ctlMain.CommandBar.Controls.Add(Type:=msoControlButton)
With ctlOLExport3
.Caption = "Selection to Outlook notes"
.OnAction = "Macro """ & "Export_Selection_To_OL_Notes"""
End With
End Sub
Cheers!
Chuck -
Export PDP of (Project Fields) to excel
Hi ,
How do I export PDP of (Project Fields) to excel.
I am using project server 2013.
Thanks,
RohitHi Rohit,
Indeed we'd need to have more information. Do you want to export the list of the custom fields on a PDP? With ou without the values? Or do you want to have the list of values of a PDP's custom fields?
Is it a "one-shot" need which could be addressed manually or it is a recurring need that requires a report?
Just selecting the fields in the PDP in read-only mode and doing a copy-paste in Excel will give you the custom fields with the values selected in the PDP.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
During export from Discover to Excel, Time Format changes to Number Format
Hi
I have a seconds column which is of number datatype. But in my report, I am converting the number in *0HH:MI:SS* format. For example, I have *4952534 seconds*. So my report is showing *1375:42:14* which is a Time Format. It looks good when I view the data in Discoverer Viewer or Plus. But when I try to export the data to Excel, the time format gets converted to *4952534 seconds*, which is creating problems. So can you suggest on how can I preserve the formatting during export to excel from discoverer.
Thanks
SachinHi,
Excel will not implement the 0HH:MI:SS data format, it just gets the field as a number. You will have to format the field into text using the calculation from my previous post.
Rod West -
Error while Exporting large data from Reportviewer on azure hosted website.
Hi,
I have website hosted on azure. I used SSRS reportviewer control to showcase my reports. while doing so i faced an issue.
Whenever i export large amount of data as Excel/PDF/word/tiff it abruptly throw following error:
Error: Microsoft.Reporting.WebForms.ReportServerException: The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
--- End of inner exception stack trace ---
at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection urlAccessParameters, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension)
at Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
It works locally (developer machine) or having less data. But it didn't work with large data when publish on azure.
Any help will be appreciated.
Thanks.Sorry, let me clarify my questions as they were ambiguous:
For a given set if input, does the request always take the same amount of time to fail? How long does it take?
When it works (e.g. on local machine using same input), how big is the output file that gets downloaded?
Also, if you can share your site name (directly or
indirectly), and the UTC time where you made an attempt, we may be able to get more info on our side. -
Exporting form data to excel help
Hi there,
I have created an interactive form using Livecycle Designer that comes with Adobe 9 Pro. Forms will be download from a website, completed and emailed back to me. I'm having trouble trying to export the data to excel. Whilst it lets me export data to excel it does not appear in the logical order as it is on the form. I'm not sure how to fix this and/or if its possible to only have certain fields displayed in excel?
Is it also possible to automate the process so that data in completed forms that i save will update the inforamtion in excel?
Any help greatly appreciated, I'm new to forms.
Windows XP
Adobe Acrobat 9 Pro
Microsoft Excel 2003
Thanks,
KenYou probably need to ask in the LiveCycle forum since this is a Designer issue I think. If you are doing the export from Acrobat, then list the steps you are using. However, the field order and such are going to be set by Designer.
-
Hello Experts,
We want to export line items from a contract in SRM adding additional fields in the excel document, this because in description we have the 40 characters limit and our services description is bigger, so we are adding the long description in the NOTE section, but we need to export this to the excel document to add this to the legal contract.
Is there a way to do it? or any ideas of a workaround?
I would really appretiate your help
thanks in advance.Hi,
why don't you try with a custom program? Do you want to use standard export button functionality?
thanks,
sankar. -
CR XI R3: Issue exporting shared variable to Excel - with workaround
Hi,
I have a report that uses a subreport to calculate a field based on the existance (or not) of data in a database other than the main report database. When I use a shared variable to pass this field back to the main report and display it on a detail line (in the main report), it works fine - until I try to export the report to Excel. When exported, the value that gets exported on all detail lines of the report is the final non-blank value of the shared variable, not the value that it contained when the detail line was initially generated. I am using a shared variable because there are multiple values that I want to pass back to the main report.
Luckily, only one of the shared variables are being printed, so the workaround that I am using is to use the subreport to print the field instead of passing the value back in a shared variable and displaying that (and hiding the subreport on a separate format).
Is this a known issue with R3 exporting to Excel? (It was happening in R2 as well...)
HTH,
CarlSimplified somewhat, what this report is doing is looking up open orders in one database and checking to see if something specific happened to it in another database. If so, it generates the XML that needs to be applied to the first database to update it. The XML references the order number and line number. What I mean is that instead of the data coming out as
Order Line XML Snippet
12345 1234 ...<order>12345</order><line>1234</line><status>received</status>...
22345 2234 ...<order>22345</order><line>2234</line><status>received</status>...
32345 3234 ...<order>32345</order><line>3234</line><status>received</status>...
42345 4234 ...<order>42345</order><line>4234</line><status>received</status>...
I get
Order Line XML Snippet
12345 1234 ...<order>42345</order><line>4234</line><status>received</status>...
22345 2234 ...<order>42345</order><line>4234</line><status>received</status>...
32345 3234 ...<order>42345</order><line>4234</line><status>received</status>...
42345 4234 ...<order>42345</order><line>4234</line><status>received</status>...
I have Base Column Widths on Details, so there should be no merging attempted, but I'll check and make sure.
It seems to me, though, that the DLL is being told the wrong value to export...
Carl -
Exporting Asset Informations to Excel
Hello,
transaction : S_ALR_87011963 (Asset balances)
User want to export asset information on excel with the icone "Microsoft Excel" (Ctrl + F7), but when the user click on the excel file icon he has a report concerning programs.
I know that there is another way to export to excel (List -> export ...), but i want to understand why it doesn't work for that user ?
Thank you in advance for your help
FerdawsHi Ferdaws,
Have a look at following SAP note:
696069 No data when view Excel Inplace on ALV with Office 2003/XP.
Please ensure that security settings/options for Visual Basic project
and Macros are set according to note 696069 attached.
696069 No data when view Excel Inplace on ALV with Office
Othere notes that may provide some helpful information in addition:
635011 ALV: Excel inplace - large datasets
567053 ALV view: Message 0K 413 for ALV print and backgrou
552915 Empty worksheet when using Office XP in ALV
550563 ALV View: Inc. message 0K 407 with missing authorization
548409 ALV view: Consulting note on Excel Inplace/Template
534624 ALV view: Consulting
I hope this helps.
Kind regards,
Brigitte -
Download specific output fields to excel
Hi All,
We have a report program that downloads an excel file having about 60 output fields. The program has no ALV output.
Everytime we do not require these 60 fields to be shown in output excel. we need specific output fields in excel and those specific fields could be dynamic.
Is there any way to download specific output fields in excel as we do in ALV variant.
In alv, we can achieve this through a layout variant in selection screen and download the alv output in excel. But we dont require alv to download excel from there.
Thanks,
Srilakshmi.Hi
Something like this:
DATA: BEGIN OF t_layout OCCURS 0,
mark TYPE c,
fieldname LIKE dd03l-fieldname,
END OF t_layout.
TYPE-POOLS slis.
DATA: gt_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA: lt_report TYPE sy-repid.
DO 60 TIMES.
t_layout-fieldname = 'Field'.
MOVE sy-index TO t_layout-fieldname+6.
APPEND t_layout.
ENDDO.
lt_report = sy-repid.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = lt_report
i_internal_tabname = 'T_LAYOUT'
i_inclname = lt_report
CHANGING
ct_fieldcat = gt_fieldcat[].
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Field List'
i_zebra = 'X'
i_checkbox_fieldname = 'MARK'
i_tabname = 'T_LAYOUT'
it_fieldcat = gt_fieldcat[]
TABLES
t_outtab = t_layout.
LOOP AT t_layout WHERE mark = 'X'.
WRITE: / t_layout-fieldname.
ENDLOOP.
Max -
Hi all,
I'm trying to figure out if it's possible to export specific fields (but not necessarily all fields) from an editable PDF form (made in Acrobat X Standard) to specific cells in Excel? (Excel 2010 version)
Some guidance on how to do it would be appreciated, but at the moment I'm really just trying to confirm if it's even possible.
Thank you,
MarkIt's possible. If you use the doc.exportAsText JavaScript method, you can choose to export just certain fields. This method creates a tab-delimited file that can be imported into a spreadsheet. For more information, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.460.html
-
I am trying to export a PDF to Excel but it just says loading and doesnt go any further?
When I try to export a PDF to Excel it just saying "loading" it will not go past that am I doing something wrong?
Hi kymperez2010,
I'm sure you're doing nothing wrong. Please try the following:
Clear the browser cache, and log back in to https://cloud.acrobat.com/exportpdf
Make sure that you're using a supported web browser (see System Requirements | Adobe Acrobat Pro and Online Services).
Make sure that the file you're trying to convert is 100 MB or smaller (even if you are working with a smaller file, if the PDF has a large number of pages, it may be too complex for the ExportPDF service to convert before timing out.
Try a different PDF to check whether you're able to convert any PDFs in general.
Let's start there. Please let us know how it goes.
Best,
Sara -
How to export table data to excel in albpm
Hi,
we have an requirement to export table data to excel .
we have to create an jsp in that jsp we have to have text fileds,we have to enter data to field after that we have to click on save once u click on save that data has to enter in below table and we should provide link to export that table data to excel.
this is our totatl requirement.can u please suggest me how to do,i dont have any idea..
Regards,
Sharmila
Edited by: user12171025 on Nov 5, 2009 8:44 PMHi Daniel
Please have a look at below docs :-
/people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
http://wiki.sdn.sap.com/wiki/display/WDJava/ExporttoExcel(WithoutthirdpartyAPIs)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d01854fd-1579-2c10-63ad-dd62edca2381?quicklink=index&overridelayout=true
Regards
Arun Jaiswal
Maybe you are looking for
-
Camera RAW 4.6 plug-in for CS3 on Mac - download problem
When I download and try to install Camera RAW 4.6 on my Mac (OSX 10.7.5, Safari browser) I get the following message "Could not complete your request because photoshop does not recognize this type of file." Suggestions?
-
I use Mobile Me and sync everything through that, so I've deselected the check boxes in iTunes to avoid duplicates. However, since new iTunes update, new Notes do not get synced - and in fact get deleted from my iPod! I've checked settings in online
-
When I try to open my iTunes, that is the message I get. Is there any way to fix this without uninstalling my iTunes and reinstalling it?
-
Applying transitions to multiple slides
How do I set a transition to apply it to a number of slides without doing them one by one? I've tried selecting one then scrolling down, holding down the shift key and selecting another - which highlights all the slides between. However, when I click
-
Firefox not saving tabs/windows to reopen next session
Whenever firefox crashes, a page saying "Ooops this is embarrassing" appears, letting me restore the previous session. However, ever since a recent crash, it hasn't appeared anymore whenever it crashes, and I lost all the tabs I had opened because of