Unreadable Excel file
My attempts to convert a pdf to an Excel file results in a file that says it's an xls file, but it is not readable by my version of Excel, which dates to 1997. Does anyone else have this issue?
Our system converts PDF files to .xlsx files. This is the format used by Office 2007 and newer.
Unfortunately, the compatibility pack released by Microsoft to allow older versions of Office to read this newer format only works on Office XP (2002) and Office 2003.
It may be time to update your version of Office or perhaps consider one of the freeware office productivity suites out there such as OpenOffice.
-David
Similar Messages
-
Excel 2013 (or 2010) wont recover/repair excel files with sheets with invalid names
Hi All
I have a situation where some legacy software (Crystal Reports) have exported to Excel some problematic workbooks in .xls (in 5.0/95) format. These workbooks have an invalid worksheet name which I have discovered is a known problem with Legacy
Crystal Reports.
In Office 2003 the error I get is:
"Errors were detected in 'example.xls'" but Microsoft Office Excel was able to open the file by makling the repairs listed below. renamed invalid sheet name".
That's fine because the spreadsheet then opens with the worksheet renamed to "Recovered_Sheet1" and all the expected data inside.
The problem arises because we have 2013 (not 2003). in 2013 I get:
"We found a problem with some content in 'example.xls'. Do you want to try and recover as much as we can? If you trust the source of this workbook click Yes"
If I click yes then the I get:
"Excel was unable to open the file by repairing or removing the unreadable content. Excel recovered your formulas and cell values, but some data may have been lost."
I then get a workbook with 2 sheets (unknownsheet1 and unknownsheet2) and there is no data. The issue would be no problem if 2013 could recover the data.
Is there a way in which I can get 2013 to open/recover these workbooks like 2003 manages to do? To test I have turned off all trust centre features etc. Failing that, could I use powershell or something else to get into a closed excel file and rename the
worksheet?
Any suggestions would be greatly appreciated
Thanks
ThomasHi,
As you said the Microsoft Excel 5.0/95 Workbook format file is a very old format, it might be has some unexpected compatibility issues with new Excel version. I recommend you convert the Microsoft Excel 5.0/95 Workbook to a new Excel format, like XLSX.
As a workaround, please try to copy the data from Excel 2003 to a Excel 2013/2010 file. It would help us using there data.
Then, based on the error message, we might try the below method:
Install the Visual Basic component in Office 2013/2010
Control Panel > Programs > select Microsoft Office 2013/2010 and click on Change > Add or Remove Programs > at the bottom of the list click on the plus next to Office Shared Features > select Visual Basic for Applications > I right
clicked and chose Run from My computer > Continue
Similar issue:
https://social.technet.microsoft.com/Forums/office/en-US/f8abedda-619e-4f9d-97a5-fba2fcacd8c2/excel-found-unreadable-content-in-filenamexls-do-you-want-to-recover-the-contents-of-this?forum=excel
http://answers.microsoft.com/en-us/office/forum/office_2007-excel/excel-found-unreadable-content-in-xls-do-you-want/5bc64db0-e4d6-44d8-9409-c6035da6033e
Hope it's helpful.
Regards,
George Zhao
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. -
Problems downloading a program/file off the internet, end up as Excel files
When I attempt to download a program or a file off the internet, and save it to disk it appears as an unreadable excel spreadsheet on my desktop. What is going on?
Hi, Mary.
1. Can you provide an example, such as a URL / link to a file you have attempted to download?
2. See my "Resetting Launch Services" FAQ.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X
Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
I may receive some form of compensation, financial or otherwise, from my recommendation or link. -
I don't have any problems creating and filling an excel sheet with data. I use the New Report.vi, Easy Title.vi, and Easy Text.vi to create the file. I then save and dispose properly.
What I don't seem to be able to do is open the exsting file and append data to the end of the sheet.
Thanks in advance for your help.
toddHi Todd,
You can do this by creating a new Excel report with the existing excel file path wired to the "template" input. Then use "Excel Get Last Row.vi" (located under Report Generation\Excel Specific\Excel General) to obtain the location of the last row. Then use that location to input new data into the file.
Hope this helps,
Dan -
.excel file takes lot of time to open after running Custom Program
DB:11.2.0.2.0
Oracle Apps:12.1.3
O/S:AIX 6.1
Hi All,
Issue Description:
When the report is submitted, the data gets populated into the table in less than 30secs and xml gets generated within a minute.
But the program takes some time in displaying the output around 5 mins but when we tried with html, it opens up quickly.
The template has a complex matrix, layout wherein, we are using nested FOR loops to display the data in the required format.
Yesterday, we ran the report “Custom GL STAT Trial Balance Report” in DEV Instance and for around 500+ records, it took around 5 mins.
The excel file is only 1 MB and xml generated is 245 KB
Moreover, recently we had increased the OPP jvm to 3GB to avoid java.lang.memory error what was occurring earlier.
select DEVELOPER_PARAMETERS
from FND_CP_SERVICES
where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES where
CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
2 3 4
DEVELOPER_PARAMETERS
J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m
Could this issue be due to JVM increase issue or something else?
How, could we monitor the jvm while the report is running to troubleshoot the issue?
Thanks for your time and help on this if anyone is willing to share such an experience faced before?
Regards,DB:11.2.0.2.0
Oracle Apps:12.1.3
O/S:AIX 6.1
Hi All,
Issue Description:
When the report is submitted, the data gets populated into the table in less than 30secs and xml gets generated within a minute.
But the program takes some time in displaying the output around 5 mins but when we tried with html, it opens up quickly.
The template has a complex matrix, layout wherein, we are using nested FOR loops to display the data in the required format.
Yesterday, we ran the report “Custom GL STAT Trial Balance Report” in DEV Instance and for around 500+ records, it took around 5 mins.
The excel file is only 1 MB and xml generated is 245 KB
Moreover, recently we had increased the OPP jvm to 3GB to avoid java.lang.memory error what was occurring earlier.
select DEVELOPER_PARAMETERS
from FND_CP_SERVICES
where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES where
CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
2 3 4
DEVELOPER_PARAMETERS
J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m
Could this issue be due to JVM increase issue or something else?
How, could we monitor the jvm while the report is running to troubleshoot the issue?
Thanks for your time and help on this if anyone is willing to share such an experience faced before?
Regards, -
using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click. How can i print the document and see the document in some other mode than full screen?In order to print, you can click the CTRL+P keys to launch the print dialog,
Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
Is there a way to open Excell file from the server and display in the UI and save it back on to the
Hello there,
Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)Hi Mike,
Welcome you to the forum.
You may try:
SELECT * FROM MyDBNameHere.dbo.OUSR T0
Thanks,
Gordon -
Hi,
I am getting an error while trying to upload a excel file. I am using the function HR_KR_XSTRING_TO_STRING for conversion. The error message is "Unable to interpret as a number"First of all, are you sure you know what you are working with here. If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string. You should search the forums as this has been discussed extensively. On that topic, please also do not post duplicate threads. I have already locked your other thread with the same basic question.
Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with). You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE. -
Hi,
I am getting an error while uploading an excel file in web Dynpro application. i am using the HR_KR_XSTRING_TO_STRING this function. I am getting the following error message 'Unable to interpret as a number'.First of all, are you sure you know what you are working with here. If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string. You should search the forums as this has been discussed extensively. On that topic, please also do not post duplicate threads. I have already locked your other thread with the same basic question.
Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with). You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE. -
Need suggestion in uploading dynamic excel file to corresponding columns of internal table
Hi Friends,
I have an excel file which doesn't have standard template. Just the users will key in their header (in row1 ) and followed by item details in excel and upload to internal table. Now by doing some internal developments in program I need to place the values in corresponding fields.
Let me explain with some examples.
1. I have an internal table
data : begin of itab occurs 0,
f1,
f2,
f3,
f4,
f5,
end of itab.
2. I have excel file as below
3 . Now i need to fill my internal table itab as below
Need to be placed in corresponding fields.
4. When I used GUI_UPLOAD FM it updates internal table as
Please give me suggestion on how to achieve it.
Thanks in advance.Hi Kumar,
use a temporary table to get excel values and then parse them to a second table with the format you want.
This is pretty basic.
regards,
Edgar -
Steps to prepare and upload excel files data to r/3?
Hi abap experts,
We have brand new installed ECC system somehow configured but with no master or transaction data loaded .It is new empty system....We also have some legacy data in excel files...We want to start loading some data into the SAP sandbox step by step and to see how they work...test some transactions see if the loaded data are good etc initial tests.
Few questions here are raised:
-Can someone tell me what is the process of loading this data into SAP system?
-Should this excel file must me reworked prepared somehow(fields, columns etc) in order to be ready for upload to SAP??
-Users asked me how to prepared their legacy excel files so they can be ready in SAP format for upload.?Is this an abaper job or it is a functional guy job?
-Or should the excel files be converted to .txt files and then imported to SAP?Does it really make some difference if files are in excel or .txt format?
-Should the Abaper determine the structure of those excel file(to be ready for upload ) and if yes, what are the technical rules here ?
-What tools should be used for this initial data loads? CATT , Lsmw , batch input or something else?
-At which point we should test the data?I guess after the initial load?
-What tools are used in all steps before...
-If someone can provide me with step by step scenario or guide of loading some kind of initial master data - from .xls file alignment to the real upload - this will be great..
You can email me some upload guide or some excel/txt file examples and screenshots documents to excersize....Email: [email protected]
Your help is appreciated it.!
JonDepends on data we upload the data from file to R/3 .
If it is regular updation then we used to get the data from application server files to R/3 since local file updation we can not set up background processing..
If it is master data upload and that to one time upload then we use presenation server files to SAP R/3..
See the simple example to upload the data to on master custom table from XLS File
Program : ZLWMI151_UPLOAD(Data load to ZBATCH_CROSS_REF Table)
Type : Upload program
Author : Seshu Maramreddy
Date : 05/16/2005
Transport : DV3K919574
Transaction: None
Description: This program will get the data from XLS File
and it upload to ZBATCH_CROSS_REF Table
REPORT ZLWMI151_UPLOAD no standard page heading
line-size 100 line-count 60.
*tables : zbatch_cross_ref.
data : begin of t_text occurs 0,
werks(4) type c,
cmatnr(15) type c,
srlno(12) type n,
matnr(7) type n,
charg(10) type n,
end of t_text.
data: begin of t_zbatch occurs 0,
werks like zbatch_cross_ref-werks,
cmatnr like zbatch_cross_ref-cmatnr,
srlno like zbatch_cross_ref-srlno,
matnr like zbatch_cross_ref-matnr,
charg like zbatch_cross_ref-charg,
end of t_zbatch.
data : g_repid like sy-repid,
g_line like sy-index,
g_line1 like sy-index,
$v_start_col type i value '1',
$v_start_row type i value '2',
$v_end_col type i value '256',
$v_end_row type i value '65536',
gd_currentrow type i.
data: itab like alsmex_tabline occurs 0 with header line.
data : t_final like zbatch_cross_ref occurs 0 with header line.
selection-screen : begin of block blk with frame title text.
parameters : p_file like rlgrap-filename obligatory.
selection-screen : end of block blk.
initialization.
g_repid = sy-repid.
at selection-screen on value-request for p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = g_repid
IMPORTING
FILE_NAME = p_file.
start-of-selection.
Uploading the data into Internal Table
perform upload_data.
perform modify_table.
top-of-page.
CALL FUNCTION 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
*& Form upload_data
text
FORM upload_data.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_file
I_BEGIN_COL = $v_start_col
I_BEGIN_ROW = $v_start_row
I_END_COL = $v_end_col
I_END_ROW = $v_end_row
TABLES
INTERN = itab
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
write:/10 'File '.
ENDIF.
if sy-subrc eq 0.
read table itab index 1.
gd_currentrow = itab-row.
loop at itab.
if itab-row ne gd_currentrow.
append t_text.
clear t_text.
gd_currentrow = itab-row.
endif.
case itab-col.
when '0001'.
t_text-werks = itab-value.
when '0002'.
t_text-cmatnr = itab-value.
when '0003'.
t_text-srlno = itab-value.
when '0004'.
t_text-matnr = itab-value.
when '0005'.
t_text-charg = itab-value.
endcase.
endloop.
endif.
append t_text.
ENDFORM. " upload_data
*& Form modify_table
Modify the table ZBATCH_CROSS_REF
FORM modify_table.
loop at t_text.
t_final-werks = t_text-werks.
t_final-cmatnr = t_text-cmatnr.
t_final-srlno = t_text-srlno.
t_final-matnr = t_text-matnr.
t_final-charg = t_text-charg.
t_final-erdat = sy-datum.
t_final-erzet = sy-uzeit.
t_final-ernam = sy-uname.
t_final-rstat = 'U'.
append t_final.
clear t_final.
endloop.
delete t_final where werks = ''.
describe table t_final lines g_line.
sort t_final by werks cmatnr srlno.
Deleting the Duplicate Records
perform select_data.
describe table t_final lines g_line1.
modify zbatch_cross_ref from table t_final.
if sy-subrc ne 0.
write:/ 'Updation failed'.
else.
Skip 1.
Write:/12 'Updation has been Completed Sucessfully'.
skip 1.
Write:/12 'Records in file ',42 g_line .
write:/12 'Updated records in Table',42 g_line1.
endif.
delete from zbatch_cross_ref where werks = ''.
ENDFORM. " modify_table
*& Form select_data
Deleting the duplicate records
FORM select_data.
select werks
cmatnr
srlno from zbatch_cross_ref
into table t_zbatch for all entries in t_final
where werks = t_final-werks
and cmatnr = t_final-cmatnr
and srlno = t_final-srlno.
sort t_zbatch by werks cmatnr srlno.
loop at t_zbatch.
read table t_final with key werks = t_zbatch-werks
cmatnr = t_zbatch-cmatnr
srlno = t_zbatch-srlno.
if sy-subrc eq 0.
delete table t_final .
endif.
clear: t_zbatch,
t_final.
endloop.
ENDFORM. " select_data
and also you can use .txt file upload using Function module - GUI_UPLOAD
if it is application server then use open datset command.
Thanks
Seshu -
Steps to prepare and upload legacy master data excel files into SAP?
Hi abap experts,
We have brand new installed ECC system somehow configured but with no master or transaction data loaded .It is new empty system....We also have some legacy data in excel files...We want to start loading some data into the SAP sandbox step by step and to see how they work...test some transactions see if the loaded data are good etc initial tests.
Few questions here are raised:
-Can someone tell me what is the process of loading this data into SAP system?
-Should this excel file must me reworked prepared somehow(fields, columns etc) in order to be ready for upload to SAP??
-Users asked me how to prepared their legacy excel files so they can be ready in SAP format for upload.?Is this an abaper job or it is a functional guy job?
-Or should the excel files be converted to .txt files and then imported to SAP?Does it really make some difference if files are in excel or .txt format?
-Should the Abaper determine the structure of those excel file(to be ready for upload ) and if yes, what are the technical rules here ?
-What tools should be used for this initial data loads? CATT , Lsmw , batch input or something else?
-At which point we should test the data?I guess after the initial load?
-What tools are used in all steps before...
-If someone can provide me with step by step scenario or guide of loading some kind of initial master data - from .xls file alignment to the real upload - this will be great..
You can email me some upload guide or some excel/txt file examples and screenshots documents to excersize....
Your help is appreciated it.!
Jonhi,
excel sheet uploading:
http://www.sap-img.com/abap/upload-direct-excel.htm
http://www.sap-img.com/abap/excel_upload_alternative-kcd-excel-ole-to-int-convert.htm
http://www.sapdevelopment.co.uk/file/file_upexcel.htm
http://www.sapdevelopment.co.uk/ms/mshome.htm -
Save as dialog window for excel file save ....
hi!
i have a jsp that displays all the report names to the clients and when clicked on the report downloads an excel file and saves to the client machine.this is accomplished by calling a servlet that sets the content type as "application/octet-stream" and setting the header as "setHeader("Content-Disposition", "attachment; filename=myExcel.xls")
and writing the bytes to the excel file.works just perfect.
now if you open the excel file and make changes to it and try to save it with a different name by clicking 'save as' option from file menu, the 'save as file type' by default shows "text" instead of excel worksheet.
have you guys come across this problem anytime....
kindly let me know you have any suggestions ..
thanks in advance,
/rahulone more point:
the save as list box displays "myExcel.xls"(with quotes) where it should have displayed simply myExcel. -
How can I create an csv/excel file using pl/sql and then sending that file
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.968776 wrote:
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
Whay do you want database (pl/sql) code to do these things?
Anyhow, you may be interested in :
{message:id=9360007}
{message:id=9984244} -
How to upload Sales Orders into B1 from an excel file?
Hi,
I'm a new comer. I'm looking for a program of uploading Sales Orders into B1 from an excel file. Where can I find a reference book for it? Or I appreciate if someone could offer a program sample.
Thanks
ZAPHello ZAP.
I do not have such code, but i this link /people/janos.nagy/blog/2010/01/25/exporting--importing-authorization-using-ms-excel-in-sap-b1 you can find an excel example about authorization, and using Single Sign On (SAP B1 must have run with excel)
The method is similar, you can run any DI API operation from excel.
Here is an example to add a sales order
Dim oDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
oDoc.CardCode = CUSTOMER_CODE
oDoc.DocDate = Today
oDoc.DocDueDate = Today
oDoc.Lines.SetCurrentLine(0)
oDoc.Lines.ItemCode = ITEMCODE
oDoc.Lines.Quantity = QTY
oDoc.Lines.UnitPrice = PRICE
If oDoc.Add <> 0 Then
MsgBox("Error " + oCompany.GetLastErrorDescription())
Else
MsgBox("SAles order added")
End If
You can repeat the setcurrentline section as many time as lines you have in the SO:
Regards,
J.
Ps: Reference: SDK help and sample programs, which included in every patch.
Edited by: János Nagy on Feb 10, 2010 9:50 AM
Maybe you are looking for
-
Ipod nano won't sync podcasts from iTunes after I "Restored" the ipod.
iPod nano won't sync podcasts from iTunes after I "Restored" the iPod.
-
Custom CSS-Applying selected background for all the cols in the report
Hi, I am trying to set a particular background for all the columns in the report(not for all the projects,so that I can avoid option of manually setting background color for complete report.For this I thought custom CSS is best option.So edited custo
-
I can't create an instance for BPF (BPC Netweaver 7.5)
Hi experts: I am trying to create a Busines Process Flow. I am following steps according to the "how to" that explains the proccess. I firstly created the BPF template and, then, when I am creating an instance, identity dimensions are blank. Theorica
-
I am trying to parse XML Schema using XSOM. The Schema has <xs:include>s e.g. I have first.xsd which includes second.xsd and second.xsd again includes third.xsd. First.xsd <xs:include schemaLocation="../Second.xsd">.... Second.xsd <xs:include schemaL
-
Magic Mouse causes noise in MacBook Pro while scrolling
Hi everyone, I just discovered a kind noise which I'm not sure is a problem or not. I'm sitting in an extreme quite room and my windows are almost completely closed, so I can hear the sounds my MacBook Pro (Mid-2010) is making very well. I can hear t