Report: sorting of data and temporary table sorting
We have a report that runs a procedure, which inserts data into a temporary table using the supplied parameters. The report then selects data from this table.
Previously the report has always displayed data in the same order in which it was inserted into the table, even though no sorting is specified by the report itself. I realize that the report itself ought to specify the sorting in order to guarantee it, but this has worked in the past.
As part of an application/Oracle upgrade the report has been recompiled. Data is now displayed in a different order as before. However, each time we run it now, it IS the same (new) sorting. So it's still consistent, but consistent in a different way than before.
Is there some way to go back to the old sorting (display in same order as inserted into table) - without having to re-code this (and all the other) reports in order to specify the sorting? We think that data is still inserted into the temporary table in the same order as before. We are using the same version of Crystal Reports.
Edited by: user489847 on May 31, 2010 4:01 AM
Crystal Reports.This is the Oracle Reports forum.
Anyway, I have seen this in one of our applications too. Suddenly the ordering was different, because there was no explicit order by. There is never a guarantee of the ordering if you do not specify it.
You should ask this in the database forum too, since this is not really Reports related.
Similar Messages
-
How to insert a table data into temporary table
Hi
Can anyone help me to insert a table data into temporary table.
Thanks
NavinIf you could provide a (simplified) example of the data you have and the output you're attempting to get, that would probably be quite helpful. I'm not sure that I understand exactly what you're trying to do here...
1) It sounds like you know the structure of the result set you're trying to generate. So it would be possible to create a temporary table once (at the same time that you create all your other tables) and write procedural PL/SQL code that would step through the data, write data to the temp table, select the data out of the temp table, and return a REF CURSOR. That would tend not to be the way that an Oracle developer would do things (there are exceptions, of course), but it would work.
2) I don't see any inherent problems in using sub-selects and inline views to do whatever aggregation you're trying to do on the secondary tables, which would allow you to get the output in a single query. For example, given an ORDERS table and an ORDER_DETAILS table,
SELECT o.customer_id, o.invoice_number, SUM( od.line_item_cost ) total_cost
FROM orders o,
order_details od
WHERE o.order_id = od.order_id
GROUP BY o.customer_id, o.invoice_number3) If you do need to use procedural logic, I would tend to look into the use of pipelined table functions or to read the data into an in-memory collection and to manipulate and return that collection.
Justin -
Reportable Last Modified Date and Time Field
Reportable Last Modified Date and Time Field
Hello,
We need a reportable RequestCenter 'last modified date/time' database field that is refreshed when the 'Comments and History' field is updated. Any ideas would be appreciated. Thanks!No, unless you can use an FTP client.
-
Report on the dates and the times that software updates went out to partucular machines
Hello all,
I need to know if there is a way to report on the dates and times that certain software updates installed on certain machines. I see a report that could be it but it does not show any results. The report that I am talking about is under Software update - Distribution status. When I try to run any of those reports I get no matching records could be found so I guess I have 2 questions.Yes, I know this is an old post, I’m just trying to clean them up.
There is no report that will show you when a SU was installed on a PC. At best you can use the last change date but they is no reliable for several reasons. As for your second question, I’m not sure what report or category you are looking
at. You will need to provide more details.
http://www.enhansoft.com/ -
QM action not allowed for DTP requests in master data and Text tables
Hi,
I have a master data object load request which has failed, returned error in st22 and job finished.
BUT the request has not turned red in the monitor - it's still yellow. That means that I can not delete request nor start new load to infoprovider because it believes a request is still running. But it's not, I've checked both sm37, sm50 etc.
When trying to manually change QM status to 'red' it says 'QM action not allowed for DTP requests in master data and Text tables'
How can I force QM status to red so that I can move on?
Running NW2004s BI (7.0) Patch 15.
I searched for this question but there is no answer
Thank youFolks
I know how frustrating this problem is even in netweaver 7.0 environment. I found a solution for this problem atlast and it works but a not direct way of resolving this issue.
When this request is in yellow status and not able to change / delete the request, its actually in a pseudo status and it is a bug in the program. This request sits in table RSBKREQUEST with processing type as 5 in data elements USTATE, TSTATE and this 5 is actually "Active" status which is obviously wrong.
All we need is, ask your basis person to change the status to 3 in both these data elements and then it allows to reload the delta. Once the delta is successfully loaded, you can delete the previous bad request even though it is still in yellow. Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
Hope this helps.
Thanks -
How can we delete SID table data and Text table data
Hi,
How can we delete SID table data and Text table data of any
InfoObject.Hi,
Go to transaction SE14, give the technical name if the table:
/BIC/T<InfoObject Name> for Text Table
/BIC/S<InfoObject Name> for SID Table
Select "Table" in the given 4 options below & hit Edit button.
in the next screen select "Direct"
& also select "detele data" radio button.
& hit "Activate & adjust database".
this will delete the complete data from the tables.
Note: before deleting the SID's make sure of the consequences & after effects.
Also the SID gets generated the next time you load master data/transaction data only for those records which were loaded..
Regards,
Iliyas -
What is the best way to create a SSRS Report with Header Data and its associated child data
So I have Member Information...Member ID...Member Addressing...etc.. I want to display this in the top part of the report like...
Member Name:
Member ID:
Member Address Line 1:
And then below I want to report on all the claims associated with a Member ID that is chosen by the Parameter. Obviously the Claim Data will be in Table format. Do I necessarily have to associate the Member Information with the Claim Information or simply
use the same parameter? And what is the best Toolbox item to use to display the Member Information on top?
Any help or guidance is greatly appreciated by this newbie.
Thanks for your review and am hopeful for a reply.
ITBobbyPHi ITBobby,
According to your description, you want to display all Claim Data for each Member. Right?
In Reporting Services, we can use a table to display those Claim Data and make them group on Member ID. If you want to display the Member Information, we can put the data fields on parent group level. Then we can use create a parameter to filter the Member
ID we need. We have tested this scenario in our local environment. Here are steps and screenshots for your reference:
1. Create a DataSet(DataSet1) which contains the data fields of Member and Claim.
2. Create a table and drag the Claim data into the table.
3. In Row Group. Right click on Details and add a parent group.
4. Select Member_ID in Group by.
5. Right click on the textbox of Claim data. Select Insert Row->Outside of Group-Above. Drag the MemberName into the inserted row.
6. In Report Data, right click on Parameter-> Add Parameter.
7. Type Member_ID in Name and Prompt, select allow multiple values.
8. In Available Values, select get data from a query. Choose DataSet1, select Member_ID in values and label. You can also set this in Default Values if you need.
9. Save and preview.
Reference:
Understanding Groups (Report Builder and SSRS)
Report Parameters (Report Builder and Report Designer)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Loading Flat File and Temporary Table question
I am new to ODI. Is there a method to load a flat file directly in to the target table and not have ODI create a temporary file? I am asking this in trying to find out how efficient ODI is in bulk loading a very large set of data.
You can always modify the KM to skip the loading of the temporary table and load the target table directly. Another option would be to use the SUNOPSIS MEMORY ENGINE as your staging database. But, this option has some drawbacks, as it relies on available memory for the JVM and is not suitable for large datasets (which you mention you have).
http://odiexperts.com/11g-oracle-data-integrator-%E2%80%93-part-711g-%E2%80%93-sunopsis-memory-engine/
Regards,
Michael Rainey
Edited by: Michael R on Oct 15, 2012 2:44 PM -
Unable to read data from Temporary table
Hello
Iam calling a stored procedure in java which populates data into a temporary table. This temporary table is reset for each session. The issue is that the procedure is executed successfully but when I run a select query on the temp table, it shows 0 rows.
When i execute the same procedure from TOAD or MSSQL, the temp table is populated successfully.
Any Suggestion on what is the possible error
tnx
-S-Temp table exists for duration of session.
Make sure you are using the same session. -
How to export Tables along with Data and also Tables without data
Hi All,
I have a strange situation here. I have a 2 existing schema's under one database. Now the client wants to have 4 more schema's to incorporate the new branches of his company.
I want to know whether is it possible for me to run an expdp command by which i can have the data from the mentioned tables and only table structure of the remaining along with remaining database objects (procedure,functions,triggers,views,sequences etc).
Since there are some 32 Master tables, whose data i need to capture in db dump in order to run the batch under new schema and the remaining tables will be populated with data from the new branch employees hence the need is for table’s structure only.Hi,
you should run two different import comand.
The first import with only metadata, just to recreate the structure.
With the second import you will import data only for the tables you need.
I think this is the simplier solution.
Acr -
CRYSTAL REPORT GRAPH WITH DATE AND TIME
Post Author: Dino Dentone
CA Forum: Charts and Graphs
Dear forum,
I am developing a Visual Studio .net 2005 Windows Form,i have a sql table with 2 field:1) DATA (date and time)2) Temperatura (numeric)I have to make a line graph with numeric data axes.I have insert two parameters' to customize the filtering, so i can have a graph of the temperature between to date and time.If i choose two date's and time (parameters) like 20/04/2008 00:00:00 trought 20/05/2008 00:00:00 i have no problemBut if a choose a range minor of 1 day (some hours like from 15/05/2008 00:00:00 trought 15/05/2008 08:00:00) i have no graph.It sound like it don't use the time values?Thank's for the Help.There is some debugging info on the website. I've had problems getting the text to work. It was generally that I installed either the wrong 'version' of ImageMagick (the recommended one works for me--I'm running Vista x64 and one time installed the x64 version and it didn't work). I also installed Ghostscript to get the font list to work correctly. At one time I installed the x64 version of Ghostscript and it didn't work with the plug-in, either.
I installed two items:
ImageMagick: ImageMagick-6.4.9-3-Q16-windows-dll.exe
Ghostscript: gs863w32.exe
I don't know if it is necessary but I also added the fonts from
ghostscript-fonts-std-8.11.tar.gz to the c:\Program Files (x86)\gs\fonts directory. Some, none, perhaps all, may already be installed just by installing ghostscript--it has been so long that I don't remember exactly. I do know that the contents of the gs fonts directory contains all the files in the .gz, I just don't remember if I put them there separately or as part of the gs install :)
You need to make sure the font size is large enough. I usually use about 2-4% of height and export a single photo to make sure I see the text correctly.
Tim does respond to email when he can so if you can't get it to work you can always drop him a line. -
Combining HR Report Categories - Master Data and Payroll
Hello Colleagues,
Scenario: 500 PERNRs to be processed in a report
- 300 have Master Data + Payroll Results in the SAP system
- 200 have only Master Data ( Payroll is managed outside the SAP system )
For reporting purposes we need to pick up data from cluster + external source ( excel sheet for ex ). The current report has reporting category Payroll and is capable of processing only PERNRs who have payroll results in the SAP system.
The GET PERNR event does not get triggered for PERNRs who have only Master Data and hence the processing of PERNRs whose payroll results do not reside in the system does not happen.
Requirement: One selection screen to process selected PERNRs ( combination of internal + external )
Solution: ?? Any ideas on possible workarounds would be appreciated.
~ Vishwa
PS: Changing the report category to Master Data is a huge change and I am trying to avoid this.The problem here is that the PERNR list is not available and it has to be based on the selection screen parameters. The user could select any combination based on the LDB selection fields. It could be based on Payroll Area or PA PSA .......
-
Newbie - XML File - How to load data and populate tables
Hi,
I'm newbie to XML data handling.
I have a file that is provided in XML format with data from an external system.
I need to load data from that file and populate some field in one or more tables.
I have two options:
1. Load the XML file directly from OS and populate the tables directly (I'm not sure if this is possible or not)
2. Load the entire XML file from OS into a CLOB or a BLOB(?) and the select the data form the CLOB and populate my tables.
I need some guidance about what is possible and how to do it.
My preferred approach if possible is to load the data directly from OS and populate the target tables without loading into the database previously.
Thanks for the help.
Tech Info:
OS : Unix / Windows
DB Version: 11.2 or 11.1
JFforum has many examples
use search
as example see
Re: Load xml data in Oracle table
Re: Load an XML file into table(s)
Re: load a file -
BPC-Add in "Action" between 'Send data" and "Update Tables"
Hi all,
After the click of "Send data" ,I want to take some CHECK before the data is updated in Database tables.
Note that this kind of CHECKs are much beyond the function of VALIDATIONs( standard function delivered by BPC).
So could I write some scripts( in v 5.1) to do such tasks. And how to get the eaxct Dimension/Memeber/Values in this input schedule, since I will base on these data to take checking ?
Thanks very much.Yes this is done all the time.
Create a button on the template and add a macro behind it.
Use one of the BPC macros that suite your needs to send data.
You can find more information in the online help or the BPC office user guide.
MNU_eSUBMIT_REFRESHINPUTCELL Refreshes EvSND - cells in an input schedule.
MNU_eSUBMIT_REFSCHEDULE_SHEET_NOACTION - Sends data without clearing or refreshing.
MNU_eSUBMIT_REFSCHEDULE_SHEET_CLEAR - Sends data and clears input cells.
MNU_eSUBMIT_REFSCHEDULE_SHEET_REFRESH - Sends data and refreshes the worksheet.
MNU_eSUBMIT_REFSCHEDULE_SHEET_CLEARANDREFRESH - Sends data and clears and refreshes the worksheet.
MNU_eSUBMIT_REFSCHEDULE_BOOK_NOACTION - Sends data without clearing or refreshing the worksheet.
This is just a few.
Also;
BEFORE_SEND
You use the BEFORE_SEND function to execute a custom operation before OutlookSoft for Excel sends
data.
Function BEFORE_SEND(Argument As String)
MsgBox Argument
BEFORE_SEND = True
End Function
AFTER_SEND
You use the AFTER_SEND function to execute a custom operation after OutlookSoft for Excel sends data.
Function AFTER_SEND(Argument As String)
MsgBox Argument
AFTER_SEND = True
End Function -
Equipment dismantle Date and Time - Table details
Hi,
We do Installation and dismantling Equipments from their Superior equipments/Functional Location. At that time default Date and Time is getting updated in the Field - DATUM [Date] and UZEIT [Time].
Which Table this DATUM [Date] and UZEIT [Time] can be found for a Equipment.
Please provide Table details.
Regards,
RajaTry Time Segments for Equipments - EQUZ
Fields DATBI & TIMBI are the end date and time for a time segment, so this will change each time the equipment is dismantled/installed in a new location.
Maybe you are looking for
-
I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv. I've been unable to locate an app that will do t
-
I am getting an error while submitting the XML publisher report in Betsy N0 instance. Issue Log :- Beginning post-processing of request 145458120 on node BETSYN0DB1 at 22-DEC-2011 05:28:26. Post-processing of request 145458120 failed at 22-DEC-2011 0
-
Dell p2815q no longer working with Macbook Pro A1398
Hi, Some time ago I bought a dell p2815q monitor. It would work just fine using the display port to thunderbolt connector. After some time my Mac Pro simply stopped picking it up. When I connect it, it seems like it tries to display on it but it blin
-
Dvcpro 50 file half the size it should be
I had a Dvcpro 50 tape captured by a service bureau today. The file size is half what I calculated it would be and (viewed by quicktime) looks much worse than it did on the monitor during shooting. Quicktime says it is DVCpro 50, 720x480, 29.97, 59.0
-
What is wrong with Bridge CS5? It freezes on both the MBP and the iMac. The MBP is running 10.6.7 and the iMac 10.6.6. I have plenty of RAM and free space but have nothing but trouble with Bridge on both machines. I've tried deleting preferences. Is