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.
Similar Messages
-
Export to Excel and Save as Static File
Hello all,
When I export to excel from SharePoint 2013, and save the file, the data remains dynamic in that if I update the list in SharePoint it will update the data in Excel. This is great and I use it in a few places, but I also need to capture a point in time and
save the exported Excel file as static data (i.e. Export to Excel, and Save as the Q3 Report). How can I save the file as static/remove the dynamic link so I just have the data at the time of export?
Thanks!
K.
Personal Blog: http://thebitsthatbyte.comHi Kelly,
According to your description, my understanding is that you want to export to excel as a static file.
In SharePoint, when you export list to excel, it works as a one-way sync. It can sync data from SharePoint to Excel. If you don’t want to sync the data from SharePoint, you can copy the data from the exported excel file to a new excel, then save the new
excel file.
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
I have table in a jsp and an export button. When user clicks on the export button the data in the table should be exported to either text, csv or excel depending on the option user chhoses. Can anyone help me with this? How to export to excel and csv format.
Hi arthur_branham,
I really liked the way you have replied. Can you pleae share the code with me at [email protected] below is my problem...
I had data in XML.I have displayed the data in jsp. Now i need to provide a link "Export to Excel" in jsp which will invokea servlet prepare the excel report and open up directly through a servlet....
I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
This is my code in servlet...
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet spreadSheet = wb.createSheet("Users");
spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
// Creating Rows
HSSFRow row = spreadSheet.createRow(0);
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue("Year 2005");
cell = row.createCell((short) 2);
cell.setCellValue("Year 2004");
HSSFRow row1 = spreadSheet.createRow(1);
HSSFCellStyle cellStyle = wb.createCellStyle();
cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
cell = row1.createCell((short) 0);
cell.setCellValue("Revenue ($)");
cell = row1.createCell((short) 1);
cell.setCellValue("25656");
cell = row1.createCell((short) 2);
cell.setCellValue("15457");
FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
ServletOutputStream out = response.getOutputStream();
wb.write(output);
output.flush();
output.close();
forward = null;
In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
1)If possible help me with the above code.
2)Or else plz sahre you code with me...
Its urgent....
Thanks in advance... -
Export to Excel and File Upload is not working on ipad/IPhone
Hi
We have a site in ASP.Net 2008 which is running on browsers and devices. There is an option to export to excel and file uploadd, It is working in the browsers but not working in Devices like IPad and Iphone. we are creating xml file when export to excel. We have tried it on IPad1,IPad3 and iphone3.
can you please elaborate the causes of these issues? Pleas support to fix the issues.
Regards,
ManojHow does your PL/SQL for the saving of uploaded files looks like? Where does this error happen? Does your process have an error message?
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How to Export to Excel and Pdf
Hi,
I displayed the data into table using JSP page.
I am creating two buttons as one is Export to Excel and 2nd one is Export to Pdf. If i click Export to Excel button then the table data has to Export to Excel sheet. and same to to Pdf also.
Can you please send me the corresponding code
It's very urgentCan you please send me the corresponding codereally ???
It's very urgentindeed...
See:
- iText (pdf) => www.lowagie.com/iText/
- POI HSSF (excel) => http://poi.apache.org/hssf/index.html
hope that helps -
Report Generate to File PDF, HTML,Excel and Others Format
Dear Experts,
I am using Oracle 9i and Developer 6i. How I convert report in PDF, HTML, Excel and others format after generating the report. When i try to generate, then giving the following error message:
REP-0999: Unimplemented Error.
How can I solve it, Please help me.Do the column headings display ok but the data does not?
If so it may be related to the font size. i.e. the whole report may not fit on the page when scaled for pdf output. -
I would like to upgrade OSX on MacBook Pro but when I try to go to Yosemite I get message Word, Excel, and other apps will not run. How can I upgrade and still run my older apps?
Apple Support Communities / Desktop Computers / Mac Pro
MacBook Pro
Mac OS & System Software -
Need to add Header and footer in an alv grid display output.
How can I add header and footer in an alv grid dispay output.
For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".HI,
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE'
i_callback_html_end_of_list = 'END_OF_LIST_HTML'
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
FORM end_of_list_html USING end TYPE REF TO cl_dd_document.
DATA: ls_text TYPE sdydo_text_element,
l_grid TYPE REF TO cl_gui_alv_grid,
f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
ls_text = 'Footer title'.
adds and icon (red triangle)
CALL METHOD end->add_icon
EXPORTING
sap_icon = 'IL'.
adds test (via variable)
CALL METHOD end->add_text
EXPORTING
text = ls_text
sap_emphasis = 'strong'.
adds new line (start new line)
CALL METHOD end->new_line.
display text(bold)
CALL METHOD end->add_text
EXPORTING
text = 'Bold text'
sap_emphasis = 'strong'.
adds new line (start new line)
CALL METHOD end->new_line.
display text(normal)
CALL METHOD end->add_text
EXPORTING
text = 'Nor'.
adds new line (start new line)
CALL METHOD end->new_line.
display text(bold)
CALL METHOD end->add_text
EXPORTING
text = 'Yellow '
sap_emphasis = 'str'.
adds and icon (yellow triangle)
CALL METHOD end->add_icon
EXPORTING
sap_icon = 'IC''.
display text(normal)
CALL METHOD end->add_text
EXPORTING
text = 'Mor'.
*set height of this section
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = l_grid.
CALL METHOD l_grid->parent->parent->(f)
EXPORTING
id = 3
height = 14.
ENDFORM. "end_of_list_html.
This will solve it. Post if you need more help in this.
Regards,
Madhu. -
Pack and Integer type in ALV grid
Hello,
Can anyone give a small example of how to display fields of type I and P in an ALV grid. Using the alv grid FM and manually filling the fieldcatalog.
Thanks for your help.Hi Moussa Khelifi ,
u can manually fill fieldcatalog like this..
form manual_filling_fieldcatalog.
X_FIELDCAT-FIELDNAME = 'ATWRT'.
X_FIELDCAT-TABNAME = 'TB_FINAL'.
X_FIELDCAT-SELTEXT_L = 'Source of Supply'(001).
X_FIELDCAT-DDICTXT = L_DDICTXT.
X_FIELDCAT-FIELDNAME = 'MATNR'.
X_FIELDCAT-TABNAME = 'TB_FINAL'.
X_FIELDCAT-SELTEXT_L = 'MATERIAL'(002).
X_FIELDCAT-DDICTXT = L_DDICTXT.
APPEND X_FIELDCAT TO TB_FIELDCAT .
endform.
u can directly pass the table to 'REUSE_ALV_GRID_DISPLAY'
regardless of type p or i fields in it.
Regards,
kiran B -
2013 Excel WFservlet.xls check exports to Excel and opens blank Windows 7 Ent
HI All,
I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
sites in IE. I reset the browser and deleted history with all options selected.
In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
I also did
Open your Registry (Start -> Run -> regedit.exe)
Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
Right click in the right window and choose New -> DWORD
Type “ExtensionHardening” as the name (without the quotes)
Verify that the data has the value “0″
No luck.
If I log into the computer as local admin or my domain account it still opens blank.HI All,
I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
sites in IE. I reset the browser and deleted history with all options selected.
In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
I also did
Open your Registry (Start -> Run -> regedit.exe)
Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
Right click in the right window and choose New -> DWORD
Type “ExtensionHardening” as the name (without the quotes)
Verify that the data has the value “0″
No luck.
If I log into the computer as local admin or my domain account it still opens blank.
The file will open in Chrome but I am wondering if that's because Chrome downloads the file as if I choose to save the file opens fine. I am going to run the OffCAT will post my findings.
Thank you! -
Issue with SSRS Report Exporting to Excel and word
Hi,
When report is exporting in word and Excel getting format issue, but same report export with pdf there is no issue.
Regards,
AfrozYou need to be always careful when export format is Word and specially Excel. Sometimes report result looks good in Report Viewer and PDF too, but it may not in MS Word and MS Excel.
You need to understand Word and Excel limitations and align all the data regions (Tablix, Rectangles, Texboxes) in correct way.
Also, you may post the actual formatting issue that you get. (With screenshot if possible)
Please read Limitation section in below:
Exporting to Microsoft Word
Exporting to Microsoft Excel
Refer:
Ten Common SQL Server Reporting Services Challenges and Solutions
-Vaibhav Chaudhari -
Ssrs 2008 export to excel and csv file
In a ssrs 2008 report, the user will export data to PDF, excel, and CSV files. When the report is exported to excel or csv file, the user wants me to hide some tablixes. Thus can you show me code on how to export the reports to csv or excel file without
and be able to hide a few tablixes?Hi jazz_dog,
According to your description, you want to set the visibility for some tablixes based on the exporting file type. Right?
In Reporting Services 2008, we don't have any parameter to get type of exporting file. So we can only create a parameter and select a type before exporting to a file. Then use conditional expression to control the visibility. It's definitely not a good workaround,
so your goal can't be achieved in Reporting Services 2008. However, for Reporting Service 2008R2 or later version, we have a build-in parameter called Render Format Name, this parameter will display the type of exporting file automatically. So we can make
the judgment in expression based on the value of this parameter.
Reference:
Built-in Globals and Users References (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Quick Functions, export to Excel and variable screen pop up do not function
We have put the following in place in our environment.
http://help.sap.com/saphelp_nw70/helpdata/en/45/2f76471ca96d7be10000000a114a6b/content.htm
Integrating into an SAP NetWeaver 2004 Portal (SAP EP 6.0).
The creation of the iview using the SAP BW Report iview template using version SAP NetWeaver BI (7.0) is successfull and the report is generated correctly. The problem occurs when we try to use the Quick Function - Export to Excel. At this point nothing happens. Another example is when we access the context menu and try to access the variable screen there are no popups. When the report is executed on our SAP EP 7.01 system the same reports functions properly. I am operating with all authorization so I believe this is not the issue. Any assistance will be greatly appreciated.
Regards,
BrianHello,
Please check SAP Note No. 1591929 for the solution.
If this does not help then verify your portal set-up is correct with the supportdesk tool as per note 937697.
Regards,
Michael -
Is there a way to export a report to more than one option?
In other words, I need to be able to provide an option to
report to excel and report to a txt file in a tilde-delimited format.I too am asking if there is an API to do things like this -
i imagine I could run a trace and see what it does .... -
Messy format exporting to excel and text/html
Need help please....i'm in the middle of problems, i'm developing application that can exporting reports to some formats like pdf, excel, and text/html. it is become a problem when i exporting it to excel or text/html, the format are so messy... I'm using POI library 2.0 when exporting to excel. My codes are simply like this :
try {
response.setContentType(type);
if ("application/vnd.ms-excel".equals(type)) {
exporter = new JRXlsExporter();
exporter.setParameter(JRXlsExporterParameter.JASPER_PRINT,jasperPrint);
exporter.setParameter(JRXlsExporterParameter.OUTPUT_STREAM,response.getOutputStream());
else if ("text/html".equals(type)) {
exporter = new JRHtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT,
jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_WRITER,response.getWriter());
is it just because the library? or i have to add some additional code before jasper reports execute it? thanks a lot for the answers....
Message was edited by:
darma_sadha
Message was edited by:
darma_sadha
Message was edited by:
darma_sadhaFirst, you forgot to tell what the problem is. Second: this is not a Jakarta product support forum. POI has a mailing list of its own. Go ask them.
Maybe you are looking for
-
Need help to reduce execution time for a procedure
the following procedure takes to long to execute and the server times out. each individual select works perfectly. It does not have to do with the SORT_AREA_SIZE/PGA_AGGREGATE_TARGET not being large enough. Possible rewriting it in funcions might hel
-
Screen resolution MSI Nvidia Gtx 960 Gaming 2 GB
i have a BenQ GL2750H and MSI Nvidia Gtx 960 Gaming 2 GB PCI-E Graphics Card but when my screen is at 1920x1080 (recommended) the picture, task bar goes off screen ? is it a bad card ? or my screen doesn't work with it ? i have attached a picture
-
Grid control shows process down but process is up
How can I correct this issue? the processes are running, but grid control shows them down, is there a manual refresh that needs to be done?
-
All, We have a file input which has around 500K records. These records needs to be translated against a legacy system. The legacy system tells how many records it can accept in a single call during the handshake call and it varies from time to time.
-
Does apple provide professional Installation for new hardware?
I want to know if i can bring my Imac 21.5 mid 2014 for new hard drive installation to an apple store. Is there a service for that? I know they have a repair service, does it provide for that as well? I do have applecare coverage, I'm not sure if tha