Report deployed on production server show different data from that in debug mode
Hi,
i have created a report that use temporary tables and when i get the preview on Management Studio show some data, but when i deploy the same report on the production server i see that the data is different!!!!
To check this issue i create a simple table on which i transfer the results data before to show it on the report and with my surprise the number of rows of the production execution is less than the debug execution!!!!
Notice that i use the same value for the report parameters.
Any idea?
Thanks a lot!!!
Hi ,
Check in your solution folder and try to find .data file.
Delete the data .Data file on the same name of your report and run the report from SSMS.
Check the below link on clearing report cache
http://jasonfaulkner.com/ClearDataCacheBIS.aspx
Best Regards Sorna
Similar Messages
-
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?5e33d18c-3b32-48d4-82a7-676feeaa97c9 wrote:
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?
Others sessions never see uncommitted data
> then wrote code to delete some rows. Lots of fun.
did you ever actually issue COMMIT so other session can see the changed data? -
Process flow of bpel process deployment in production server
Hi,
Can anyone please explain me the process flow of bpel process deployment in prodcution server . I mean the procedure that we follow for deployment in productions server , what are the steps that we follow , approval from any teams? .....
Thanks,
Beginner.A quick answer is:
1. make sure you defined the Application/Integration Server in your developer (user/pass you have - if not oc4jadmin then one the IT gave you).
2. Deploy your project to that server.
3. Choose the correct domain in the Console when deploying.
Is this what you wanted to know??? -
I had an interview question that is:
How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
Set up steps so inset, update or delete operation takes place across the servers.
It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
Also please describe would it be different for SQL Server 2012?
If so, then what are the steps?I had an interview question that is:
How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
Set up steps so that inset, update or delete operation gets done correctly across servers.
I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps? -
I recently restored my iPhone 4s from back-up after being reset. An app that I had turned off in back-up did not show up in my recent resoration. I forgot to turn the app back on. Would there be any way I would be able to get the data from that app onto my phone? Is it possible to put an old back-up on my phone?
LukaPetranovic wrote:
Hello anita4323.
I hope this will help you with your problem:
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
You can restore your backup whenever you want from iTunes or iCloud, depending where you made it.
Let us know if you succeeded or need any further help.
I believe you are missing the point. The OP has already restored from back up, but failed to include a specific app in the back up and is trying to recover data for it, which in this case is not possible. -
Uploading Excel File and Reading Data from that File
<b>Hi
Can anyone Please tell me how to upload an Excel File in to the Web Dynpro Application and After that i want to read the data from that uploaded excel file in the Web Dynpro Application to the Web Dynpro table.
Plz help me to solve this.......
Regards
Chandran</b>Hi,
Upload Excel file using File Upload UI
1)Add jxl jar folder in the lib folder of ur project.
2)Go to properties of ur project and add jar to ur project.
3)Using the File upload ui ,browse and upload the file.
4)Write the read file in to ur server location using fileoutput stream.
5)then using code u can read the excelfile from the server location itself.
Here is the code:
IWDAttributeInfo attInfo =wdContext.getNodeInfo().getAttribute("upload");
/** get the name of excel file and storing it in the server with the same name and extention****/
binaryType=IWDModifiableBinaryTypeattInfo.getModifiableSimpleType();
fileuploaded = binaryType.getFileName();
byte b[] = wdContext.currentContextElement().getUpload();
File filename =new File("
<Server name>
<folde name>
" + fileuploaded);
try {
FileOutputStream out = new FileOutputStream(filename);
out.write(b);
out.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
/**Readind from the server**/
int iRows = 0;
try { Workbook wb = null;
Sheet sheet = null;
wb = Workbook.getWorkbook(filename);
sheet = wb.getSheet(0);
int iColumns = sheet.getColumns();
iRows = sheet.getRows();
int i = 0;
//get Cell contents by (COLUMN, ROW);
for (int r = 0; r < iRows; r++) {
for (int c = 0; c < iColumns; c++) {
Cell cell = sheet.getCell(c, r);
characterarray<i> = cell.getContents();
//wdComponentAPI.getMessageManager().reportSuccess("Row"r characterarray<i>);
i++;
wb.close();
Declare Globally
//@@begin others
String fileuploaded;
IWDModifiableBinaryType binaryType;
String characterarray[] = new String[1000];
//@@end
Also look at this blog too /people/perumal.kanthan/blog/2005/03/21/reading-excel-data-from-java-using-hssf-api
Thanks and Regards,
Arun -
I got a brand new iPod and wanted to put the music files on my old iPod to the new one. In addition to this I would like to know how to sync my new iPod to a different computer from that of the old one. Is it possible for me to accomplish all this with music rescue?
Put everything on one computer and sync to that computer.
-
Just had a fatal crash of my new 1TB fusion drive on my 3 month old Imac 27". Is there anyone elese having this issue? And have you been able to recover data from that Crashed Fushion Drive?
Since it's a new machine, contact Apple's Support, formerly Apple Express Lane and let them deal with it.
-
Report generated in Forms 6i shows no data on Web server
Hi guys,
I am having an application running web server Unix platform. We have recently migrated from forms 4.5 to 6i. I have a form which generates a report. When run on Web server, the report is generated but shows no data. The report runs fine when run in the client server mode. The parameter list in the form is generated using a procedure from one of the PL/SQL libraries and this is passed to another program unit in the form which runs the report.
Any solutions for this?Rohanb,
I had a similar situation (Reports 9i) so for all users, 95% could see the pdf and 5% get a beautyful white page...
After updating for Acrobat Reader 7, everybody see the correct result !
Francois -
Reports fail when run against a different data source
Hello,
We have a VB.NET 2008 WinForms application running on Microsoft .NET 3.5. We are using Crystal Reports 2008 runtime, service pack 3 -- using the CrystalDecisions.Windows.Forms.CrystalReportViewer in the app to view reports. In the GAC on all our client computers, we have versions 12.0.1100.0 and 12.0.2000.0 of CrystalDecisions.CrystalReports.Engine, CrystalDecisions.Shared, and CrystalDecisions.Windows.Forms.
Please refer to another one of our posted forum issues, u201CCritical issue since upgrading from CR9 to CR2008u201D, as these issues seem to be related:
Critical issue since upgrading from CR9 to CR2008
We were concerned with report display slow down, and we seemed to have solved this by using the Oracle Server driver (instead of either Microsoft's or Oracle's OLEDB driver). But now we must find a resolution to another piece of the puzzle, which is: why does a report break if one data source is embedded in the .rpt file is different than the one you are trying to run the report against, in the .NET Viewer?
Problem:
If you have a production database name (e.g. "ProdDB") embedded in your .rpt file that you built your report from and try to run that report against a development database (e.g. "DevDB") (OR VICE VERSA -- it is the switch that is the important concept here), the report fails with a list of messages such as this:
Failed to retrieve data from the database
Details: [Database vendor code: 6550 ]
This only seems to happen if the source of the report data (i.e. the underlying query) is an Oracle stored procedure or a Crystal Reports SQL Command -- the reports run fine against all data sources if the source is a table or a view). In trying different things to troubleshoot this, including adding a ReportDocument.VerifyDatabase() call after setting the connection information, the Crystal Reports viewer will spit out other nonsensical errers regarding being unable to find certain fields (e.g. "The field name is not known), or not able to find the table (even though the source data should be coming from an Oracle stored procedure, not a table).
When the reports are run in the Crystal Reports Designer, they run fine no matter what database is being used; but the problem only happens while being run in the .NET viewer. It's almost as if something internally isn't getting fully "set" to the new data source, or something -- we're really grasping at straws here.
For the sake of completeness of information, here is how we're setting the connection information
'-- Set database connection info for the main report
For Each oConnectionInfo In oCrystalReport.DataSourceConnections
oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
Next oConnectionInfo
'-- Set database connection info for each subreport
For Each oSubreport In oCrystalReport.Subreports
For Each oConnectionInfo In oSubreport.DataSourceConnections
oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
Next oConnectionInfo
Next oSubreport
... but in troubleshooting, we've even tried an "overkill" approach and added this code as well:
'-- Set database connection info for each table in the main report
For Each oTable In oCrystalReport.Database.Tables
With oTable.LogOnInfo.ConnectionInfo
.ServerName = gsDBDataSource
.UserID = gsDBUserID
.Password = gsDBPassword
For Each oPair In .LogonProperties
If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
oPair.Value = gsDBDataSource
Exit For
End If
Next oPair
End With
oTable.ApplyLogOnInfo(oTable.LogOnInfo)
Next oTable
'-- Set database connection info for each table in each subreport
For Each oSubreport In oCrystalReport.Subreports
For Each oTable In oSubreport.Database.Tables
With oTable.LogOnInfo.ConnectionInfo
.ServerName = gsDBDataSource
.UserID = gsDBUserID
.Password = gsDBPassword
For Each oPair In .LogonProperties
If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
oPair.Value = gsDBDataSource
Exit For
End If
Next oPair
End With
oTable.ApplyLogOnInfo(oTable.LogOnInfo)
Next oTable
Next oSubreport
... alas, it makes no difference. If we run the report against a database that is different than the one specified with "Set Datasource Location" in Crystal, it fails with nonsense errorsThanks for the reply, Ludek. We have made some breakthroughs, uncovered some Crystal bugs and workarounds, and we're probably 90% there I hope.
For your first point, unfortunately the information on the Oracle 6550 error was generic, and not much help in our case. And for your second point, the errors didn't have anything to do with subreports at that time -- the error would manifest itself even in a simple, one-level report.
However, your third point (pointing us to KB 1553921) helped move us forward quite a bit more. For the benefit of all, here is a link to that KB article:
Link: [KB 1553921|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
We downloaded the tool referenced there, and pointed it at a couple of our reports. The bottom line is that the code it generated uses a completely new area of the Crystal Reports .NET API which we had not used before -- in the CrystalDecisions.ReportAppServer namespace. Using code based on what that RasConnectionInfo tool generated, we were able gain greater visibility into some of the objects in the API and to uncover what I think qualifies as a genuine bug in Crystal Reports.
The CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable class exposes a property called QualifiedName, something that isn't exposed by the more commonly-used CrystalDecisions.CrystalReports.Engine.Table class. When changing the data source with our old code referenced above (CrystalDecisions.Shared.ConnectionInfo.SetConnection), I saw that Crystal would actually change the Table.QualifiedName from something like "SCHEMAOWNER.PACKAGENAME.PROCNAME" to just "PROCNAME" (essentially stripping off the schema and package name). Bad, Crystal... VERY BAD! IMHO, Crystal potentially deserves to be swatted on the a** with the proverbial rolled-up newspaper.
I believe this explains why we were also able to generate errors indicating that field names or tables were not found -- because Crystal had gone and changed the QualifiedName to remove some key info identifying the database object! So, knowing this and using the code generated by the RasConnectionInfo tool, we were able to work around this bug with code that worked for most of our reports ("most" is the key word here -- more on that in a bit).
So, first of all, I'll post our new code. Here is the main area where we loop through all of the tables in the report and subreports:
'-- Replace each table in the main report with new connection info
For Each oTable In oCrystalReport.ReportClientDocument.DatabaseController.Database.Tables
oNewTable = oTable.Clone()
oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
oCrystalReport.ReportClientDocument.DatabaseController.SetTableLocation(oTable, oNewTable)
Next oTable
'-- Replace each table in any subreports with new connection info
For iLoop = 0 To oCrystalReport.Subreports.Count - 1
sSubreportName = oCrystalReport.Subreports(iLoop).Name
For Each oTable In oCrystalReport.ReportClientDocument.SubreportController.GetSubreportDatabase(sSubreportName).Tables
oNewTable = oTable.Clone()
oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
oCrystalReport.ReportClientDocument.SubreportController.SetTableLocation(sSubreportName, oTable, oNewTable)
Next oTable
Next iLoop
'-- Call VerifyDatabase() to ensure that the tables update properly
oCrystalReport.VerifyDatabase()
(Thanks to Colin Stynes for his post in the following thread, which describes how to handle the subreports):
Setting subreport connection info at runtime
There seems to be a limitation on the number of characters in a post on this forum (before all formatting gets lost), so please see my next post for the rest.... -
Notification of successful deployment to production server from within
How can code running on a production server be notified that a successful deployment (of new/changed catalogs) has completed to that server? A side affect is the catalog schema switches from CATA to CATB or vice versa. Another way to phrase the question is how to be notified of catalog schema switches at the time they occur?
Thanks.That URL hangs but I think I found the spot in the Programmer's Guide. It talks about a DeploymentManager but only vaguely.
I found some code that uses the DeploymentEvent and DeploymentEventListener mechanism. You register your listener with the DeploymentAgent (via config) and then receive all the deployment events. The only question is which of the many events/states that are reported is the one that means the catalog data source has switched?
http://docs.oracle.com/cd/E22630_01/Platform.1002/apidoc/atg/deployment/common/event/DeploymentEvent.html -
Request in Production server for Master data
Hi,
In Production server when we try to hire an employee through PA40, it is giving an error saying that "Client XXX has status 'not modifiable", Choose 'Display object' or 'Cancel'.
I think it is asking for a request, because of settings in SCC4,is not modifiable. Since it is PRD server the standard SAP suggests to have the setting as above hence we cant change the settings also.
What could be the solution for this?
Regards
PrasadHi Prasad,
It doesnt make any differnce, just click on display object , it will save th data in the respective tables.....
Regards,
Sushil Soni -
Console/Site Server showing old data
We have a single site with a Management point on a seperate box (sql replica). In my console, I have columns added for the inventory dates and when looking at the dates, my most recent date is yesterday. If I connect to a machine with an old date, confirm
that it indeed, hasnt done an inventory, and initiate an inventory, it is successful. I can then run a report for the last inventory date on that computer and the last inventory date is updated. I dont think its a coincidence that the reporting server is the
management point so the data is practically real time. When my console connects up to the primary the old date is still in there. I have become more patient since using CM but I need that updated data in the console sooner, not just on the report. It is updating
eventually because I have dates in there from yesterday. But I would like to see today's data today.
Everything with the replica is syncing just fine, I have no errors in my transaction log, my site components are nice and green :) any ideas of where to check/adjustYes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
Somehow this one slip my inbox. There are a couple of things
The console does not update in real time, instead it use cached details, which is refresh every 24 hours. And I don’t know how to adjust it.
I would use reporting instead of the console for real time troubleshooting.
Unless you have told it to use the SQL replica, SSRS would use the CM!2 database.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Layout shows different data depending on user-language (German or English)
Hello best of the best,
we are using layouts to enter data into BCS. In one of our layouts different numbers are shown depending on the user-language (German or English).
This is despite the same layout is used.
Have you got any idea what could cause this problem?
Is there a setting somewhere that I didn´t know up to now (to distinguish in different languages)?
Better to ask SAP using an OSS-message?
Many thanks in advance,
Thomas
If you need more information about that case, pls tell me.The numbers are volumes (KWh, to, l).
There are several positions with different "Breatdown Categories". In the english version of the layout only the KWh-volumes are shown. "to" and "l" (Diesel) are missing.
To describe the problem more clearly, in the german version the layout seems to show correct data:
Position KWh to l
Diesel (l) - - 5.000
Coal (to) - 3.000 -
Electricity (KWh) 200.000 - -
The "-" shows fields that are grey --> no data can be inserted
The english version looks like this:
Position KWh to l
Diesel (l) - - -
Coal (to) - - -
Electricity (KWh) 200.000 200.000 200.000
Here the white fields at Diesel (l) and coal (t) are empty, but the grey fields in the col´s "to" and "l" show the value of "KWh" in electricity as well.
Does this answer your question?
br,
Thomas -
CalendarUI element showing different date format for different locations
Hi,
I have an input field with date calendar in my webdynpro Java form . User can select date from this calendar and fill the input field. For this I have used input field in my layout and have binded this with one context attribute of type date. Say name of this field is requiredByDate
Now when I build and deploy my code, I can see the the required By date field and user is able to select date values from the calendar button next to the input field. The format of the date selected is mm/dd/yyyy.
However , when a user tests this application from other location say Malaysia, for him the format is coming as dd/mm/yyyy after selecting the date from the calendar.
Just want to know ,is there is difference in date format for differnt locations ? For India, when you select the date its showing mm/dd/yyyy and for Malayisa its showing dd/mm/yyyy.
Is there anything we can do by changing our system settings like timezone or dateformat in system settings.
I am using standard UI element and binding it with context element of type date.
Need your advice or help on this..
Thanks and regards,
SaiHi,
go to
[http://help.sap.com/saphelp_nw04/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm]
It describes the fallback sequence followed by the Web Dynpro for Java Runtime in order to determine the current session locale.
Regards
Matteo
Maybe you are looking for
-
I have an iPhone which I added my email address as my apple ID. I have just purchased an iPad which I add my other email address by mistake and now I am unable to stream my photographs. I have tried to change my email on both devises but with out luc
-
Issue with DB Adapter involving multiple tables
Hi, Am facing an issue with DB Adapter with multiple tables. Here are the details. I have 4 tables. Header, Details,Products and Devices. The relationship is defined as follows: Header has 1:M relationship with Details. Details has 1:M relationship w
-
I got this app -algebra touch- for my girls to play with and learn some algebra. I connected the Ipad 2 to my Vizio with a Digital AV Adapter so that it would be easier to see. Every app on my iPad 2 works fine on the TV except one: Algebra Touch. Wh
-
DW: "Halo Left Nav" template
I am trying to create more space between the top margin (for my header graphic) and the Nav. bar with pop-up/down sub-links. Problem is that when I shifted everything downwards, the pop-up subglobal navs don't stay open as well when I try to hover th
-
Below is the current query I have that I am looking to tweak. Below that are some results. A customer code could have multiple cards. In this query if the customer is new they will only have one card listed. If they already have an existing card