Failed to read data from report file Reason: The table could not be found.
BO Enterprise XI R2, cannot publish crystal reports using the publishing wizard.
Failed to read data from report file Reason: The table could not be found.
Any ideas to get around this would really help out.
Regards
Connection used Views, ODBC System DSN is setup properly.
Approach for import from business view manager and import wizard. both methods failed to import the Business View and underlying reports.
I figure I may have imported the Business View wrong? From Business View Manager I exported from my dev server then imported to prod server.
Apparently I learned exporting my business view also includes the Data Connections that the Business Views are dependent upon.
So which ever folder you specify it copies it there. Originally the all Data Connections Resides on the root folder. To return it to the original location. I deleted what I had exported. Exported this time to the root folder, then only deleted the business views, foundation, elements. Then exported again to the folder where I intended then only deleted the Data Connection.
Makes any sense? So I then had to re point the business views and all the dependent objects to the data connection that resides in the root folder.
I tested the connection, it works fine. I properly updated my crystal reports to the business view in production. Did a sample extract it works as expected.
However when i try to publish, either from Crystal or Publish wizard i get the same error?
As a work around i am thinking, after updating the business view in the crystal reports, shall i re map the fields?? or reexport the business views again?
Any help will be surely appreciated.
Similar Messages
-
Failed to read data from report file : Reason: Crystal Reports: Print Engin
Hi,
When we try to migrate the crystal reports from BO R2 to BO R3, some of the reports are faling with the error:
Failed to create a new Report.Reason: Failed to read data from report file C:\DOCUME~1\xxxxx.rpt. Reason: Crystal Reports: Print Engine Error
Would please someone help me in fixing the issue.
Thanks and Regards,Few quick checks to identify the cause -
1. Are you able to run report in your R2 system?
2. In XI3.1, check SIA running on which account.
3. Check the acount have sufficient rights on file system and registry.
4. What's your web server?
Give proper rights and import again. Hopefully it will resolve.
Edited by: Das on Dec 6, 2010 9:47 PM -
Failed to read data from report file
Hello ,
When iam trying to publish crystal report to Bo enterprise using Publish wizard, i get below error
*"Failed to read data from report file C:\Users\prakash\Desktop\new_obj.rpt. Reason: File I/O error. File ~cidbc64f360135e0.rpt."*
can you please help me in resolving it
Regards,
KumarTPPlease post this to the [Business Objects Enterprise Administration|BI Platform; forum.
- Ludek -
Failed to read data from report file, failed to read parameter object
Error message when doing a u201CSchedule List of Valuesu201D
failed to read data from report file,
c:\docume~1\user........
failed to read parameter object
Earlier in the day it worked just fine nothing had been changed.
I have admin right on the windows server and in central management console
Can someone please help with this issue.Hi Glenn
Please let us know the following:
1.What is the exact version of Crystal Reports Designer?
2.What is the version of Business objects Enterprise installed on the machine?
3.Are reports based on Business views,Deski,Webi?
4.Are the reports migrated from older version of Crystal Reports to new Version?
Thanks
Shraddha -
Error in File ****.rpt: The table could not be found in
Hi ,
I have a Crystal Report which uses a stored procedure to get it's data.
The stored procedure has no parameters but it is pretty complex and gives a resultset in the end with a select statement.
I designed the report in CR 11.5.12.1838.
The report works perfect in crystal reports designer.
Unfortunately I am getting an error in Central Management Concsole and InfoView
The error is:
Error in File ****.rpt: The table could not be found.
I am using ODBC connection and I even used to sa credentials to run the report in CMC but had no luck.
One thing I should mention that the stored procedure name as ;1 in the end.
I appreciate if you could help me with this report
ThanksThe SQL profiler RPC completed shows:
exec sp_tables N'My[_]Procedure [_]Name[_]Has[_]Underscores,N'%',NULL,NULL
and it's variations. Nothing else and that returns no result.
My procedure name has underscores, I will get rid of that.
I will recreate my Stored procedure without underscore or any special characters and let you know about the result
Umit -
Error when launching Crystal XIR2 report ..."Table could not be found."
We have a customer that sees an error when launching any report in InfoView for Crystal Server XIR2:
Description: Error in File E:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\slvnsb41.pageserver\slvnsb41.pageserver\child.2\temp\procReportTemp\mgrTemp\ps_13ec5b68e6bfbc0.rpt: The table could not be found.
These steps have been taken:
1) The Crystal Server Business View install and BIAR file imports are successful.
2) Database connection has been configured and tested.
3) All the tables are browseable in the Business View Manager and contain data.
4) All the required tables exist in the database.
Options or suggestions anyone?Can someone tell me how to open this as a SUPPORT CASE that someone will actually help solve?
Sorry to say but I don't find these forums of much use. -
InfoView - Error in File ...The table could not be found
When I run the a report out of Crystal Reports 2008 Developer using a 32 bit ODBC data source Microsoft Visual FOxPro Driver, the report runs fine. All of my reports run fine in the Crystal Developer
But when I run the same report in Java SAP BusinessObjects InfoView Enterprixe XI, the same report would get an error: The Table could not be found. Other errors I would get: Encapsulating page failed. None of the reports work in InfoView, but they would work in the Crystal Developer.
Our environment is Windows Server 2008 R2 on a 64-bit Dell PowerEdge Server.Hello,
If you create the System DSN on the Server and test the connection does it work? If it does then BOE either can't find the DBF file or it doesn't have access to the folder.
Check the permissions on the folder where the database files reside, if they are not local then map the driver where they do exist.
Don -
Crystal report error (The table '' could not be found)
Dear Expert,
As I know, the end user who don't want to edit the crystal report design no need to buy crystal report,right?
Using the 'Crystal reports for SAP B1', they already view the report.
But, how about, if I had created one crystal report, and then I want to distribute to end user. When I load the report on user machine that dont have crystal report, the system shown an error (The table '' could not be found).
I think, maybe because of the database location. When I create the report, of course I made connection to my machine as a source of database location. But, how i'm going to change the database location to user machine?
Is it when we login into SAP, did SAP auto detect the new location source? And will auto create connection to the crystal report?
Thanks in advance for any help.Hi ,
We do not create the database connection for the end user. the end user must have the same database connection as it is set up on your machine. The report is looking for the same connection, with the same access into the database.
Best regards,
Jadie -
Regarding reading data from a file in the application server.
Hello Everyone,
My question is:
The file in the application server consists of data with header, detail and trail out of which the detail contains the main information. The detail again contains the data in the form of a continuous string and again some spaces corresponding to a single record. I need to split the data in the internal table in such a way so that the first few characters get into field-1 of the target internal table. Again I need to consider the spaces for accessing the data for filling up in field-2. How do I decide on the 'Split' statement and specially when the whole string has to be taken care of as contatining data in a single string format without space and again some data after some spaces corresponding to a single record.
Your help is very much needed. Thanks to all the experts in advance.Hi
This is the sample code I was used for the similar requirement.
DATA: single_line TYPE string .
v_file_listings = pa_filn1.
IF v_file_listings IS INITIAL .
MESSAGE e039 WITH v_file_listings.
ENDIF.
*-- read file, split lines into fields and put data into table
OPEN DATASET v_file_listings FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
IF sy-subrc EQ 0.
DO.
READ DATASET v_file_listings INTO single_line. "Reading the content of file into line
IF sy-subrc = 0.
IF sy-index > 1. "skip header-line
SPLIT "Split the content of line into work area
single_line
AT k_split
INTO
wa_listings-kschl " Condition type
wa_listings-tabname16 " Condition table name
wa_listings-vkorg " Sales organisation
wa_listings-kunnr " sold-to party numberor ship-to party number
wa_listings-matnr " Material Number
wa_listings-kodatab " Valid-from date
wa_listings-kodatb1. " Valid-to date
APPEND wa_listings TO itab_listings. "Appending Work Area to internal table
ENDIF.
ELSE.
EXIT.
ENDIF.
v_count1 = sy-tabix.
ENDDO.
Regards,
Sreeram -
Reading Data From XML File to SQL Tables.
I Have XML of this type
<empdept>
<employees_marks>
<emp_id>1</emp_id>
<DIVISION_ID>BUS</DIVISION_ID>
<JOB_ID>PRE</JOB_ID>
<FIRST_NAME>SMITH</FIRST_NAME>
<LAST_NAME>JAMES</LAST_NAME>
<salary>10000</salary>
</employees_marks>
<dept>
<dept_details>
<deptid>10</deptid>
<deptname>Mechanical</deptname>
</dept_details>
<dept_details>
<deptid>20</deptid>
<deptname>Civil</deptname>
</dept_details>
<dept_details>
<deptid>30</deptid>
<deptname>ICE</deptname>
</dept_details>
</dept>
</empdept>'));
With the above format am able to retrieve data successfully into relational tables,
<employees_marks emp_id=1 DIVISION_ID=BUS JOB_ID=PRE salary=10000 />
<dept_details deptid=10 deptname='Mechanical'/>
<dept_details deptid=20 deptname='ECE'/>
<dept_details deptid=30 deptname='EEE'/>
i.e., I have data as attributes rather than elements, so can I know the way how I can acheive the requirement,
How to retrieve data when it is present as attributes rather than elements.
Thanks,
Sunil. NSunil N wrote:
I Have XML of this type
<dept_details deptid=10 deptname='Mechanical'/>
<dept_details deptid=20 deptname='ECE'/>
<dept_details deptid=30 deptname='EEE'/>
i.e., I have data as attributes rather than elements, so can I know the way how I can acheive the requirement,
How to retrieve data when it is present as attributes rather than elements.I just posted an example of how to deal with tags instead of elements in XML in {message:id=3935746} yesterday.
The short of it is that you need to use the "+@"+ character as the attribute name - and that tells the XML parser that the attribute is a tag in an element and not an element itself. E.g.
extract( xmlData, '/dept_details/@deptid' ) as DEPT_ID
extract( xmlData, '/dept_details/@deptname' ) as DEPT_NAME -
To read data from exel file into sap
hi all,
How to read data from exel file into the internal table in abap?
Regards,
sugeet.Hi Sugeet,
Use the following code.
DATA : BEGIN OF tbl_asset occurs 0,
anlkl LIKE anla-anlkl, " Asset Class
bukrs LIKE anla-bukrs, " Company Code
ranl1 LIKE ra02s-ranl1, " Asset #
txt50 LIKE anla-txt50, " Description 1
txa50 LIKE anla-txa50, " Description 2
sernr LIKE anla-sernr, " Serial #
invnr LIKE anla-invnr, " Inventory #
menge LIKE anla-menge, " Quantity
meins LIKE anla-meins, " Base UOM
inken LIKE anla-inken, " Inventory
END OF tbl_asset.
DATA : w_filename TYPE IBIPPARMS-path,
w_file TYPE string.
start-of-selection.
*popup for file path from user
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = w_filename .
MOVE w_filename TO w_file .
* upload data
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = w_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = tbl_asset
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
for HAS_FIELD_SEPARATOR Use
'X': Fields are separated by tabs.
SPACE: Fields are not separated by tabs. In this case, the table must contain only one column or all columns must be contained in the file in their entire length.
Hope it helps...
Lokesh
Pls. reward appropriate points -
Read data from xml files and populate internal table
Hi.
How to read data from xml files into internal tables?
Can u tell me the classes and methods to read xml data..
Can u explain it with a sample program...<pre>DATA itab_accontextdir TYPE TABLE OF ACCONTEXTDIR.
DATA struct_accontextdir LIKE LINE OF itab_accontextdir.
DATA l_o_error TYPE REF TO cx_root.
DATA: filename type string ,
xmldata type xstring .
DATA: mr TYPE REF TO if_mr_api.
mr = cl_mime_repository_api=>get_api( ).
mr->get( EXPORTING i_url = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
IMPORTING e_content = xmldata ).
WRITE xmldata.
TRY.
CALL TRANSFORMATION id
SOURCE XML xmldata
RESULT shiva = itab_accontextdir.
CATCH cx_root INTO l_o_error.
ENDTRY.
LOOP AT itab_accontextdir INTO struct_accontextdir.
WRITE: / struct_accontextdir-context_id,
struct_accontextdir-context_name,
struct_accontextdir-context_type.
NEW-LINE.
ENDLOOP.</pre>
<br/>
Description:
In the above code snippet I am storing the data in an xml file(you know xml is used to store and transport data ) called 'xml_accontextdir.xml' that is uploaded into the MIME repository at path 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'.
The below API is used to read a file in MIME repo and convert it into a string that is stored in ' xmldata'. (This is just a raw data that is got by appending the each line of xml file).
mr = cl_mime_repository_api=>get_api( ).
mr->get( EXPORTING i_url = 'SAP/PUBLIC/BC/xml_files_accontext/xml_accontextdir.xml'
IMPORTING e_content = xmldata ).
Once the 'xmldata' string is available we use the tranformation to parse the xml string that we have got from the above API and convert it into the internal table.
<pre>TRY.
CALL TRANSFORMATION id
SOURCE XML xmldata
RESULT shiva = itab_accontextdir.
CATCH cx_root INTO l_o_error.
ENDTRY.</pre>
Here the trasnsformation 'id ' is used to conververt the source xml 'xmldata' to resulting internal table itab_accontextdir, that have same structure as our xml file 'xml_accontextdir.xml'. In the RESULT root of the xml file has to be specified. (In my the root is 'shiva').
Things to be taken care:
One of the major problem that occurs when reading the xml file is 'format not compatible with the internal table' that you are reading into internal table. Iin order to get rid of this issue use one more tranformation to convert the data from the internal table into the xml file.
<pre>TRY.
CALL TRANSFORMATION id
SOURCE shiv = t_internal_tab
RESULT XML xml.
CATCH cx_root INTO l_o_error.
ENDTRY.
WRITE xml.
NEW-LINE.</pre>
<br/>
This is the same transformation that we used above but the differnce is that the SOURCE and RESULT parameters are changed the source is now the internal table and result is *xml *string. Use xml browser that is available with the ABAP workbench to read the xml string displayed with proper indentation. In this way we get the format of xml file to be used that is compatable with the given internal table.
Thank you, Hope this will help you!!!
Edited by: Shiva Prasad L on Jun 15, 2009 7:30 AM
Edited by: Shiva Prasad L on Jun 15, 2009 11:56 AM
Edited by: Shiva Prasad L on Jun 15, 2009 12:06 PM -
Error message: Table could not be found when opening reports with InfoView or CMC
Post Author: Giovanni
CA Forum: Authentication
Hi All,
I have Crystal Reports Server XI R2 installed on a server and the database folder (foxpro) is located on a different server. Crystal is connected to the database using an ODBC connection (UNC path).
When I try to preview a report in Infoview or CMC I get the following error: "There was an error retrieving data from the server: The table 'dp' could not be found. Error in File C:\WINDOWS\TEMP\{BC665D6D-95DE-426B-A7A2-EBF9D23F42F4}.rpt: The table could not be found."
dp is the name of one of our tables.
If I publish a report that uses sql database or a foxpro db that is located on the same server as Crystal Server I donu2019t receive any error message..
Please help if you can and thanks in advance.
GiovanniPost Author: colin mackenzie
CA Forum: Authentication
Hi Giovanni.
This post of yours is going on 2 weeks old.
Have you solved your problem? -
Error in file : table could not be found!
I'm getting the following error on a scheduled report in production infoview.
Error in File C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\xxx-crystal-01.reportjobserver\~tmp17605bb388845935.rpt: The table could not be found.
However the same report runs in local CR and infoview perfectly.
Any help is appreciated.
Thanks,
Rams.Hi Ramesh,
you have to Login into the SAP Service Marketplace at http://service.sap.com. But you need a S-User to do so.
You can request your S-User on the top right of the Website.
Regards
-Seb. -
Crystal Report Windows Forms Viewer problems - table could not be found
Hi,
I installed Crystal Report Viewer in SAP Business One 2007. All the while, I can run the reports without any problem. but when I loaded some of the new report, it gives me the following error message:
the caption says: "Crystal Reports Windows Forms Viewer"
the message says: "The table 'paymentVoucher' could not be found.
Error in file C:\...paymentVoucher.rpt. The table could not be found."
By the way, I can run the report in another workstation.
Any help or ideas of why this is happening or how to solve this will be greatly appreciated.
Thanks in advance.The report is not created by me. I just help others to transfer the report from one workstation to another workstation. PaymentVoucher is a view in the database and it is being put at a workstation that can be shared by everyone.
I've go through other forums and found out that it might be permission issues and now managed to solve the problem already.
Thanks everyone for the advice.
Maybe you are looking for
-
Help!! my safari will not open. this is my crash report. thank you
Date/Time: 2011-08-22 16:12:43.999 -0700 OS Version: 10.4.11 (Build 8S2167) Report Version: 4 Command: Safari Path: /Applications/Safari.app/Contents/MacOS/Safari Parent: WindowServer [60] Version: 4.1.3 (4533.19.4) Build Version: 1
-
In fact can you access fault information for all PXI cards? How do i detect that there is a fault with a board from within the software so i can report this to a higher level application? Thanks Martin
-
when is the next ios update and will it fix/address the issue with photos not being shown in chronological order?
-
Dear Gurus, I have a condition type in pricing procedure for accrual. Means the value of this condition type will not be part of Net or Tax but going to the specific GL. So in that condition type configuration page I mark it as Accural in control dat
-
Is there any way to modify and edit the table of contents in Pages? I mean copying a table of contents and modifying the size and fonts etc. Thanks for your help!