Problem in downloading excel sheet
Hi All,
We have a WD Java application, where in one screen we are displaying a few records in a table. We also have a option to download and save the data in the form of a excel sheet on the click of a button.
Now the problem is, the downloding to excel option is working fine if we use IE version 6.0. If we use teh same application in IE 8 just a empty window is opening.
What can be the problem for this? Is there any settings that needs to be made in IE 8 or the problem is with the code?
Regards.
Hi Becky,
I think browser version is an issue, may be the JAR file which you are using for excel work may be not compitable with the IE's version.
Let me explore and will get back to you.
Deepak!!!
Pls find below comment from Armin from SAP:- you have to look for WD patch for this if sap has already released...:)
Armin Reichert
Posts: 5,186
Registered: 2/14/04
Forum Points: 10,001
Re: Webdynpro not supported by IE8
Posted: May 12, 2009 10:56 PM in response to: Rocío Lorena Su... Reply
IE8 will certainly be supported in the future as soon as the tests have been passed succesfully. Only those browsers/versions mentioned in the PAM are supported officially for the different Web Dynpro versions.
Armin
Edited by: Deepak Arora on Jan 7, 2010 7:52 AM
Similar Messages
-
Have a pushbutton on downloaded excel sheet from SAP
Hello
Is it possible to have a Pushbutton on downloaded excel sheet from SAPCheck OLE for this.
-
Is there an add-on for Microsoft Skydrive to download Excel sheets?
Looking for an add-on to download Excel sheets from Skydrive.
Try [https://addons.mozilla.org/en-us/firefox/addon/grooveshredder/ Groove Shredder]
-
Problem when printing Excel sheets when downloaded from Portal
Hey,
I am using the desformat=spreadsheet option to generate Excel files for my reports downloaded from Portal and this works fine. The trouble is that when users go to print the downloaded Excel reports it seems that the scale of the report changes and everything is made smaller to try and fit on the one page. The font size decreases, and the scale of the report decreases to the point where the report is nearly unreadable when printed. But when just viewing the reports in Excel everything looks fine.
Any suggestions on why this is happening and how it can be fixed?
ThanksHello hermannedem,
If you cannot see any content on pages you printed or in print preview, the cause might be margins which are set too high.
#In order to check the margins, we need to go to ''File'' > ''Page Setup''.
#Once this is done, switch to the ''Margins & Header/Footer'' tab.
#Check what's set there under ''Margins''.
The following are the default values for ''Margins'':
'''Right''': 12.7
'''Top''': 12.7
'''Left''': 12.7
'''Bottom''': 12.7
Check these values accordingly and change them if necessary.
Please let us know, if this resolves the issue.
Thanks! -
Problem when opening excel sheet in jsp
Hi friends
When i try to open excel sheet from my program I am getting two problems
1. first row of excel sheet is empty
2. while opening I am getting error message of "the file is not in a recognizable format"
Please help me..It is an urgent work
my code
<%@page language="java" import="java.io.*,java.text.*,java.sql.*,java.util.*"%>
<%
Class.forName("org.gjt.mm.mysql.Driver");
Connection conn = DriverManager.getConnection("jdbc:mysql://256.136.119.86/mydb","zzz","zzz");
Statement st = conn.createStatement();
StringBuffer sb = new StringBuffer();
sb.append("SAP#" + "\t");
sb.append("x-plant status" + "\t");
sb.append("Total Amount" +"\t");
sb.append(">90 days" + "\t");
sb.append("\n");
try
String query="select * from temp_Xplant";
ResultSet rs = st.executeQuery(query);
while(rs.next()){
sb.append(rs.getString("sapNo") + "\t");
sb.append(rs.getString("status")+ "\t");
sb.append(rs.getString("amt") + "\t");
sb.append(rs.getString("days") + "\t");
sb.append("\n");
conn.close();
st.close();
catch (Exception e)
out.println("error");
conn.close();
st.close();
response.setContentType("application/vnd.ms-excel");
// response.setHeader("Content-Disposition", "attachment; filename=\"test.xls\"");
String testt = "tests.xls";
response.setHeader("Content-Disposition", "attachment; filename="+testt);
out.println(sb.toString());
out.close();
%>
thanks in advanceThe problem here is, you have setted the content type as excel sheet and you are writing some String content into the output stream. when excel tries to read the String content it will surely throw some error. Lot of excel APIs are available in the market to generate excel sheets.
you can find one in the below URL.
http://www.teamdev.com/downloads/jexcel/docs/JExcel-PGuide.html -
Problems while displaying EXCEL sheets within OUTLOOK
Dear all,
I have the following problem:
a user within the company receives sometimes emails containing excel sheets. the user wants to use/work with the preview within outlook, unfortunately the displayed values are different compared with the values if the sheet is opened with excel.
Now I'd want to ask if you had such a problem and also found a solution for that?
Best regards and thanks in advance
OliHi Oli,
Does this only happen to these specific spreadsheets or all? Are these fixed manually entered value? Or references to other sources?
The previewers in Microsoft Outlook provide additional security against potentially harmful code to help protect you from malicious code,
active content embedded in attachments (including scripts, macros, and ActiveX controls) is disabled during a preview.
Thus, a preview might not show the most up-to-date content in the file. To see the most complete, up-to-date content, you need open the file in related Microsoft Office application.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Installing Control Panel 2/3 causes problems in opening Excel sheets
After installing the control panel 3.0, I can't open Excel sheets properly anymore. A message says that the Excel sheet contains corrupted data and Excel can try to restore them. After confirming this, the excel sheet shows opened but all formating is gone.
I had this issue yet with Control Panel 2.0. After some research on the web I found out that the problem is caused by the CP for Windows. I then switched back to CP V 1.1.4 and the excel sheets opened properly again.
Thanks for any advise. I'm using Windows 7 and Excel/Outlook 2007.You are downloading software illegally. ShapeShifter is shareware so unless you indicate that you paid for it I don't feel it is appropriate to post your issue in this forum setting.
-
Problem with Protected Excel sheets through OLE
Hi Friends
We are facing the problem with the protected sheets in excel, when we are accessing worksheets via SAP.
We can insert the values in the protected sheet and we can do other manupalations, but when we are trying to do the autofit for the protected sheet via SAP, then its throwing an error while making it as Visible in SAP ECC 6.0.
Though it is valid, because even when we do in the excel itself, it wont allow the user to shrink the columns, but this one is possible in ECC 5.0 and we can make excel is visible on the screen.
I would like to know is this SAP Version problem or anything else apart from this? and I would like to know is there anyway to unprotect and protect the sheet through ABAP program with out a password. Now my clients wants the autofit though its protected.
Please give me any suggestions.
Thanks
Praveenits bug with ECC 5.0. If we want to make it auto fit we need to unprotect, then auto fit.
Later we can protect again -
Auto-Resizing of downloaded Excel Sheet
I am downloading data into excel sheet from sap program. When I open the excel sheet it shows the fields. Here, material description field is of length 50 chars, but it shows only 12 char. When I double click on the field everything is shown.
I want to download data and when opened excel sheet it should show all the contents ie material descrption of 50 chars should be shown up.
Pl. provide neccessary inputs on achieving this functionality.Hi try with by giving
value 'DBF' for the parameter File Type.
Regs
Manas Ranjan Panda -
Displaying the header in the downloaded Excel sheet of BI Report
Hi Friends,
The BI report is mapped in the portal, there is a requirement to add a header part in the excel sheet which is downloaded from the Portal like displaying the company code and the date on which it is pulled out. How can it be done, please guide me.
Thanks
KarthikHi,
then that is an excel formattng.. After downloading, select the MATNR column, use the Menu option Firmat> Cells> Number--> custom and enter '000000000000000000'.
Regards,
Suresh Datti -
Winshuttle problem with new excel sheet
Hi ,
I am getting Winshuttle problem after the excel upgraded to latest version.
when i open the winshuttle from icon, i dont get any prompt/no information.
Any ideas fromo experts ?
SivaWe solved the problem by going into the performance settings and disabling the "fade" functionality in Windows. To get to the screen to make the changes in Windows, open the Control Panel and navigate to "System". Open "System" and click on the "Advanced Settings" tab. Next, click on the button marked "Settings" in the "Performance" area. In the "Visual Affects" tab, clear the checkbox for three "Fade... " options.
I tested this successfully, even for users who have no administrative rights on their computer.
Please try this solution and see what results you receive. The strange thing in our situation is that the OS image used for laptops does not suffer the problem with Bex and WinShuttle as does the OS image used for desktop computers.
BG, are you from the UK? I ask as I watch a few UK television programs, and I notice they use "sorted" in the same manner us Americans use "taken care of" or as us Southerners say "figured out".
Cheers,
Kurt -
Problem while creating Excel sheet from TSQL
Hi,
I am trying to create an excel sheet using tsql in production server, script is running without any error however when i am trying to open the excel file it is giving an error that may be the file is corrut or in used by some other process or is read
only.
Same script is running fine on test server and i am able to open it. i am having SYSADMIN rights on both the servers.
i think there are some OLE DB driver issue.
using TSQL (SP_OA.... procedures) to create the excel file.
System information:
OS: 64 bit; SQL Server 2005: 32 Bit; Office 2010: 32 Bit.
Can any one help me?
ThanksMight be a stretch but your situation looks like one I encountered earlier. Are you running this in a SSIS? Your office is 32 bits but your OS is 64 bits, when running a SSIS from the agent under a 64 bit system and accessing and access
a 32 bit driver, you must check the option to "Use 32 bit runtime" under execution option.
If this is not the case, I would look for an option to execute in 32 bit mode or see if there are available 64 bits drivers. -
Problem in generating excel sheet o/p from ALV report
Hi to all
I have developed an ALV grid report which is showing o/p in screen but
when exporting or downloading to excel i am getting only field header and
o/p is not shown in print preview also.
Plz guide me...
Regards
AnubhavHi Anubhav,
It might be problem with some configuration or with the gui plz contact ur basis consultanat regarding this issue and get it done..
Regards,
Satish ... -
Problem in downloading excel file
Hi,
I am downloading output of SQ01 into excel file using BDC, but windows system stores the whole data in one cell of sheet instead of all other cells.
Please anybody tell me solution.
Thanks & Regards,
UmeshHi,
Check the followinf code:
IF sy-ucomm = 'DOWNLOAD' AND sy-lsind = 1.
DATA: fullpath TYPE string,
filename TYPE string,
path TYPE string,
user_action TYPE i,
encoding TYPE abap_encoding.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
window_title = 'Gui_Download Demo'
with_encoding = 'X'
initial_directory = 'C:\'
CHANGING
filename = filename
path = path
fullpath = fullpath
user_action = user_action
file_encoding = encoding
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
IF sy-subrc <> 0.
EXIT.
ENDIF.
IF user_action <> cl_gui_frontend_services=>action_ok.
EXIT.
ENDIF.
Ascii download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = fullpath
FILETYPE = 'DAT'
tables
data_tab = itab.
ENDIF.
Hope it will help you.
Regards
Rajesh Kumar -
Problem in Download Excel template saved in mimes
Hi all,
I had a excel template saved in Mimes and wanted to download on click of Link to action etc...
Tried many codes related to cachedwebresource but not able to resolve it
Everytime on running the application, result view comes wid contact administrator.No error on it...
Kindly help.
Thanks n best regards
Mandeep Kauruse this code to open attachment from mimes
try{
/** get file as binary */
File file = new File(
WDURLGenerator.getResourcePath(
wdComponentAPI.getDeployableObjectPart(),
"Excel_FileName"));
FileInputStream instream = new FileInputStream(file);
long filelen = file.length();
byte[] binary = new byte[(int)filelen];
int offset = 0;
int numread = 0;
while(offset<binary.length &&
(numread = instream.read(binary,
offset,
binary.length-offset))>=0){
offset +=numread;
instream.close();
/** create Resource out of binary read */
if(binary!=null){
cachedresource = WDWebResource.getWebResource(binary, WDWebResourceType.XLS);
url = cachedresource.getURL();
/** create window to open document */
IWDWindow docwin = wdComponentAPI
.getWindowManager()
.createNonModalExternalWindow(url, "EcxelFileName");
docwin.show();
}catch(Exception e){
msgBox("error reading file");
let me know the status
nikhil
Maybe you are looking for
-
Hi we installed the Citrix application lock on nearly all of our clients. So after a sucessfully logon the user is redireted to a central desktop. All messages related to sccm are not displayed to a user. We deployed updates and some users reported t
-
Disk Utility and diskutil unable to format or verify or repair
Hi there, Wondering if anyone can give me troubleshooting ideas on this one: When I try to partition or format a usb drive (actually I tried 3 models), Disk Utility does the partitioning part but just hangs (soft hang, I can still close it) when come
-
BADI - CRM_CUSTOMER_I_BADI - IN SOLUTION MANAGER OF SAP.
Hi Friends, I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP. Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to pu
-
Can i download Windows NT 4.0 from somewhere or do i like have to buy it from a store because i need it to install the disk that comes with the ipod. i cant even put anything on my ipod without windows NT because it says i need it when i try installi
-
Pc Suite does not support the connected phone.Pc s...
My PC version is XP Service Pack 1.I am using PC Suite 6.7.22.I am trying to connect using Infrared.I get the message as mentioned in the subject.Please help. Thanks in Advance